diff --git a/ChangeLog b/ChangeLog index 52412cca..41b79117 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jan 4 19:07:49 CET 2001 Daniel Veillard + + * configure.in: preparing 2.2.11 + * doc/html/*: rebuild the HTML files + * doc/xml.html : updated + Thu Jan 4 14:09:58 CET 2001 Daniel Veillard * tree.c: fixed a stupid bug diff --git a/configure.in b/configure.in index 5f4dc581..0894a72b 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=2 -LIBXML_MICRO_VERSION=10 +LIBXML_MICRO_VERSION=11 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION diff --git a/doc/html/book1.html b/doc/html/book1.html index 612eada0..7fddac32 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -4,13 +4,16 @@ >Gnome XML Library Reference Manual

    Daniel.Veillard@w3.org
  

xml-error
HTMLparser
debugXML

debugXML

debugXML

Name

debugXML —
debugXML -- 

Synopsis

xmlDebugDumpString (FILE *output, const xmlDebugDumpAttr (FILE *output, xmlDebugDumpAttrList (FILE *output, xmlDebugDumpOneNode (FILE *output, xmlDebugDumpNode (FILE *output, xmlDebugDumpNodeList (FILE *output, xmlDebugDumpDocumentHead (FILE *output, xmlDebugDumpDocument (FILE *output, xmlDebugDumpDTD (FILE *output, xmlDebugDumpEntities (FILE *output, xmlLsOneNode (FILE *output, xmlShellReadlineFunc input, FILE *output);

Description

Details

void        xmlDebugDumpString              (FILE *output,
                                              const  


void        xmlDebugDumpAttr                (FILE *output,
                                               


void        xmlDebugDumpAttrList            (FILE *output,
                                               


void        xmlDebugDumpOneNode             (FILE *output,
                                               


void        xmlDebugDumpNode                (FILE *output,
                                               


void        xmlDebugDumpNodeList            (FILE *output,
                                               


void        xmlDebugDumpDocumentHead        (FILE *output,
                                               


void        xmlDebugDumpDocument            (FILE *output,
                                               


void        xmlDebugDumpDTD                 (FILE *output,
                                               


Synopsis

Description

Details


 


 








 













entities

entities

entities

Name

entities —
entities -- 

Synopsis

Description

Details




















Name

HTMLparser —
HTMLparser -- 

Synopsis

xmlChar *name); +int htmlHandleOmittedElem (int val); void htmlFreeParserCtxt

Description

Details





























htmlHandleOmittedElem ()

int         htmlHandleOmittedElem           (int val);

Set and return the previous value for handling HTML omitted tags.

val : int 0 or 1
Returns :the last value for 0 for no handling, 1 for auto insertion.




xml-erroruriHTMLtree

HTMLtree

HTMLtree

Name

HTMLtree —
HTMLtree -- 

Synopsis

#define HTML_TEXT_NODE #define HTML_ENTITY_REF_NODE #define HTML_COMMENT_NODE #define HTML_PRESERVE_NODE htmlDocDump (FILE *f, htmlNodeDumpFile (FILE *out,

Description

Details

HTML_TEXT_NODE


HTML_ENTITY_REF_NODE


HTML_COMMENT_NODE


HTML_PRESERVE_NODE


nanoftp

nanoftp

Name

nanoftp —
nanoftp -- 

Synopsis

Description

Details

 


 






















nanohttp

nanohttp

nanohttp

Name

nanohttp —
nanohttp -- 

Synopsis

Description

Details











parser

parser

parser

Name

parser —
parser -- 
#define XML_DEFAULT_VERSION void (

XML_DEFAULT_VERSION

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

parserInternals

parserInternals

parserInternals

Name

parserInternals —
parserInternals -- 

Synopsis

#define XML_MAX_NAMELEN #define INPUT_CHUNK #define IS_CHAR (c) #define IS_BLANK (c) #define IS_BASECHAR (c) #define IS_DIGIT (c) #define IS_COMBINING (c) #define IS_EXTENDER (c) #define IS_IDEOGRAPHIC (c) #define IS_LETTER (c) #define IS_PUBIDCHAR (c) #define SKIP_EOL (p) #define MOVETO_ENDTAG (p) #define MOVETO_STARTTAG (p) int xmlChar *SystemID); #define XML_SUBSTITUTE_NONE #define XML_SUBSTITUTE_REF #define XML_SUBSTITUTE_PEREF #define XML_SUBSTITUTE_BOTH

Description

Details

XML_MAX_NAMELEN


INPUT_CHUNK


IS_CHAR()

 


IS_BLANK()

 


IS_BASECHAR()

 


IS_DIGIT()

 


IS_COMBINING()

 


IS_EXTENDER()

 


IS_IDEOGRAPHIC()

 


IS_LETTER()

 


IS_PUBIDCHAR()

 


SKIP_EOL()

 


MOVETO_ENDTAG()

 


MOVETO_STARTTAG()

 



xA)+ Also available as a macro IS_BLANK()








] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. Also available as a macro IS_CHAR()


 








 





























Parse an attribute default declaration

[60] DefaultDecl ::= 'REQUIRED' | 'IMPLIED' | (('FIXED' S)? AttValue)

[ VC: Required Attribute ] if the default declaration is the keyword REQUIRED, then the attribute must be specified for all elements of the type in the @@ -5864,7 +5870,7 @@ HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL" >

[ VC: Fixed Attribute Default ] if an attribute has a default value declared with the FIXED keyword, instances of that attribute must match the default value.





[ VC: ID Attribute Default ] An ID attribute must have a declared default of IMPLIED or REQUIRED.



[51] Mixed ::= '(' S? 'PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? 'PCDATA' S? ')'


 


























XML_SUBSTITUTE_NONE


XML_SUBSTITUTE_REF


XML_SUBSTITUTE_PEREF


XML_SUBSTITUTE_BOTH



 


 


 






 


 






SAX

SAX

SAX

Name

SAX —
SAX -- 

Name

tree —
tree -- 
xmlChar; #define CHAR #define BAD_CAST struct xmlElementPtr; #define XML_LOCAL_NAMESPACE typedef xmlBufferDump (FILE *file, xmlNodePtr tree); void xmlDocDumpFormatMemory (xmlDocPtr cur, + xmlChar **mem, + int *size, + int format); +void xmlDocDumpMemory ( **doc_txt_ptr, int *doc_txt_len, const char *txt_encoding); +void xmlDocDumpFormatMemoryEnc (xmlDocPtr out_doc, + xmlChar **doc_txt_ptr, + int *doc_txt_len, + const char *txt_encoding, + int format); int xmlDocDump (FILE *f, xmlElemDump (FILE *f,

Description

Details



CHAR


BAD_CAST

















XML_LOCAL_NAMESPACE




































































Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.


Search an attribute associated to a node This function also looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.


FIXED or default declaration values unless DTD use has been turned off.














 





 


 






xmlDocDumpFormatMemory ()

void        xmlDocDumpFormatMemory          (xmlDocPtr cur,
+                                             xmlChar **mem,
+                                             int *size,
+                                             int format);

Dump an XML document in memory and return the xmlChar * and it's size. +It's up to the caller to free the memory.

cur : the document
mem : OUT: the memory pointer
size : OUT: the memory lenght
format : should formatting spaces been added




xmlDocDumpFormatMemoryEnc ()

void        xmlDocDumpFormatMemoryEnc       (xmlDocPtr out_doc,
+                                             xmlChar **doc_txt_ptr,
+                                             int *doc_txt_len,
+                                             const char *txt_encoding,
+                                             int format);

out_doc : 
doc_txt_ptr : 
doc_txt_len : 
txt_encoding : 
format :


int         xmlDocDump                      (FILE *f,
                                              

void        xmlElemDump                     (FILE *f,
                                              







Name

uri —
uri -- 

Synopsis

xmlPrintURI (FILE *stream,

Description

Details








void        xmlPrintURI                     (FILE *stream,
                                              




xml-errorHTMLparservalid

valid

valid

Name

valid —
valid -- 

Synopsis

Description

Details

 


 
































 







 
























xinclude

xinclude

xinclude

Name

xinclude —
xinclude -- 

Synopsis

Description

Details

xmlIO

xmlIO

xmlIO

Name

xmlIO —
xmlIO -- 

Synopsis

xmlParserInputBufferCreateFile (FILE *file, xmlOutputBufferCreateFile (FILE *file,

Description

Details

 


 


 


 




 


 


 


 






 



xmlParserInputBufferPtr xmlParserInputBufferCreateFile (FILE *file,


Create a buffered parser input for the progressive parsing for the input -from a file descriptor







 






xmlOutputBufferPtr xmlOutputBufferCreateFile (FILE *file,









xmlmemory

xmlmemory

xmlmemory

Name

xmlmemory —
xmlmemory -- 

Synopsis

#define DEBUG_MEMORY #define MEM_LIST void (xmlMemDisplay (FILE *fp); void xmlMemShow (FILE *fp, int nr); @@ -254,7 +260,7 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC" >

Description

Details

DEBUG_MEMORY


MEM_LIST



 


 


 






void        xmlMemDisplay                   (FILE *fp);

void        xmlMemShow                      (FILE *fp,
                                              int nr);


 


 


 




xpath

xpath

xpath

Name

xpath —
xpath -- 

Synopsis

Description

Details











 






 




 




 



the XML document the xmlXPathContext just allocated.


the context to free



 


the object to free



an initial xmlNodePtr, or NULL the newly created object.


an existing NodeSetList object


the xmlNodeSetPtr to free


xpathInternals

xpathInternals

xpathInternals

Name

xpathInternals —
xpathInternals -- 

Synopsis

#define CHECK_ERROR #define CHECK_ERROR0 #define XP_ERROR (X) #define XP_ERROR0 (X) #define CHECK_TYPE (typeval) #define CHECK_ARITY (x) #define CAST_TO_STRING #define CAST_TO_NUMBER #define CAST_TO_BOOLEAN void xmlXPathDebugDumpObject (FILE *output, cur, int depth); int xmlXPathRegisterNs (xmlXPathContextPtr ctxt, + const xmlChar *prefix, + const xmlChar *ns_uri); +const xmlChar* xmlXPathNsLookup (xmlXPathContextPtr ctxt, + const xmlChar *ns_uri); +void xmlXPathRegisteredNsCleanup (xmlXPathContextPtr ctxt); +int xmlXPathRegisterFunc (xmlXPathParserContextPtr ctxt); +xmlChar* xmlXPathParseNCName (xmlXPathParserContextPtr ctxt); double

Description

Details

CHECK_ERROR


CHECK_ERROR0


XP_ERROR()

 


XP_ERROR0()

 


CHECK_TYPE()

 


CHECK_ARITY()

 


CAST_TO_STRING


CAST_TO_NUMBER


CAST_TO_BOOLEAN



void        xmlXPathDebugDumpObject         (FILE *output,
                                               


xmlXPathRegisterNs ()

int         xmlXPathRegisterNs              (xmlXPathContextPtr ctxt,
+                                             const xmlChar *prefix,
+                                             const xmlChar *ns_uri);

Register a new namespace. If ns_uri is NULL it unregisters +the namespace

ctxt : the XPath context
prefix : the namespace prefix
ns_uri : the namespace name
Returns :0 in case of success, -1 in case of error


xmlXPathNsLookup ()

const xmlChar* xmlXPathNsLookup             (xmlXPathContextPtr ctxt,
+                                             const xmlChar *ns_uri);

Search in the namespace declaration array of the context for the given +namespace name associated to the given prefix

ctxt : the XPath context
ns_uri : 
Returns :the value or NULL if not found


xmlXPathRegisteredNsCleanup ()

void        xmlXPathRegisteredNsCleanup     (xmlXPathContextPtr ctxt);

ctxt :














 


 








 





xmlXPathParseNCName ()

xmlChar*    xmlXPathParseNCName             (xmlXPathParserContextPtr ctxt);

parse an XML namespace non qualified name.

[NS 3] NCName ::= (Letter | '_') (NCNameChar)*

[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | +CombiningChar | Extender

ctxt : the XPath Parser context
Returns :the namespace name or NULL



 



 


 


  an initial xmlNodePtr, or NULL the newly created object.





  the xmlNodeSetPtr to free