diff options
author | Daniel Veillard <veillard@src.gnome.org> | 1999-12-21 15:35:29 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 1999-12-21 15:35:29 +0000 |
commit | 5cb5ab8d94a0715ba600b01377cf57531cc97f73 (patch) | |
tree | 85cef5e55b46544c46ce3c6bbf8b28a93ea1900e | |
parent | f600e2537f838e9806e80572e8e62abc5ff05d98 (diff) | |
download | android_external_libxml2-5cb5ab8d94a0715ba600b01377cf57531cc97f73.tar.gz android_external_libxml2-5cb5ab8d94a0715ba600b01377cf57531cc97f73.tar.bz2 android_external_libxml2-5cb5ab8d94a0715ba600b01377cf57531cc97f73.zip |
- release 1.8.2 - HTML handling improvement - new tree handling functions
- release 1.8.2
- HTML handling improvement
- new tree handling functions
- default namespace on attribute bug fixed
- libxml use for C++ fixed (for good this time !)
Daniel
41 files changed, 2665 insertions, 2021 deletions
@@ -1,3 +1,19 @@ +Tue Dec 21 14:29:34 CET 1999 Daniel Veillard <Daniel.Veillard@w3.org> + + * configure.in, doc/xml.html : bug fix release 1.8.2 + * debugXML.h nanohttp.h xml-error.h xmlmemory.h xpath.h : + Hopefully the end of that silly C++ include problem + * tree.[ch]: Added a few functions: xmlReplaceNode, xmlAddPrevSibling, + xmlAddNextSibling, xmlNodeSetName and xmlDocSetRootElement + * HTMLparser.c HTMLparser.h HTMLtree.c: When saving HTML try to avoid + troubles with autoclosed elements when the stree shape doesn't + follow the DtD specs. Added htmlIsAutoClosed() and + htmlAutoCloseTag() + * result/HTML/*.htm*: Updated the HTML examples regression tests output + * SAX.c tree.c: fixed bug on defaulting namespaces on attributes + * debugXML.c: fixed a bug on printing default namespaces. + * HTMLtree.c: fixed a problem when outputing XML parsed docs as HTML + Mon Dec 20 16:20:55 CET 1999 Daniel Veillard <Daniel.Veillard@w3.org> * result/HTML/*.htm[l] : updated the HTML regression tests according diff --git a/HTMLparser.c b/HTMLparser.c index c2177c82..0215b7a7 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -467,6 +467,58 @@ htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar *new) { } /** + * htmlAutoCloseTag: + * @doc: the HTML document + * @name: The tag name + * @elem: the HTML element + * + * The HTmL DtD allows a tag to implicitely close other tags. + * The list is kept in htmlStartClose array. This function checks + * if the element or one of it's children would autoclose the + * given tag. + * + * Returns 1 if autoclose, 0 otherwise + */ +int +htmlAutoCloseTag(htmlDocPtr doc, const xmlChar *name, htmlNodePtr elem) { + htmlNodePtr child; + + if (elem == NULL) return(1); + if (!xmlStrcmp(name, elem->name)) return(0); + if (htmlCheckAutoClose(elem->name, name)) return(1); + child = elem->childs; + while (child != NULL) { + if (htmlAutoCloseTag(doc, name, child)) return(1); + child = child->next; + } + return(0); +} + +/** + * htmlIsAutoClosed: + * @doc: the HTML document + * @elem: the HTML element + * + * The HTmL DtD allows a tag to implicitely close other tags. + * The list is kept in htmlStartClose array. This function checks + * if a tag is autoclosed by one of it's child + * + * Returns 1 if autoclosed, 0 otherwise + */ +int +htmlIsAutoClosed(htmlDocPtr doc, htmlNodePtr elem) { + htmlNodePtr child; + + if (elem == NULL) return(1); + child = elem->childs; + while (child != NULL) { + if (htmlAutoCloseTag(doc, elem->name, child)) return(1); + child = child->next; + } + return(0); +} + +/** * htmlAutoCloseOnClose: * @ctxt: an HTML parser context * @new: The new tag name @@ -528,7 +580,6 @@ htmlEntityDesc html40EntitiesTable[] = { */ { 34, "quot", "quotation mark = APL quote, U+0022 ISOnum" }, { 38, "amp", "ampersand, U+0026 ISOnum" }, -{ 39, "apos", "single quote" }, { 60, "lt", "less-than sign, U+003C ISOnum" }, { 62, "gt", "greater-than sign, U+003E ISOnum" }, @@ -536,6 +587,7 @@ htmlEntityDesc html40EntitiesTable[] = { * A bunch still in the 128-255 range * Replacing them depend really on the charset used. */ +{ 39, "apos", "single quote" }, { 160, "nbsp", "no-break space = non-breaking space, U+00A0 ISOnum" }, { 161, "iexcl","inverted exclamation mark, U+00A1 ISOnum" }, { 162, "cent", "cent sign, U+00A2 ISOnum" }, @@ -1166,7 +1218,13 @@ htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) { cur->type = XML_HTML_DOCUMENT_NODE; cur->version = NULL; cur->intSubset = NULL; - xmlCreateIntSubset(cur, BAD_CAST "HTML", ExternalID, URI); + if ((ExternalID == NULL) && + (URI == NULL)) + xmlCreateIntSubset(cur, BAD_CAST "HTML", + BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN", + BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd"); + else + xmlCreateIntSubset(cur, BAD_CAST "HTML", ExternalID, URI); cur->name = NULL; cur->root = NULL; cur->extSubset = NULL; diff --git a/HTMLparser.h b/HTMLparser.h index eed7924b..a90b217a 100644 --- a/HTMLparser.h +++ b/HTMLparser.h @@ -11,7 +11,7 @@ #include "parser.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif /* @@ -52,19 +52,31 @@ typedef struct htmlEntityDesc { /* * There is only few public functions. */ -htmlElemDescPtr htmlTagLookup(const xmlChar *tag); -htmlEntityDescPtr htmlEntityLookup(const xmlChar *name); +htmlElemDescPtr htmlTagLookup (const xmlChar *tag); +htmlEntityDescPtr htmlEntityLookup(const xmlChar *name); -htmlEntityDescPtr htmlParseEntityRef(htmlParserCtxtPtr ctxt, xmlChar **str); -int htmlParseCharRef(htmlParserCtxtPtr ctxt); -void htmlParseElement(htmlParserCtxtPtr ctxt); +int htmlIsAutoClosed(htmlDocPtr doc, + htmlNodePtr elem); +int htmlAutoCloseTag(htmlDocPtr doc, + const xmlChar *name, + htmlNodePtr elem); +htmlEntityDescPtr htmlParseEntityRef(htmlParserCtxtPtr ctxt, + xmlChar **str); +int htmlParseCharRef(htmlParserCtxtPtr ctxt); +void htmlParseElement(htmlParserCtxtPtr ctxt); -htmlDocPtr htmlSAXParseDoc(xmlChar *cur, const char *encoding, - htmlSAXHandlerPtr sax, void *userData); -htmlDocPtr htmlParseDoc(xmlChar *cur, const char *encoding); -htmlDocPtr htmlSAXParseFile(const char *filename, const char *encoding, - htmlSAXHandlerPtr sax, void *userData); -htmlDocPtr htmlParseFile(const char *filename, const char *encoding); +htmlDocPtr htmlSAXParseDoc (xmlChar *cur, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +htmlDocPtr htmlParseDoc (xmlChar *cur, + const char *encoding); +htmlDocPtr htmlSAXParseFile(const char *filename, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +htmlDocPtr htmlParseFile (const char *filename, + const char *encoding); #ifdef __cplusplus } @@ -244,9 +244,11 @@ htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) { (cur->childs != cur->last)) xmlBufferWriteChar(buf, "\n"); } - xmlBufferWriteChar(buf, "</"); - xmlBufferWriteCHAR(buf, cur->name); - xmlBufferWriteChar(buf, ">"); + if (!htmlIsAutoClosed(doc, cur)) { + xmlBufferWriteChar(buf, "</"); + xmlBufferWriteCHAR(buf, cur->name); + xmlBufferWriteChar(buf, ">"); + } if (cur->next != NULL) { if ((cur->next->type != HTML_TEXT_NODE) && (cur->next->type != HTML_ENTITY_REF_NODE)) @@ -263,12 +265,25 @@ htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) { */ static void htmlDocContentDump(xmlBufferPtr buf, xmlDocPtr cur) { + int type; + + /* + * force to output the stuff as HTML, especially for entities + */ + type = cur->type; + cur->type = XML_HTML_DOCUMENT_NODE; if (cur->intSubset != NULL) htmlDtdDump(buf, cur); + else { + /* Default to HTML-4.0 transitionnal @@@@ */ + xmlBufferWriteChar(buf, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">"); + + } if (cur->root != NULL) { htmlNodeListDump(buf, cur, cur->root); } xmlBufferWriteChar(buf, "\n"); + cur->type = type; } /** @@ -548,7 +548,12 @@ attribute(void *ctx, const xmlChar *fullname, const xmlChar *value) return; } - namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, ns); + if (ns != NULL) + namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, ns); + else { + namespace = NULL; + } + /* !!!!!! <a toto:arg="" xmlns:toto="http://toto.com"> */ ret = xmlNewNsProp(ctxt->node, namespace, name, NULL); diff --git a/configure.in b/configure.in index 53ac7a9f..f52084c8 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AM_CONFIG_HEADER(config.h) LIBXML_MAJOR_VERSION=1 LIBXML_MINOR_VERSION=8 -LIBXML_MICRO_VERSION=1 +LIBXML_MICRO_VERSION=2 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 @@ -35,7 +35,11 @@ void xmlDebugDumpNamespace(FILE *output, xmlNsPtr ns, int depth) { fprintf(output, shift); if (ns->type == XML_GLOBAL_NAMESPACE) fprintf(output, "old "); - fprintf(output, "namespace %s href=", ns->prefix); + if (ns->prefix != NULL) + fprintf(output, "namespace %s href=", ns->prefix); + else + fprintf(output, "default namespace href=", ns->prefix); + xmlDebugDumpString(output, ns->href); fprintf(output, "\n"); } @@ -10,7 +10,7 @@ #include "tree.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif extern void xmlDebugDumpString(FILE *output, const xmlChar *str); extern void xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth); diff --git a/doc/html/book1.html b/doc/html/book1.html index 0eae983c..b3e5fdd4 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -115,4 +115,152 @@ HREF="libxml-lib.html" ><A HREF="gnome-xml-parser.html" >parser</A -> —
\ No newline at end of file +> — </DT +><DT +><A +HREF="gnome-xml-sax.html" +>SAX</A +> — </DT +><DT +><A +HREF="gnome-xml-tree.html" +>tree</A +> — </DT +><DT +><A +HREF="gnome-xml-entities.html" +>entities</A +> — </DT +><DT +><A +HREF="gnome-xml-valid.html" +>valid</A +> — </DT +><DT +><A +HREF="gnome-xml-xml-error.html" +>xml-error</A +> — </DT +><DT +><A +HREF="gnome-xml-htmlparser.html" +>HTMLparser</A +> — </DT +><DT +><A +HREF="gnome-xml-htmltree.html" +>HTMLtree</A +> — </DT +><DT +><A +HREF="gnome-xml-xpath.html" +>xpath</A +> — </DT +><DT +><A +HREF="gnome-xml-nanohttp.html" +>nanohttp</A +> — </DT +><DT +><A +HREF="gnome-xml-xmlio.html" +>xmlIO</A +> — </DT +><DT +><A +HREF="gnome-xml-parserinternals.html" +>parserInternals</A +> — </DT +><DT +><A +HREF="gnome-xml-encoding.html" +>encoding</A +> — </DT +><DT +><A +HREF="gnome-xml-debugxml.html" +>debugXML</A +> — </DT +><DT +><A +HREF="gnome-xml-xmlmemory.html" +>xmlmemory</A +> — </DT +></DL +></DD +></DL +></DIV +></DIV +><DIV +CLASS="NAVFOOTER" +><BR +CLEAR="all"><BR><TABLE +WIDTH="100%" +BORDER="0" +BGCOLOR="#000000" +CELLPADDING="1" +CELLSPACING="0" +><TR +><TD +WIDTH="25%" +BGCOLOR="#C00000" +ALIGN="left" +> </TD +><TD +WIDTH="25%" +BGCOLOR="#0000C0" +ALIGN="center" +><FONT +COLOR="#FFFFFF" +SIZE="3" +><B +> </B +></FONT +></TD +><TD +WIDTH="25%" +BGCOLOR="#00C000" +ALIGN="center" +><FONT +COLOR="#FFFFFF" +SIZE="3" +><B +> </B +></FONT +></TD +><TD +WIDTH="25%" +BGCOLOR="#C00000" +ALIGN="right" +><A +HREF="libxml-notes.html" +><FONT +COLOR="#FFFFFF" +SIZE="3" +><B +>Next Page >>></B +></FONT +></A +></TD +></TR +><TR +><TD +COLSPAN="2" +ALIGN="left" +> </TD +><TD +COLSPAN="2" +ALIGN="right" +><FONT +COLOR="#FFFFFF" +SIZE="3" +><B +>Libxml Programming Notes</B +></FONT +></TD +></TR +></TABLE +></DIV +></BODY +></HTML +>
\ No newline at end of file diff --git a/doc/html/gnome-xml-entities.html b/doc/html/gnome-xml-entities.html index 119396df..91722814 100644 --- a/doc/html/gnome-xml-entities.html +++ b/doc/html/gnome-xml-entities.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN5464" +NAME="AEN5587" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN5464" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN5467" +NAME="AEN5590" ></A ><H2 >Synopsis</H2 @@ -348,7 +348,7 @@ HREF="gnome-xml-entities.html#XMLCLEANUPPREDEFINEDENTITIES" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5525" +NAME="AEN5648" ></A ><H2 >Description</H2 @@ -358,14 +358,14 @@ NAME="AEN5525" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5528" +NAME="AEN5651" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN5530" +NAME="AEN5653" ></A ><H3 ><A @@ -381,7 +381,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_GENERAL_ENTITY 1</PRE +>#define XML_INTERNAL_GENERAL_ENTITY</PRE ></TD ></TR ></TABLE @@ -391,7 +391,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5535" +NAME="AEN5658" ></A ><H3 ><A @@ -407,7 +407,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2</PRE +>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY</PRE ></TD ></TR ></TABLE @@ -417,7 +417,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5540" +NAME="AEN5663" ></A ><H3 ><A @@ -433,7 +433,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3</PRE +>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</PRE ></TD ></TR ></TABLE @@ -443,7 +443,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5545" +NAME="AEN5668" ></A ><H3 ><A @@ -459,7 +459,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_PARAMETER_ENTITY 4</PRE +>#define XML_INTERNAL_PARAMETER_ENTITY</PRE ></TD ></TR ></TABLE @@ -469,7 +469,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5550" +NAME="AEN5673" ></A ><H3 ><A @@ -485,7 +485,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_PARAMETER_ENTITY 5</PRE +>#define XML_EXTERNAL_PARAMETER_ENTITY</PRE ></TD ></TR ></TABLE @@ -495,7 +495,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5555" +NAME="AEN5678" ></A ><H3 ><A @@ -511,7 +511,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_PREDEFINED_ENTITY 6</PRE +>#define XML_INTERNAL_PREDEFINED_ENTITY</PRE ></TD ></TR ></TABLE @@ -521,33 +521,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5560" +NAME="AEN5683" ></A ><H3 ><A NAME="XMLENTITYPTR" ></A >xmlEntityPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlEntity *xmlEntityPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5565" +NAME="AEN5687" ></A ><H3 ><A @@ -563,7 +550,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ENTITIES_TABLE 32</PRE +>#define XML_MIN_ENTITIES_TABLE</PRE ></TD ></TR ></TABLE @@ -573,33 +560,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5570" +NAME="AEN5692" ></A ><H3 ><A NAME="XMLENTITIESTABLEPTR" ></A >xmlEntitiesTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5575" +NAME="AEN5696" ></A ><H3 ><A @@ -669,7 +643,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -686,7 +660,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -703,7 +677,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity type XML_xxx_yyy_ENTITY</TD +> </TD ></TR ><TR ><TD @@ -720,7 +694,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity external ID if available</TD +> </TD ></TR ><TR ><TD @@ -737,7 +711,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity system ID if available</TD +> </TD ></TR ><TR ><TD @@ -754,7 +728,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity content</TD +> </TD ></TR ></TABLE ><P @@ -764,7 +738,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5615" +NAME="AEN5736" ></A ><H3 ><A @@ -834,7 +808,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -851,7 +825,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -868,7 +842,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity type XML_xxx_yyy_ENTITY</TD +> </TD ></TR ><TR ><TD @@ -885,7 +859,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity external ID if available</TD +> </TD ></TR ><TR ><TD @@ -902,7 +876,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity system ID if available</TD +> </TD ></TR ><TR ><TD @@ -919,7 +893,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity content</TD +> </TD ></TR ></TABLE ><P @@ -929,7 +903,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5655" +NAME="AEN5776" ></A ><H3 ><A @@ -985,7 +959,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -1000,7 +974,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the entity</TD +> </TD ></TR ></TABLE ><P @@ -1010,7 +984,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5676" +NAME="AEN5797" ></A ><H3 ><A @@ -1072,7 +1046,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document referencing the entity</TD +> </TD ></TR ><TR ><TD @@ -1089,7 +1063,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -1104,7 +1078,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A pointer to the entity structure or NULL if not found.</TD +> </TD ></TR ></TABLE ><P @@ -1114,7 +1088,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5702" +NAME="AEN5823" ></A ><H3 ><A @@ -1175,7 +1149,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document referencing the entity</TD +> </TD ></TR ><TR ><TD @@ -1192,7 +1166,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -1207,7 +1181,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A pointer to the entity structure or NULL if not found.</TD +> </TD ></TR ></TABLE ><P @@ -1217,7 +1191,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5728" +NAME="AEN5849" ></A ><H3 ><A @@ -1278,7 +1252,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document referencing the entity</TD +> </TD ></TR ><TR ><TD @@ -1295,7 +1269,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -1310,7 +1284,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A pointer to the entity structure or NULL if not found.</TD +> </TD ></TR ></TABLE ><P @@ -1320,7 +1294,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5754" +NAME="AEN5875" ></A ><H3 ><A @@ -1387,7 +1361,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document containing the string</TD +> </TD ></TR ><TR ><TD @@ -1404,7 +1378,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> A string to convert to XML.</TD +> </TD ></TR ><TR ><TD @@ -1419,7 +1393,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A newly allocated string with the substitution done.</TD +> </TD ></TR ></TABLE ><P @@ -1429,7 +1403,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5782" +NAME="AEN5903" ></A ><H3 ><A @@ -1495,7 +1469,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document containing the string</TD +> </TD ></TR ><TR ><TD @@ -1512,7 +1486,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> A string to convert to XML.</TD +> </TD ></TR ><TR ><TD @@ -1527,7 +1501,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A newly allocated string with the substitution done.</TD +> </TD ></TR ></TABLE ><P @@ -1537,7 +1511,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5809" +NAME="AEN5930" ></A ><H3 ><A @@ -1588,7 +1562,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlEntitiesTablePtr just created or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -1598,7 +1572,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5825" +NAME="AEN5946" ></A ><H3 ><A @@ -1654,7 +1628,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An entity table</TD +> </TD ></TR ><TR ><TD @@ -1669,7 +1643,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new xmlEntitiesTablePtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -1679,7 +1653,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5846" +NAME="AEN5967" ></A ><H3 ><A @@ -1732,7 +1706,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An entity table</TD +> </TD ></TR ></TABLE ><P @@ -1742,7 +1716,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5862" +NAME="AEN5983" ></A ><H3 ><A @@ -1799,7 +1773,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An XML buffer.</TD +> </TD ></TR ><TR ><TD @@ -1816,7 +1790,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An entity table</TD +> </TD ></TR ></TABLE ><P @@ -1826,7 +1800,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5883" +NAME="AEN6004" ></A ><H3 ><A diff --git a/doc/html/gnome-xml-htmlparser.html b/doc/html/gnome-xml-htmlparser.html index 1f9c48c4..02ffac5b 100644 --- a/doc/html/gnome-xml-htmlparser.html +++ b/doc/html/gnome-xml-htmlparser.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7547" +NAME="AEN7656" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN7547" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7550" +NAME="AEN7659" ></A ><H2 >Synopsis</H2 @@ -138,10 +138,6 @@ CELLPADDING="6" CLASS="SYNOPSIS" > -#define <A -HREF="gnome-xml-sax.html#EXTERN" ->extern</A -> typedef <A HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXT" >htmlParserCtxt</A @@ -198,6 +194,32 @@ HREF="gnome-xml-htmlparser.html#HTMLENTITYLOOKUP" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *name); +int <A +HREF="gnome-xml-htmlparser.html#HTMLISAUTOCLOSED" +>htmlIsAutoClosed</A +> (<A +HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" +>htmlDocPtr</A +> doc, + <A +HREF="gnome-xml-htmlparser.html#HTMLNODEPTR" +>htmlNodePtr</A +> elem); +int <A +HREF="gnome-xml-htmlparser.html#HTMLAUTOCLOSETAG" +>htmlAutoCloseTag</A +> (<A +HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" +>htmlDocPtr</A +> doc, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + <A +HREF="gnome-xml-htmlparser.html#HTMLNODEPTR" +>htmlNodePtr</A +> elem); <GTKDOCLINK HREF="HTMLENTITYDESCPTR" >htmlEntityDescPtr</GTKDOCLINK @@ -281,7 +303,7 @@ HREF="gnome-xml-htmlparser.html#HTMLPARSEFILE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7589" +NAME="AEN7704" ></A ><H2 >Description</H2 @@ -291,228 +313,137 @@ NAME="AEN7589" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7592" +NAME="AEN7707" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7594" -></A -><H3 -><A -NAME="EXTERN" -></A ->extern</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->#define extern</PRE -></TD -></TR -></TABLE -><P -></P -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN7599" +NAME="AEN7709" ></A ><H3 ><A NAME="HTMLPARSERCTXT" ></A >htmlParserCtxt</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserCtxt htmlParserCtxt;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7604" +NAME="AEN7713" ></A ><H3 ><A NAME="HTMLPARSERCTXTPTR" ></A >htmlParserCtxtPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserCtxtPtr htmlParserCtxtPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7609" +NAME="AEN7717" ></A ><H3 ><A NAME="HTMLPARSERNODEINFO" ></A >htmlParserNodeInfo</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserNodeInfo htmlParserNodeInfo;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7614" +NAME="AEN7721" ></A ><H3 ><A NAME="HTMLSAXHANDLER" ></A >htmlSAXHandler</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlSAXHandler htmlSAXHandler;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7619" +NAME="AEN7725" ></A ><H3 ><A NAME="HTMLSAXHANDLERPTR" ></A >htmlSAXHandlerPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlSAXHandlerPtr htmlSAXHandlerPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7624" +NAME="AEN7729" ></A ><H3 ><A NAME="HTMLPARSERINPUT" ></A >htmlParserInput</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserInput htmlParserInput;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7629" +NAME="AEN7733" ></A ><H3 ><A NAME="HTMLPARSERINPUTPTR" ></A >htmlParserInputPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserInputPtr htmlParserInputPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7634" +NAME="AEN7737" ></A ><H3 ><A NAME="HTMLDOCPTR" ></A >htmlDocPtr</H3 +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN7741" +></A +><H3 +><A +NAME="HTMLNODEPTR" +></A +>htmlNodePtr</H3 +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN7745" +></A +><H3 +><A +NAME="HTMLTAGLOOKUP" +></A +>htmlTagLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -522,23 +453,78 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->typedef xmlDocPtr htmlDocPtr;</PRE +><GTKDOCLINK +HREF="HTMLELEMDESCPTR" +>htmlElemDescPtr</GTKDOCLINK +> htmlTagLookup (const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *tag);</PRE ></TD ></TR ></TABLE ><P +>Lookup the HTML tag in the ElementTable</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>tag</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P ></P ></DIV +></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7639" +NAME="AEN7766" ></A ><H3 ><A -NAME="HTMLNODEPTR" +NAME="HTMLENTITYLOOKUP" ></A ->htmlNodePtr</H3 +>htmlEntityLookup ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -548,23 +534,80 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->typedef xmlNodePtr htmlNodePtr;</PRE +><GTKDOCLINK +HREF="HTMLENTITYDESCPTR" +>htmlEntityDescPtr</GTKDOCLINK +> htmlEntityLookup (const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name);</PRE ></TD ></TR ></TABLE ><P +>Lookup the given entity in EntitiesTable</P +><P +>TODO: the linear scan is really ugly, an hash table is really needed.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>name</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P ></P ></DIV +></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7644" +NAME="AEN7788" ></A ><H3 ><A -NAME="HTMLTAGLOOKUP" +NAME="HTMLISAUTOCLOSED" ></A ->htmlTagLookup ()</H3 +>htmlIsAutoClosed ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -574,18 +617,21 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="HTMLELEMDESCPTR" ->htmlElemDescPtr</GTKDOCLINK -> htmlTagLookup (const <A -HREF="gnome-xml-tree.html#XMLCHAR" ->xmlChar</A -> *tag);</PRE +>int htmlIsAutoClosed (<A +HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" +>htmlDocPtr</A +> doc, + <A +HREF="gnome-xml-htmlparser.html#HTMLNODEPTR" +>htmlNodePtr</A +> elem);</PRE ></TD ></TR ></TABLE ><P ->Lookup the HTML tag in the ElementTable</P +>The HTmL DtD allows a tag to implicitely close other tags. +The list is kept in htmlStartClose array. This function checks +if a tag is autoclosed by one of it's child</P ><P ></P ><DIV @@ -607,14 +653,31 @@ VALIGN="TOP" ><TT CLASS="PARAMETER" ><I ->tag</I +>doc</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The tag name</TD +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD ></TR ><TR ><TD @@ -629,7 +692,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the related htmlElemDescPtr or NULL if not found.</TD +> </TD ></TR ></TABLE ><P @@ -639,13 +702,13 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7665" +NAME="AEN7813" ></A ><H3 ><A -NAME="HTMLENTITYLOOKUP" +NAME="HTMLAUTOCLOSETAG" ></A ->htmlEntityLookup ()</H3 +>htmlAutoCloseTag ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -655,20 +718,26 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="HTMLENTITYDESCPTR" ->htmlEntityDescPtr</GTKDOCLINK -> htmlEntityLookup (const <A +>int htmlAutoCloseTag (<A +HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" +>htmlDocPtr</A +> doc, + const <A HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A -> *name);</PRE +> *name, + <A +HREF="gnome-xml-htmlparser.html#HTMLNODEPTR" +>htmlNodePtr</A +> elem);</PRE ></TD ></TR ></TABLE ><P ->Lookup the given entity in EntitiesTable</P -><P ->TODO: the linear scan is really ugly, an hash table is really needed.</P +>The HTmL DtD allows a tag to implicitely close other tags. +The list is kept in htmlStartClose array. This function checks +if the element or one of it's children would autoclose the +given tag.</P ><P ></P ><DIV @@ -690,6 +759,23 @@ VALIGN="TOP" ><TT CLASS="PARAMETER" ><I +>doc</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I >name</I ></TT > :</TD @@ -697,7 +783,24 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD ></TR ><TR ><TD @@ -712,7 +815,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the associated htmlEntityDescPtr if found, NULL otherwise.</TD +> </TD ></TR ></TABLE ><P @@ -722,7 +825,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7687" +NAME="AEN7843" ></A ><H3 ><A @@ -784,7 +887,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an HTML parser context</TD +> </TD ></TR ><TR ><TD @@ -801,7 +904,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> location to store the entity name</TD +> </TD ></TR ><TR ><TD @@ -816,8 +919,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the associated htmlEntityDescPtr if found, or NULL otherwise, -if non-NULL *str will have to be freed by the caller.</TD +> </TD ></TR ></TABLE ><P @@ -827,7 +929,7 @@ if non-NULL *str will have to be freed by the caller.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7714" +NAME="AEN7870" ></A ><H3 ><A @@ -886,7 +988,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an HTML parser context</TD +> </TD ></TR ><TR ><TD @@ -901,7 +1003,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the value parsed (as an int)</TD +> </TD ></TR ></TABLE ><P @@ -911,7 +1013,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7736" +NAME="AEN7892" ></A ><H3 ><A @@ -968,7 +1070,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an HTML parser context</TD +> </TD ></TR ></TABLE ><P @@ -978,7 +1080,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7754" +NAME="AEN7910" ></A ><H3 ><A @@ -1042,7 +1144,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -1059,7 +1161,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a free form C string describing the HTML document encoding, or NULL</TD +> </TD ></TR ><TR ><TD @@ -1076,7 +1178,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -1093,7 +1195,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if using SAX, this pointer will be provided on callbacks. </TD +> </TD ></TR ><TR ><TD @@ -1108,7 +1210,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -1118,7 +1220,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7788" +NAME="AEN7944" ></A ><H3 ><A @@ -1175,7 +1277,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -1192,7 +1294,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a free form C string describing the HTML document encoding, or NULL</TD +> </TD ></TR ><TR ><TD @@ -1207,7 +1309,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -1217,7 +1319,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7813" +NAME="AEN7969" ></A ><H3 ><A @@ -1279,7 +1381,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -1296,7 +1398,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a free form C string describing the HTML document encoding, or NULL</TD +> </TD ></TR ><TR ><TD @@ -1313,7 +1415,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -1330,7 +1432,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if using SAX, this pointer will be provided on callbacks. </TD +> </TD ></TR ><TR ><TD @@ -1345,7 +1447,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -1355,7 +1457,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7846" +NAME="AEN8002" ></A ><H3 ><A @@ -1410,7 +1512,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -1427,7 +1529,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a free form C string describing the HTML document encoding, or NULL</TD +> </TD ></TR ><TR ><TD @@ -1442,7 +1544,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-htmltree.html b/doc/html/gnome-xml-htmltree.html index 67b0ded4..f69194cd 100644 --- a/doc/html/gnome-xml-htmltree.html +++ b/doc/html/gnome-xml-htmltree.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7875" +NAME="AEN8031" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN7875" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7878" +NAME="AEN8034" ></A ><H2 >Synopsis</H2 @@ -188,7 +188,7 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7892" +NAME="AEN8048" ></A ><H2 >Description</H2 @@ -198,14 +198,14 @@ NAME="AEN7892" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7895" +NAME="AEN8051" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7897" +NAME="AEN8053" ></A ><H3 ><A @@ -221,7 +221,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_TEXT_NODE XML_TEXT_NODE</PRE +>#define HTML_TEXT_NODE</PRE ></TD ></TR ></TABLE @@ -231,7 +231,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7902" +NAME="AEN8058" ></A ><H3 ><A @@ -247,7 +247,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE</PRE +>#define HTML_ENTITY_REF_NODE</PRE ></TD ></TR ></TABLE @@ -257,7 +257,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7907" +NAME="AEN8063" ></A ><H3 ><A @@ -273,7 +273,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_COMMENT_NODE XML_COMMENT_NODE</PRE +>#define HTML_COMMENT_NODE</PRE ></TD ></TR ></TABLE @@ -283,7 +283,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7912" +NAME="AEN8068" ></A ><H3 ><A @@ -342,7 +342,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -359,7 +359,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> OUT: the memory pointer</TD +> </TD ></TR ><TR ><TD @@ -376,7 +376,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> OUT: the memory lenght</TD +> </TD ></TR ></TABLE ><P @@ -386,7 +386,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7937" +NAME="AEN8093" ></A ><H3 ><A @@ -443,7 +443,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the FILE*</TD +> </TD ></TR ><TR ><TD @@ -460,7 +460,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ></TABLE ><P @@ -470,7 +470,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7958" +NAME="AEN8114" ></A ><H3 ><A @@ -524,7 +524,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -541,7 +541,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -556,7 +556,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the number of byte written or -1 in case of failure.</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-nanohttp.html b/doc/html/gnome-xml-nanohttp.html index b8888656..6798bad4 100644 --- a/doc/html/gnome-xml-nanohttp.html +++ b/doc/html/gnome-xml-nanohttp.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN8261" +NAME="AEN8411" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN8261" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN8264" +NAME="AEN8414" ></A ><H2 >Synopsis</H2 @@ -138,10 +138,6 @@ CELLPADDING="6" CLASS="SYNOPSIS" > -#define <A -HREF="gnome-xml-sax.html#EXTERN" ->extern</A -> int <A HREF="gnome-xml-nanohttp.html#XMLNANOHTTPFETCH" >xmlNanoHTTPFetch</A @@ -187,7 +183,7 @@ HREF="gnome-xml-nanohttp.html#XMLNANOHTTPCLOSE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8275" +NAME="AEN8424" ></A ><H2 >Description</H2 @@ -197,40 +193,14 @@ NAME="AEN8275" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8278" +NAME="AEN8427" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN8280" -></A -><H3 -><A -NAME="EXTERN" -></A ->extern</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->#define extern</PRE -></TD -></TR -></TABLE -><P -></P -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN8285" +NAME="AEN8429" ></A ><H3 ><A @@ -283,7 +253,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The URL to load</TD +> </TD ></TR ><TR ><TD @@ -300,7 +270,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename where the content should be saved</TD +> </TD ></TR ><TR ><TD @@ -317,8 +287,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if available the Content-Type information will be -returned at that location</TD +> </TD ></TR ><TR ><TD @@ -333,8 +302,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->-1 in case of failure, 0 incase of success. The contentType, -if provided must be freed by the caller</TD +> </TD ></TR ></TABLE ><P @@ -344,7 +312,7 @@ if provided must be freed by the caller</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8312" +NAME="AEN8456" ></A ><H3 ><A @@ -405,7 +373,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The URL to load</TD +> </TD ></TR ><TR ><TD @@ -422,7 +390,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the HTTP method to use</TD +> </TD ></TR ><TR ><TD @@ -439,7 +407,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the input string if any</TD +> </TD ></TR ><TR ><TD @@ -456,7 +424,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the Content-Type information IN and OUT</TD +> </TD ></TR ><TR ><TD @@ -473,7 +441,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the extra headers</TD +> </TD ></TR ></TABLE ><P @@ -483,7 +451,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8344" +NAME="AEN8488" ></A ><H3 ><A @@ -535,7 +503,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The URL to load</TD +> </TD ></TR ><TR ><TD @@ -552,8 +520,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if available the Content-Type information will be -returned at that location</TD +> </TD ></TR ></TABLE ><P @@ -563,7 +530,7 @@ returned at that location</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8363" +NAME="AEN8507" ></A ><H3 ><A @@ -613,7 +580,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the HTTP context</TD +> </TD ></TR ><TR ><TD @@ -628,7 +595,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the HTTP return code for the request.</TD +> </TD ></TR ></TABLE ><P @@ -638,7 +605,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8382" +NAME="AEN8526" ></A ><H3 ><A @@ -701,7 +668,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the HTTP context</TD +> </TD ></TR ><TR ><TD @@ -718,7 +685,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a buffer</TD +> </TD ></TR ><TR ><TD @@ -735,7 +702,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer length</TD +> </TD ></TR ><TR ><TD @@ -750,8 +717,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of byte read. 0 is an indication of an end of connection. --1 indicates a parameter error.</TD +> </TD ></TR ></TABLE ><P @@ -761,7 +727,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8411" +NAME="AEN8555" ></A ><H3 ><A @@ -813,7 +779,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the HTTP context</TD +> </TD ></TR ><TR ><TD @@ -830,7 +796,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename where the content should be saved</TD +> </TD ></TR ><TR ><TD @@ -845,7 +811,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->-1 in case of failure, 0 incase of success.</TD +> </TD ></TR ></TABLE ><P @@ -855,7 +821,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8434" +NAME="AEN8578" ></A ><H3 ><A @@ -906,7 +872,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the HTTP context</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-parser.html b/doc/html/gnome-xml-parser.html index 9954e0bd..c778c4c1 100644 --- a/doc/html/gnome-xml-parser.html +++ b/doc/html/gnome-xml-parser.html @@ -947,7 +947,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_DEFAULT_VERSION "1.0"</PRE +>#define XML_DEFAULT_VERSION</PRE ></TD ></TR ></TABLE @@ -1025,26 +1025,13 @@ NAME="AEN259" NAME="XMLPARSERINPUTPTR" ></A >xmlParserInputPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserInput *xmlParserInputPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN264" +NAME="AEN263" ></A ><H3 ><A @@ -1160,85 +1147,46 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN292" +NAME="AEN291" ></A ><H3 ><A NAME="XMLPARSERNODEINFO" ></A >xmlParserNodeInfo</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlParserNodeInfo xmlParserNodeInfo;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN297" +NAME="AEN295" ></A ><H3 ><A NAME="XMLPARSERNODEINFOSEQ" ></A >xmlParserNodeInfoSeq</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlParserNodeInfoSeq xmlParserNodeInfoSeq;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN302" +NAME="AEN299" ></A ><H3 ><A NAME="XMLPARSERNODEINFOSEQPTR" ></A >xmlParserNodeInfoSeqPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN307" +NAME="AEN303" ></A ><H3 ><A @@ -1275,111 +1223,59 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN312" +NAME="AEN308" ></A ><H3 ><A NAME="XMLPARSERCTXT" ></A >xmlParserCtxt</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlParserCtxt xmlParserCtxt;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN317" +NAME="AEN312" ></A ><H3 ><A NAME="XMLPARSERCTXTPTR" ></A >xmlParserCtxtPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlParserCtxt *xmlParserCtxtPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN322" +NAME="AEN316" ></A ><H3 ><A NAME="XMLSAXLOCATOR" ></A >xmlSAXLocator</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlSAXLocator xmlSAXLocator;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN327" +NAME="AEN320" ></A ><H3 ><A NAME="XMLSAXLOCATORPTR" ></A >xmlSAXLocatorPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlSAXLocator *xmlSAXLocatorPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN332" +NAME="AEN324" ></A ><H3 ><A @@ -1497,7 +1393,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN361" +NAME="AEN353" ></A ><H3 ><A @@ -1618,7 +1514,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN390" +NAME="AEN382" ></A ><H3 ><A @@ -1715,7 +1611,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN414" +NAME="AEN406" ></A ><H3 ><A @@ -1812,7 +1708,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN438" +NAME="AEN430" ></A ><H3 ><A @@ -1972,7 +1868,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN476" +NAME="AEN468" ></A ><H3 ><A @@ -2093,7 +1989,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN505" +NAME="AEN497" ></A ><H3 ><A @@ -2271,7 +2167,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN547" +NAME="AEN539" ></A ><H3 ><A @@ -2389,7 +2285,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN575" +NAME="AEN567" ></A ><H3 ><A @@ -2531,7 +2427,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN609" +NAME="AEN601" ></A ><H3 ><A @@ -2610,7 +2506,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN628" +NAME="AEN620" ></A ><H3 ><A @@ -2668,7 +2564,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN642" +NAME="AEN634" ></A ><H3 ><A @@ -2726,7 +2622,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN656" +NAME="AEN648" ></A ><H3 ><A @@ -2826,7 +2722,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN680" +NAME="AEN672" ></A ><H3 ><A @@ -2905,7 +2801,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN699" +NAME="AEN691" ></A ><H3 ><A @@ -3005,7 +2901,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN723" +NAME="AEN715" ></A ><H3 ><A @@ -3084,7 +2980,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN742" +NAME="AEN734" ></A ><H3 ><A @@ -3181,7 +3077,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN765" +NAME="AEN757" ></A ><H3 ><A @@ -3278,7 +3174,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN788" +NAME="AEN780" ></A ><H3 ><A @@ -3378,7 +3274,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN812" +NAME="AEN804" ></A ><H3 ><A @@ -3457,7 +3353,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN831" +NAME="AEN823" ></A ><H3 ><A @@ -3554,7 +3450,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN854" +NAME="AEN846" ></A ><H3 ><A @@ -3648,7 +3544,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN876" +NAME="AEN868" ></A ><H3 ><A @@ -3742,7 +3638,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN898" +NAME="AEN890" ></A ><H3 ><A @@ -3836,7 +3732,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN920" +NAME="AEN912" ></A ><H3 ><A @@ -3909,7 +3805,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN938" +NAME="AEN930" ></A ><H3 ><A @@ -3982,7 +3878,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN956" +NAME="AEN948" ></A ><H3 ><A @@ -4055,33 +3951,20 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN974" +NAME="AEN966" ></A ><H3 ><A NAME="XMLSAXHANDLERPTR" ></A >xmlSAXHandlerPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlSAXHandler *xmlSAXHandlerPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN979" +NAME="AEN970" ></A ><H3 ><A @@ -4107,7 +3990,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN984" +NAME="AEN975" ></A ><H3 ><A @@ -4133,7 +4016,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN989" +NAME="AEN980" ></A ><H3 ><A @@ -4159,7 +4042,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN994" +NAME="AEN985" ></A ><H3 ><A @@ -4185,7 +4068,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN999" +NAME="AEN990" ></A ><H3 ><A @@ -4211,7 +4094,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1004" +NAME="AEN995" ></A ><H3 ><A @@ -4242,7 +4125,7 @@ function should not prevent reusing the parser.</P ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1010" +NAME="AEN1001" ></A ><H3 ><A @@ -4297,7 +4180,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser input</TD +> </TD ></TR ><TR ><TD @@ -4314,7 +4197,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an indicative size for the lookahead</TD +> </TD ></TR ><TR ><TD @@ -4329,8 +4212,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of xmlChars read, or -1 in case of error, 0 indicate the -end of this entity</TD +> </TD ></TR ></TABLE ><P @@ -4340,7 +4222,7 @@ end of this entity</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1034" +NAME="AEN1025" ></A ><H3 ><A @@ -4395,7 +4277,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser input</TD +> </TD ></TR ><TR ><TD @@ -4412,7 +4294,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an indicative size for the lookahead</TD +> </TD ></TR ><TR ><TD @@ -4427,8 +4309,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of xmlChars read, or -1 in case of error, 0 indicate the -end of this entity</TD +> </TD ></TR ></TABLE ><P @@ -4438,7 +4319,7 @@ end of this entity</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1058" +NAME="AEN1049" ></A ><H3 ><A @@ -4494,7 +4375,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the input xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -4509,7 +4390,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new xmlChar * or NULL</TD +> </TD ></TR ></TABLE ><P @@ -4519,7 +4400,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1079" +NAME="AEN1070" ></A ><H3 ><A @@ -4576,7 +4457,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the input xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -4593,12 +4474,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the len of <TT -CLASS="PARAMETER" -><I ->cur</I -></TT -></TD +> </TD ></TR ><TR ><TD @@ -4613,7 +4489,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new xmlChar * or NULL</TD +> </TD ></TR ></TABLE ><P @@ -4623,7 +4499,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1105" +NAME="AEN1095" ></A ><H3 ><A @@ -4681,7 +4557,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array (haystack)</TD +> </TD ></TR ><TR ><TD @@ -4698,7 +4574,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the index of the first char (zero based)</TD +> </TD ></TR ><TR ><TD @@ -4715,7 +4591,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the length of the substring</TD +> </TD ></TR ><TR ><TD @@ -4730,7 +4606,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlChar * for the first occurence or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -4740,7 +4616,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1134" +NAME="AEN1124" ></A ><H3 ><A @@ -4800,7 +4676,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array</TD +> </TD ></TR ><TR ><TD @@ -4817,7 +4693,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar to search</TD +> </TD ></TR ><TR ><TD @@ -4832,7 +4708,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlChar * for the first occurence or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -4842,7 +4718,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1160" +NAME="AEN1150" ></A ><H3 ><A @@ -4902,7 +4778,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array (haystack)</TD +> </TD ></TR ><TR ><TD @@ -4919,7 +4795,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar to search (needle)</TD +> </TD ></TR ><TR ><TD @@ -4934,7 +4810,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlChar * for the first occurence or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -4944,7 +4820,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1186" +NAME="AEN1176" ></A ><H3 ><A @@ -5001,7 +4877,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -5018,7 +4894,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the second xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -5033,7 +4909,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the integer result of the comparison</TD +> </TD ></TR ></TABLE ><P @@ -5043,7 +4919,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1211" +NAME="AEN1201" ></A ><H3 ><A @@ -5101,7 +4977,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -5118,7 +4994,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the second xmlChar *</TD +> </TD ></TR ><TR ><TD @@ -5135,7 +5011,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the max comparison length</TD +> </TD ></TR ><TR ><TD @@ -5150,7 +5026,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the integer result of the comparison</TD +> </TD ></TR ></TABLE ><P @@ -5160,7 +5036,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1240" +NAME="AEN1230" ></A ><H3 ><A @@ -5213,7 +5089,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array</TD +> </TD ></TR ><TR ><TD @@ -5228,7 +5104,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of xmlChar contained in the ARRAY.</TD +> </TD ></TR ></TABLE ><P @@ -5238,7 +5114,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1260" +NAME="AEN1250" ></A ><H3 ><A @@ -5298,7 +5174,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the original xmlChar * array</TD +> </TD ></TR ><TR ><TD @@ -5315,7 +5191,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array added</TD +> </TD ></TR ><TR ><TD @@ -5330,7 +5206,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new xmlChar * containing the concatenated string.</TD +> </TD ></TR ></TABLE ><P @@ -5340,7 +5216,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1286" +NAME="AEN1276" ></A ><H3 ><A @@ -5401,7 +5277,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the original xmlChar * array</TD +> </TD ></TR ><TR ><TD @@ -5418,7 +5294,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar * array added</TD +> </TD ></TR ><TR ><TD @@ -5435,12 +5311,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the length of <TT -CLASS="PARAMETER" -><I ->add</I -></TT -></TD +> </TD ></TR ><TR ><TD @@ -5455,7 +5326,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new xmlChar * containing the concatenated string.</TD +> </TD ></TR ></TABLE ><P @@ -5465,7 +5336,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1317" +NAME="AEN1306" ></A ><H3 ><A @@ -5521,7 +5392,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -5536,7 +5407,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -5546,7 +5417,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1338" +NAME="AEN1327" ></A ><H3 ><A @@ -5600,7 +5471,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an pointer to a char array</TD +> </TD ></TR ><TR ><TD @@ -5617,7 +5488,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -5632,7 +5503,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -5642,7 +5513,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1362" +NAME="AEN1351" ></A ><H3 ><A @@ -5696,7 +5567,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -5711,7 +5582,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -5721,7 +5592,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1382" +NAME="AEN1371" ></A ><H3 ><A @@ -5779,7 +5650,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> int 0 or 1 </TD +> </TD ></TR ><TR ><TD @@ -5794,7 +5665,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the last value for 0 for no substitution, 1 for substitution.</TD +> </TD ></TR ></TABLE ><P @@ -5804,7 +5675,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1402" +NAME="AEN1391" ></A ><H3 ><A @@ -5861,7 +5732,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -5876,7 +5747,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -5886,7 +5757,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1423" +NAME="AEN1412" ></A ><H3 ><A @@ -5941,7 +5812,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an pointer to a char array</TD +> </TD ></TR ><TR ><TD @@ -5958,7 +5829,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -5973,7 +5844,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -5983,7 +5854,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1447" +NAME="AEN1436" ></A ><H3 ><A @@ -6038,7 +5909,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -6053,7 +5924,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -6063,7 +5934,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1467" +NAME="AEN1456" ></A ><H3 ><A @@ -6121,7 +5992,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6136,8 +6007,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0, -1 in case of error. the parser context is augmented -as a result of the parsing.</TD +> </TD ></TR ></TABLE ><P @@ -6147,7 +6017,7 @@ as a result of the parsing.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1489" +NAME="AEN1478" ></A ><H3 ><A @@ -6210,7 +6080,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -6227,7 +6097,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -6244,8 +6114,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> work in recovery mode, i.e. tries to read no Well Formed -documents</TD +> </TD ></TR ><TR ><TD @@ -6260,7 +6129,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -6270,7 +6139,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1519" +NAME="AEN1508" ></A ><H3 ><A @@ -6326,7 +6195,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a SAX handler</TD +> </TD ></TR ><TR ><TD @@ -6343,7 +6212,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The user data returned on SAX callbacks</TD +> </TD ></TR ><TR ><TD @@ -6360,7 +6229,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a file name</TD +> </TD ></TR ><TR ><TD @@ -6375,7 +6244,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 in case of success or a error number otherwise</TD +> </TD ></TR ></TABLE ><P @@ -6385,7 +6254,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1547" +NAME="AEN1536" ></A ><H3 ><A @@ -6442,7 +6311,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a SAX handler</TD +> </TD ></TR ><TR ><TD @@ -6459,7 +6328,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> The user data returned on SAX callbacks</TD +> </TD ></TR ><TR ><TD @@ -6476,7 +6345,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an in-memory XML document input</TD +> </TD ></TR ><TR ><TD @@ -6493,7 +6362,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the length of the XML document in bytes</TD +> </TD ></TR ><TR ><TD @@ -6508,7 +6377,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 in case of success or a error number otherwise</TD +> </TD ></TR ></TABLE ><P @@ -6518,7 +6387,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1579" +NAME="AEN1568" ></A ><H3 ><A @@ -6579,7 +6448,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -6596,7 +6465,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an pointer to a char array</TD +> </TD ></TR ><TR ><TD @@ -6613,7 +6482,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -6630,8 +6499,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> work in recovery mode, i.e. tries to read not Well Formed -documents</TD +> </TD ></TR ><TR ><TD @@ -6646,7 +6514,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -6656,7 +6524,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1612" +NAME="AEN1601" ></A ><H3 ><A @@ -6717,7 +6585,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -6734,7 +6602,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -6751,8 +6619,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> work in recovery mode, i.e. tries to read no Well Formed -documents</TD +> </TD ></TR ><TR ><TD @@ -6767,7 +6634,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting document tree</TD +> </TD ></TR ></TABLE ><P @@ -6777,7 +6644,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1641" +NAME="AEN1630" ></A ><H3 ><A @@ -6837,7 +6704,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a NAME* containing the External ID of the DTD</TD +> </TD ></TR ><TR ><TD @@ -6854,7 +6721,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a NAME* containing the URL to the DTD</TD +> </TD ></TR ><TR ><TD @@ -6869,7 +6736,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting xmlDtdPtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -6879,7 +6746,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1667" +NAME="AEN1656" ></A ><H3 ><A @@ -6943,7 +6810,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the SAX handler block</TD +> </TD ></TR ><TR ><TD @@ -6960,7 +6827,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a NAME* containing the External ID of the DTD</TD +> </TD ></TR ><TR ><TD @@ -6977,7 +6844,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a NAME* containing the URL to the DTD</TD +> </TD ></TR ><TR ><TD @@ -6992,7 +6859,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the resulting xmlDtdPtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -7002,7 +6869,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1698" +NAME="AEN1687" ></A ><H3 ><A @@ -7055,7 +6922,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an HTML parser context</TD +> </TD ></TR ></TABLE ><P @@ -7065,7 +6932,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1714" +NAME="AEN1703" ></A ><H3 ><A @@ -7118,7 +6985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -7128,7 +6995,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1730" +NAME="AEN1719" ></A ><H3 ><A @@ -7188,7 +7055,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -7205,7 +7072,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a xmlChar * buffer</TD +> </TD ></TR ><TR ><TD @@ -7222,7 +7089,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a file name</TD +> </TD ></TR ></TABLE ><P @@ -7232,7 +7099,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1755" +NAME="AEN1744" ></A ><H3 ><A @@ -7260,7 +7127,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1761" +NAME="AEN1750" ></A ><H3 ><A @@ -7288,7 +7155,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1767" +NAME="AEN1756" ></A ><H3 ><A @@ -7349,7 +7216,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -7366,7 +7233,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML node within the tree</TD +> </TD ></TR ><TR ><TD @@ -7381,7 +7248,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->an xmlParserNodeInfo block pointer or NULL</TD +> </TD ></TR ></TABLE ><P @@ -7391,7 +7258,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1793" +NAME="AEN1782" ></A ><H3 ><A @@ -7444,7 +7311,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a node info sequence pointer</TD +> </TD ></TR ></TABLE ><P @@ -7454,7 +7321,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1809" +NAME="AEN1798" ></A ><H3 ><A @@ -7508,7 +7375,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a node info sequence pointer</TD +> </TD ></TR ></TABLE ><P @@ -7518,7 +7385,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1825" +NAME="AEN1814" ></A ><H3 ><A @@ -7579,7 +7446,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a node info sequence pointer</TD +> </TD ></TR ><TR ><TD @@ -7596,7 +7463,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML node pointer</TD +> </TD ></TR ><TR ><TD @@ -7611,7 +7478,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a long indicating the position of the record</TD +> </TD ></TR ></TABLE ><P @@ -7621,7 +7488,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1851" +NAME="AEN1840" ></A ><H3 ><A @@ -7678,7 +7545,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -7695,7 +7562,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a node info sequence pointer</TD +> </TD ></TR ></TABLE ><P @@ -7705,7 +7572,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1872" +NAME="AEN1861" ></A ><H3 ><A @@ -7766,7 +7633,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1887" +NAME="AEN1876" ></A ><H3 ><A @@ -7826,7 +7693,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1902" +NAME="AEN1891" ></A ><H3 ><A diff --git a/doc/html/gnome-xml-parserinternals.html b/doc/html/gnome-xml-parserinternals.html index 87782a2e..204600bf 100644 --- a/doc/html/gnome-xml-parserinternals.html +++ b/doc/html/gnome-xml-parserinternals.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN8681" +NAME="AEN8824" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN8681" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN8684" +NAME="AEN8827" ></A ><H2 >Synopsis</H2 @@ -886,7 +886,7 @@ HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8895" +NAME="AEN9038" ></A ><H2 >Description</H2 @@ -896,14 +896,14 @@ NAME="AEN8895" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8898" +NAME="AEN9041" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN8900" +NAME="AEN9043" ></A ><H3 ><A @@ -919,7 +919,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MAX_NAMELEN 1000</PRE +>#define XML_MAX_NAMELEN</PRE ></TD ></TR ></TABLE @@ -929,7 +929,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8905" +NAME="AEN9048" ></A ><H3 ><A @@ -942,7 +942,7 @@ NAME="CHARVAL" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8909" +NAME="AEN9052" ></A ><H3 ><A @@ -1000,7 +1000,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8923" +NAME="AEN9066" ></A ><H3 ><A @@ -1016,7 +1016,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define SKIPCHARVAL(p) (p)++;</PRE +>#define SKIPCHARVAL(p)</PRE ></TD ></TR ></TABLE @@ -1058,7 +1058,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8937" +NAME="AEN9080" ></A ><H3 ><A @@ -1116,7 +1116,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8951" +NAME="AEN9094" ></A ><H3 ><A @@ -1174,7 +1174,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8965" +NAME="AEN9108" ></A ><H3 ><A @@ -1232,7 +1232,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8979" +NAME="AEN9122" ></A ><H3 ><A @@ -1290,7 +1290,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8993" +NAME="AEN9136" ></A ><H3 ><A @@ -1348,7 +1348,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9007" +NAME="AEN9150" ></A ><H3 ><A @@ -1406,7 +1406,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9021" +NAME="AEN9164" ></A ><H3 ><A @@ -1464,7 +1464,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9035" +NAME="AEN9178" ></A ><H3 ><A @@ -1522,7 +1522,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9049" +NAME="AEN9192" ></A ><H3 ><A @@ -1580,7 +1580,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9063" +NAME="AEN9206" ></A ><H3 ><A @@ -1638,7 +1638,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9077" +NAME="AEN9220" ></A ><H3 ><A @@ -1696,7 +1696,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9091" +NAME="AEN9234" ></A ><H3 ><A @@ -1754,7 +1754,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9105" +NAME="AEN9248" ></A ><H3 ><A @@ -1810,7 +1810,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to an array of xmlChar</TD +> </TD ></TR ><TR ><TD @@ -1825,7 +1825,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new parser context or NULL</TD +> </TD ></TR ></TABLE ><P @@ -1835,7 +1835,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9126" +NAME="AEN9269" ></A ><H3 ><A @@ -1890,7 +1890,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -1905,7 +1905,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new parser context or NULL</TD +> </TD ></TR ></TABLE ><P @@ -1915,7 +1915,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9146" +NAME="AEN9289" ></A ><H3 ><A @@ -1969,7 +1969,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an pointer to a char array</TD +> </TD ></TR ><TR ><TD @@ -1986,7 +1986,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -2001,7 +2001,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new parser context or NULL</TD +> </TD ></TR ></TABLE ><P @@ -2011,7 +2011,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9170" +NAME="AEN9313" ></A ><H3 ><A @@ -2065,7 +2065,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -2075,7 +2075,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9186" +NAME="AEN9329" ></A ><H3 ><A @@ -2126,7 +2126,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlParserCtxtPtr or NULL</TD +> </TD ></TR ></TABLE ><P @@ -2136,7 +2136,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9202" +NAME="AEN9345" ></A ><H3 ><A @@ -2194,7 +2194,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parser context</TD +> </TD ></TR ><TR ><TD @@ -2211,7 +2211,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the encoding value (number)</TD +> </TD ></TR ></TABLE ><P @@ -2221,7 +2221,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9223" +NAME="AEN9366" ></A ><H3 ><A @@ -2281,7 +2281,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2298,7 +2298,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML entity pointer.</TD +> </TD ></TR ></TABLE ><P @@ -2308,7 +2308,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9245" +NAME="AEN9388" ></A ><H3 ><A @@ -2368,7 +2368,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2385,7 +2385,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an Entity pointer</TD +> </TD ></TR ><TR ><TD @@ -2400,7 +2400,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new input stream or NULL</TD +> </TD ></TR ></TABLE ><P @@ -2410,7 +2410,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9271" +NAME="AEN9414" ></A ><H3 ><A @@ -2468,7 +2468,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2485,7 +2485,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser input fragment (entity, XML fragment ...).</TD +> </TD ></TR ></TABLE ><P @@ -2495,7 +2495,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9292" +NAME="AEN9435" ></A ><H3 ><A @@ -2552,7 +2552,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2567,7 +2567,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the current xmlChar in the parser context</TD +> </TD ></TR ></TABLE ><P @@ -2577,7 +2577,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9313" +NAME="AEN9456" ></A ><H3 ><A @@ -2630,7 +2630,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an xmlParserInputPtr</TD +> </TD ></TR ></TABLE ><P @@ -2640,7 +2640,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9329" +NAME="AEN9472" ></A ><H3 ><A @@ -2697,7 +2697,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2714,7 +2714,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename to use as entity</TD +> </TD ></TR ><TR ><TD @@ -2729,7 +2729,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new input stream or NULL in case of error</TD +> </TD ></TR ></TABLE ><P @@ -2739,7 +2739,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9354" +NAME="AEN9497" ></A ><H3 ><A @@ -2805,7 +2805,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2822,7 +2822,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a xmlChar ** </TD +> </TD ></TR ><TR ><TD @@ -2837,8 +2837,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the local part, and prefix is updated -to get the Prefix if any.</TD +> </TD ></TR ></TABLE ><P @@ -2848,7 +2847,7 @@ to get the Prefix if any.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9383" +NAME="AEN9526" ></A ><H3 ><A @@ -2909,7 +2908,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -2924,7 +2923,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the namespace name or NULL</TD +> </TD ></TR ></TABLE ><P @@ -2934,7 +2933,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9406" +NAME="AEN9549" ></A ><H3 ><A @@ -3000,7 +2999,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3017,7 +3016,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a xmlChar ** </TD +> </TD ></TR ><TR ><TD @@ -3032,8 +3031,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the local part, and prefix is updated -to get the Prefix if any.</TD +> </TD ></TR ></TABLE ><P @@ -3043,7 +3041,7 @@ to get the Prefix if any.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9435" +NAME="AEN9578" ></A ><H3 ><A @@ -3103,7 +3101,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3118,7 +3116,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the namespace name</TD +> </TD ></TR ></TABLE ><P @@ -3128,7 +3126,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9458" +NAME="AEN9601" ></A ><H3 ><A @@ -3185,7 +3183,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3200,7 +3198,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the string parser or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -3210,7 +3208,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9479" +NAME="AEN9622" ></A ><H3 ><A @@ -3269,7 +3267,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -3279,7 +3277,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9497" +NAME="AEN9640" ></A ><H3 ><A @@ -3343,7 +3341,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3358,7 +3356,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the Name parsed or NULL</TD +> </TD ></TR ></TABLE ><P @@ -3368,7 +3366,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9521" +NAME="AEN9664" ></A ><H3 ><A @@ -3431,7 +3429,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3446,7 +3444,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the Name parsed or NULL</TD +> </TD ></TR ></TABLE ><P @@ -3456,7 +3454,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9545" +NAME="AEN9688" ></A ><H3 ><A @@ -3516,7 +3514,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3531,7 +3529,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the Nmtoken parsed or NULL</TD +> </TD ></TR ></TABLE ><P @@ -3541,7 +3539,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9568" +NAME="AEN9711" ></A ><H3 ><A @@ -3604,7 +3602,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3621,7 +3619,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if non-NULL store a copy of the original entity value</TD +> </TD ></TR ><TR ><TD @@ -3636,7 +3634,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the EntityValue parsed with reference substitued or NULL</TD +> </TD ></TR ></TABLE ><P @@ -3646,7 +3644,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9595" +NAME="AEN9738" ></A ><H3 ><A @@ -3759,7 +3757,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3774,7 +3772,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the AttValue parsed or NULL. The value has to be freed by the caller.</TD +> </TD ></TR ></TABLE ><P @@ -3784,7 +3782,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9629" +NAME="AEN9772" ></A ><H3 ><A @@ -3842,7 +3840,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3857,7 +3855,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the SystemLiteral parsed or NULL</TD +> </TD ></TR ></TABLE ><P @@ -3867,7 +3865,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9651" +NAME="AEN9794" ></A ><H3 ><A @@ -3925,7 +3923,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -3940,7 +3938,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the PubidLiteral parsed or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -3950,7 +3948,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9673" +NAME="AEN9816" ></A ><H3 ><A @@ -4007,7 +4005,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4024,7 +4022,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> int indicating whether we are within a CDATA section</TD +> </TD ></TR ></TABLE ><P @@ -4034,7 +4032,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9694" +NAME="AEN9837" ></A ><H3 ><A @@ -4103,7 +4101,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4120,7 +4118,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a xmlChar** receiving PubidLiteral</TD +> </TD ></TR ><TR ><TD @@ -4137,8 +4135,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> indicate whether we should restrict parsing to only -production [75], see NOTE below</TD +> </TD ></TR ><TR ><TD @@ -4153,9 +4150,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the function returns SystemLiteral and in the second -case publicID receives PubidLiteral, is strict is off -it is possible to return NULL and have publicID set.</TD +> </TD ></TR ></TABLE ><P @@ -4165,7 +4160,7 @@ it is possible to return NULL and have publicID set.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9727" +NAME="AEN9870" ></A ><H3 ><A @@ -4222,7 +4217,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -4232,7 +4227,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9744" +NAME="AEN9887" ></A ><H3 ><A @@ -4290,7 +4285,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4305,7 +4300,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the PITarget name or NULL</TD +> </TD ></TR ></TABLE ><P @@ -4315,7 +4310,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9766" +NAME="AEN9909" ></A ><H3 ><A @@ -4372,7 +4367,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -4382,7 +4377,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9784" +NAME="AEN9927" ></A ><H3 ><A @@ -4447,7 +4442,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -4457,7 +4452,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9804" +NAME="AEN9947" ></A ><H3 ><A @@ -4525,7 +4520,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -4535,7 +4530,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9827" +NAME="AEN9970" ></A ><H3 ><A @@ -4631,7 +4626,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4648,7 +4643,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> Receive a possible fixed default value for the attribute</TD +> </TD ></TR ><TR ><TD @@ -4663,8 +4658,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED -or XML_ATTRIBUTE_FIXED. </TD +> </TD ></TR ></TABLE ><P @@ -4674,7 +4668,7 @@ or XML_ATTRIBUTE_FIXED. </TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9864" +NAME="AEN10007" ></A ><H3 ><A @@ -4738,7 +4732,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4753,7 +4747,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the notation attribute tree built while parsing</TD +> </TD ></TR ></TABLE ><P @@ -4763,7 +4757,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9888" +NAME="AEN10031" ></A ><H3 ><A @@ -4825,7 +4819,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4840,7 +4834,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the enumeration attribute tree built while parsing</TD +> </TD ></TR ></TABLE ><P @@ -4850,7 +4844,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9911" +NAME="AEN10054" ></A ><H3 ><A @@ -4911,7 +4905,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -4928,7 +4922,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the enumeration tree built while parsing</TD +> </TD ></TR ><TR ><TD @@ -4943,7 +4937,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD +> </TD ></TR ></TABLE ><P @@ -4953,7 +4947,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9938" +NAME="AEN10081" ></A ><H3 ><A @@ -5055,7 +5049,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5072,7 +5066,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the enumeration tree built while parsing</TD +> </TD ></TR ><TR ><TD @@ -5087,7 +5081,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the attribute type</TD +> </TD ></TR ></TABLE ><P @@ -5097,7 +5091,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9976" +NAME="AEN10119" ></A ><H3 ><A @@ -5154,7 +5148,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -5164,7 +5158,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9994" +NAME="AEN10137" ></A ><H3 ><A @@ -5237,7 +5231,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5252,7 +5246,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the list of the xmlElementContentPtr describing the element choices</TD +> </TD ></TR ></TABLE ><P @@ -5262,7 +5256,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10020" +NAME="AEN10163" ></A ><H3 ><A @@ -5339,7 +5333,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5354,8 +5348,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the tree of xmlElementContentPtr describing the element -hierarchy.</TD +> </TD ></TR ></TABLE ><P @@ -5365,7 +5358,7 @@ hierarchy.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10046" +NAME="AEN10189" ></A ><H3 ><A @@ -5429,7 +5422,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5446,7 +5439,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the element being defined.</TD +> </TD ></TR ><TR ><TD @@ -5463,7 +5456,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the Element Content pointer will be stored here if any</TD +> </TD ></TR ><TR ><TD @@ -5478,7 +5471,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the type of element content XML_ELEMENT_TYPE_xxx</TD +> </TD ></TR ></TABLE ><P @@ -5488,7 +5481,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10077" +NAME="AEN10220" ></A ><H3 ><A @@ -5546,7 +5539,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5561,7 +5554,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the type of the element, or -1 in case of error</TD +> </TD ></TR ></TABLE ><P @@ -5571,7 +5564,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10099" +NAME="AEN10242" ></A ><H3 ><A @@ -5640,7 +5633,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -5650,7 +5643,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10118" +NAME="AEN10261" ></A ><H3 ><A @@ -5713,7 +5706,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5728,7 +5721,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the value parsed (as an int), 0 in case of error</TD +> </TD ></TR ></TABLE ><P @@ -5738,7 +5731,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10141" +NAME="AEN10284" ></A ><H3 ><A @@ -5814,7 +5807,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -5829,7 +5822,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlEntityPtr if found, or NULL otherwise.</TD +> </TD ></TR ></TABLE ><P @@ -5839,7 +5832,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10165" +NAME="AEN10308" ></A ><H3 ><A @@ -5903,7 +5896,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -5913,7 +5906,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10184" +NAME="AEN10327" ></A ><H3 ><A @@ -5989,7 +5982,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -5999,7 +5992,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10205" +NAME="AEN10348" ></A ><H3 ><A @@ -6059,7 +6052,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -6069,7 +6062,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10223" +NAME="AEN10366" ></A ><H3 ><A @@ -6152,7 +6145,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6169,7 +6162,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a xmlChar ** used to store the value of the attribute</TD +> </TD ></TR ><TR ><TD @@ -6184,7 +6177,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the attribute name, and the value in *value.</TD +> </TD ></TR ></TABLE ><P @@ -6194,7 +6187,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10257" +NAME="AEN10400" ></A ><H3 ><A @@ -6271,7 +6264,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6296,7 +6289,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10286" +NAME="AEN10429" ></A ><H3 ><A @@ -6359,7 +6352,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6376,7 +6369,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the tag name as parsed in the opening tag.</TD +> </TD ></TR ></TABLE ><P @@ -6386,7 +6379,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10310" +NAME="AEN10453" ></A ><H3 ><A @@ -6447,7 +6440,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -6457,7 +6450,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10330" +NAME="AEN10473" ></A ><H3 ><A @@ -6512,7 +6505,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -6522,7 +6515,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10347" +NAME="AEN10490" ></A ><H3 ><A @@ -6594,7 +6587,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -6604,7 +6597,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10366" +NAME="AEN10509" ></A ><H3 ><A @@ -6662,7 +6655,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6677,7 +6670,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the string giving the XML version number, or NULL</TD +> </TD ></TR ></TABLE ><P @@ -6687,7 +6680,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10388" +NAME="AEN10531" ></A ><H3 ><A @@ -6747,7 +6740,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6762,7 +6755,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the version string, e.g. "1.0"</TD +> </TD ></TR ></TABLE ><P @@ -6772,7 +6765,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10411" +NAME="AEN10554" ></A ><H3 ><A @@ -6830,7 +6823,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6845,7 +6838,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the encoding name value or NULL</TD +> </TD ></TR ></TABLE ><P @@ -6855,7 +6848,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10433" +NAME="AEN10576" ></A ><H3 ><A @@ -6915,7 +6908,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -6930,7 +6923,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the encoding value or NULL</TD +> </TD ></TR ></TABLE ><P @@ -6940,7 +6933,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10456" +NAME="AEN10599" ></A ><H3 ><A @@ -7010,7 +7003,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -7025,7 +7018,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if standalone, 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -7035,7 +7028,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10478" +NAME="AEN10621" ></A ><H3 ><A @@ -7090,7 +7083,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -7100,7 +7093,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10495" +NAME="AEN10638" ></A ><H3 ><A @@ -7155,7 +7148,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ></TABLE ><P @@ -7165,7 +7158,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10512" +NAME="AEN10655" ></A ><H3 ><A @@ -7230,7 +7223,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -7247,7 +7240,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the external identifier</TD +> </TD ></TR ><TR ><TD @@ -7264,7 +7257,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the system identifier (or URL)</TD +> </TD ></TR ></TABLE ><P @@ -7274,7 +7267,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10540" +NAME="AEN10683" ></A ><H3 ><A @@ -7290,7 +7283,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_NONE 0</PRE +>#define XML_SUBSTITUTE_NONE</PRE ></TD ></TR ></TABLE @@ -7300,7 +7293,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10545" +NAME="AEN10688" ></A ><H3 ><A @@ -7316,7 +7309,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_REF 1</PRE +>#define XML_SUBSTITUTE_REF</PRE ></TD ></TR ></TABLE @@ -7326,7 +7319,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10550" +NAME="AEN10693" ></A ><H3 ><A @@ -7342,7 +7335,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_PEREF 2</PRE +>#define XML_SUBSTITUTE_PEREF</PRE ></TD ></TR ></TABLE @@ -7352,7 +7345,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10555" +NAME="AEN10698" ></A ><H3 ><A @@ -7368,7 +7361,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_BOTH 3</PRE +>#define XML_SUBSTITUTE_BOTH</PRE ></TD ></TR ></TABLE @@ -7378,7 +7371,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10560" +NAME="AEN10703" ></A ><H3 ><A @@ -7450,7 +7443,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parser context</TD +> </TD ></TR ><TR ><TD @@ -7467,7 +7460,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the len to decode (in bytes !), -1 for no size limit</TD +> </TD ></TR ><TR ><TD @@ -7484,7 +7477,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD +> </TD ></TR ><TR ><TD @@ -7501,7 +7494,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an end marker xmlChar, 0 if none</TD +> </TD ></TR ><TR ><TD @@ -7518,7 +7511,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an end marker xmlChar, 0 if none</TD +> </TD ></TR ><TR ><TD @@ -7535,7 +7528,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an end marker xmlChar, 0 if none</TD +> </TD ></TR ><TR ><TD @@ -7550,8 +7543,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->A newly allocated string with the substitution done. The caller -must deallocate it !</TD +> </TD ></TR ></TABLE ><P @@ -7561,7 +7553,7 @@ must deallocate it !</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10605" +NAME="AEN10748" ></A ><H3 ><A @@ -7658,7 +7650,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10629" +NAME="AEN10772" ></A ><H3 ><A @@ -7737,7 +7729,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10649" +NAME="AEN10792" ></A ><H3 ><A @@ -7834,7 +7826,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10673" +NAME="AEN10816" ></A ><H3 ><A diff --git a/doc/html/gnome-xml-tree.html b/doc/html/gnome-xml-tree.html index c0162616..08800723 100644 --- a/doc/html/gnome-xml-tree.html +++ b/doc/html/gnome-xml-tree.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN2841" +NAME="AEN2834" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN2841" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN2844" +NAME="AEN2837" ></A ><H2 >Synopsis</H2 @@ -881,6 +881,31 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A +HREF="gnome-xml-tree.html#XMLDOCSETROOTELEMENT" +>xmlDocSetRootElement</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> root); +void <A +HREF="gnome-xml-tree.html#XMLNODESETNAME" +>xmlNodeSetName</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A HREF="gnome-xml-tree.html#XMLADDCHILD" >xmlAddChild</A > (<A @@ -895,6 +920,20 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A +HREF="gnome-xml-tree.html#XMLREPLACENODE" +>xmlReplaceNode</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> old, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A HREF="gnome-xml-tree.html#XMLADDSIBLING" >xmlAddSibling</A > (<A @@ -905,6 +944,34 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > elem); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A +HREF="gnome-xml-tree.html#XMLADDPREVSIBLING" +>xmlAddPrevSibling</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A +HREF="gnome-xml-tree.html#XMLADDNEXTSIBLING" +>xmlAddNextSibling</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem); void <A HREF="gnome-xml-tree.html#XMLUNLINKNODE" >xmlUnlinkNode</A @@ -1323,7 +1390,7 @@ HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN3171" +NAME="AEN3183" ></A ><H2 >Description</H2 @@ -1333,14 +1400,14 @@ NAME="AEN3171" ><DIV CLASS="REFSECT1" ><A -NAME="AEN3174" +NAME="AEN3186" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN3176" +NAME="AEN3188" ></A ><H3 ><A @@ -1380,7 +1447,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3181" +NAME="AEN3193" ></A ><H3 ><A @@ -1393,7 +1460,7 @@ NAME="XMLCHAR" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3185" +NAME="AEN3197" ></A ><H3 ><A @@ -1409,7 +1476,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define CHAR xmlChar</PRE +>#define CHAR</PRE ></TD ></TR ></TABLE @@ -1419,7 +1486,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3190" +NAME="AEN3202" ></A ><H3 ><A @@ -1435,7 +1502,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define BAD_CAST (xmlChar *)</PRE +>#define BAD_CAST</PRE ></TD ></TR ></TABLE @@ -1445,33 +1512,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3195" +NAME="AEN3207" ></A ><H3 ><A NAME="XMLNOTATIONPTR" ></A >xmlNotationPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlNotation *xmlNotationPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3200" +NAME="AEN3211" ></A ><H3 ><A @@ -1508,7 +1562,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3205" +NAME="AEN3216" ></A ><H3 ><A @@ -1539,59 +1593,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3210" +NAME="AEN3221" ></A ><H3 ><A NAME="XMLENUMERATIONPTR" ></A >xmlEnumerationPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlEnumeration *xmlEnumerationPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3215" +NAME="AEN3225" ></A ><H3 ><A NAME="XMLATTRIBUTEPTR" ></A >xmlAttributePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlAttribute *xmlAttributePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3220" +NAME="AEN3229" ></A ><H3 ><A @@ -1622,7 +1650,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3225" +NAME="AEN3234" ></A ><H3 ><A @@ -1653,33 +1681,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3230" +NAME="AEN3239" ></A ><H3 ><A NAME="XMLELEMENTCONTENTPTR" ></A >xmlElementContentPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlElementContent *xmlElementContentPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3235" +NAME="AEN3243" ></A ><H3 ><A @@ -1710,33 +1725,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3240" +NAME="AEN3248" ></A ><H3 ><A NAME="XMLELEMENTPTR" ></A >xmlElementPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlElement *xmlElementPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3245" +NAME="AEN3252" ></A ><H3 ><A @@ -1765,137 +1767,72 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3250" +NAME="AEN3257" ></A ><H3 ><A NAME="XMLNSPTR" ></A >xmlNsPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlNs *xmlNsPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3255" +NAME="AEN3261" ></A ><H3 ><A NAME="XMLDTDPTR" ></A >xmlDtdPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlDtd *xmlDtdPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3260" +NAME="AEN3265" ></A ><H3 ><A NAME="XMLATTRPTR" ></A >xmlAttrPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlAttr *xmlAttrPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3265" +NAME="AEN3269" ></A ><H3 ><A NAME="XMLIDPTR" ></A >xmlIDPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlID *xmlIDPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3270" +NAME="AEN3273" ></A ><H3 ><A NAME="XMLREFPTR" ></A >xmlRefPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlRef *xmlRefPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3275" +NAME="AEN3277" ></A ><H3 ><A @@ -1926,52 +1863,26 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3281" +NAME="AEN3283" ></A ><H3 ><A NAME="XMLBUFFER" ></A >xmlBuffer</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlBuffer xmlBuffer;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3286" +NAME="AEN3287" ></A ><H3 ><A NAME="XMLBUFFERPTR" ></A >xmlBufferPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlBuffer *xmlBufferPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV @@ -1985,104 +1896,52 @@ NAME="AEN3291" NAME="XMLNODE" ></A >xmlNode</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlNode xmlNode;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3296" +NAME="AEN3295" ></A ><H3 ><A NAME="XMLNODEPTR" ></A >xmlNodePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlNode *xmlNodePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3301" +NAME="AEN3299" ></A ><H3 ><A NAME="XMLDOC" ></A >xmlDoc</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef _xmlDoc xmlDoc;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3306" +NAME="AEN3303" ></A ><H3 ><A NAME="XMLDOCPTR" ></A >xmlDocPtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlDoc *xmlDocPtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3311" +NAME="AEN3307" ></A ><H3 ><A @@ -2108,7 +1967,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3316" +NAME="AEN3312" ></A ><H3 ><A @@ -2134,7 +1993,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3321" +NAME="AEN3317" ></A ><H3 ><A @@ -2160,7 +2019,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3326" +NAME="AEN3322" ></A ><H3 ><A @@ -2186,7 +2045,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3331" +NAME="AEN3327" ></A ><H3 ><A @@ -2237,7 +2096,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new structure.</TD +> </TD ></TR ></TABLE ><P @@ -2247,7 +2106,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3347" +NAME="AEN3343" ></A ><H3 ><A @@ -2303,7 +2162,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> initial size of buffer</TD +> </TD ></TR ><TR ><TD @@ -2318,7 +2177,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new structure.</TD +> </TD ></TR ></TABLE ><P @@ -2328,7 +2187,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3368" +NAME="AEN3364" ></A ><H3 ><A @@ -2381,7 +2240,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to free</TD +> </TD ></TR ></TABLE ><P @@ -2391,7 +2250,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3384" +NAME="AEN3380" ></A ><H3 ><A @@ -2448,7 +2307,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the file output</TD +> </TD ></TR ><TR ><TD @@ -2465,7 +2324,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to dump</TD +> </TD ></TR ><TR ><TD @@ -2480,7 +2339,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of xmlChar written</TD +> </TD ></TR ></TABLE ><P @@ -2490,7 +2349,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3409" +NAME="AEN3405" ></A ><H3 ><A @@ -2549,7 +2408,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to dump</TD +> </TD ></TR ><TR ><TD @@ -2566,7 +2425,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar string</TD +> </TD ></TR ><TR ><TD @@ -2583,7 +2442,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the number of xmlChar to add</TD +> </TD ></TR ></TABLE ><P @@ -2593,7 +2452,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3434" +NAME="AEN3430" ></A ><H3 ><A @@ -2650,7 +2509,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to dump</TD +> </TD ></TR ><TR ><TD @@ -2667,7 +2526,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the xmlChar string</TD +> </TD ></TR ></TABLE ><P @@ -2677,7 +2536,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3455" +NAME="AEN3451" ></A ><H3 ><A @@ -2731,7 +2590,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to dump</TD +> </TD ></TR ><TR ><TD @@ -2748,7 +2607,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the C char string</TD +> </TD ></TR ></TABLE ><P @@ -2758,7 +2617,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3475" +NAME="AEN3471" ></A ><H3 ><A @@ -2812,7 +2671,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to dump</TD +> </TD ></TR ><TR ><TD @@ -2829,7 +2688,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the number of xmlChar to remove</TD +> </TD ></TR ><TR ><TD @@ -2844,7 +2703,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of xmlChar removed, or -1 in case of failure.</TD +> </TD ></TR ></TABLE ><P @@ -2854,7 +2713,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3499" +NAME="AEN3495" ></A ><H3 ><A @@ -2907,7 +2766,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer</TD +> </TD ></TR ></TABLE ><P @@ -2917,7 +2776,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3515" +NAME="AEN3511" ></A ><H3 ><A @@ -2973,7 +2832,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer to resize</TD +> </TD ></TR ><TR ><TD @@ -2988,7 +2847,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the internal content</TD +> </TD ></TR ></TABLE ><P @@ -2998,7 +2857,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3536" +NAME="AEN3532" ></A ><H3 ><A @@ -3074,7 +2933,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3555" +NAME="AEN3551" ></A ><H3 ><A @@ -3156,7 +3015,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3575" +NAME="AEN3571" ></A ><H3 ><A @@ -3209,7 +3068,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the buffer </TD +> </TD ></TR ><TR ><TD @@ -3224,7 +3083,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the length of data in the internal content</TD +> </TD ></TR ></TABLE ><P @@ -3234,7 +3093,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3595" +NAME="AEN3591" ></A ><H3 ><A @@ -3302,7 +3161,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document pointer</TD +> </TD ></TR ><TR ><TD @@ -3319,7 +3178,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the DTD name</TD +> </TD ></TR ><TR ><TD @@ -3336,7 +3195,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the external ID</TD +> </TD ></TR ><TR ><TD @@ -3353,7 +3212,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the system ID</TD +> </TD ></TR ><TR ><TD @@ -3368,7 +3227,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new DTD structure</TD +> </TD ></TR ></TABLE ><P @@ -3378,7 +3237,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3631" +NAME="AEN3627" ></A ><H3 ><A @@ -3446,7 +3305,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document pointer</TD +> </TD ></TR ><TR ><TD @@ -3463,7 +3322,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the DTD name</TD +> </TD ></TR ><TR ><TD @@ -3480,7 +3339,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the external ID</TD +> </TD ></TR ><TR ><TD @@ -3497,7 +3356,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the system ID</TD +> </TD ></TR ><TR ><TD @@ -3512,7 +3371,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new DTD structure</TD +> </TD ></TR ></TABLE ><P @@ -3522,7 +3381,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3667" +NAME="AEN3663" ></A ><H3 ><A @@ -3575,7 +3434,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the DTD structure to free up</TD +> </TD ></TR ></TABLE ><P @@ -3585,7 +3444,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3683" +NAME="AEN3679" ></A ><H3 ><A @@ -3649,7 +3508,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document carrying the namespace</TD +> </TD ></TR ><TR ><TD @@ -3666,7 +3525,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the URI associated</TD +> </TD ></TR ><TR ><TD @@ -3683,7 +3542,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the prefix for the namespace</TD +> </TD ></TR ><TR ><TD @@ -3698,7 +3557,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->returns a new namespace pointer</TD +> </TD ></TR ></TABLE ><P @@ -3708,7 +3567,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3714" +NAME="AEN3710" ></A ><H3 ><A @@ -3772,7 +3631,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element carrying the namespace</TD +> </TD ></TR ><TR ><TD @@ -3789,7 +3648,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the URI associated</TD +> </TD ></TR ><TR ><TD @@ -3806,7 +3665,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the prefix for the namespace</TD +> </TD ></TR ><TR ><TD @@ -3821,7 +3680,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->returns a new namespace pointer</TD +> </TD ></TR ></TABLE ><P @@ -3831,7 +3690,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3745" +NAME="AEN3741" ></A ><H3 ><A @@ -3884,7 +3743,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the namespace pointer</TD +> </TD ></TR ></TABLE ><P @@ -3894,7 +3753,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3761" +NAME="AEN3757" ></A ><H3 ><A @@ -3950,7 +3809,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> xmlChar string giving the version of XML "1.0"</TD +> </TD ></TR ><TR ><TD @@ -3965,7 +3824,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new document</TD +> </TD ></TR ></TABLE ><P @@ -3975,7 +3834,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3782" +NAME="AEN3778" ></A ><H3 ><A @@ -4028,8 +3887,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the document -@: </TD +> </TD ></TR ></TABLE ><P @@ -4039,7 +3897,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3798" +NAME="AEN3794" ></A ><H3 ><A @@ -4103,7 +3961,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -4120,7 +3978,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4137,7 +3995,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4152,7 +4010,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the attribute</TD +> </TD ></TR ></TABLE ><P @@ -4162,7 +4020,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3829" +NAME="AEN3825" ></A ><H3 ><A @@ -4226,7 +4084,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the holding node</TD +> </TD ></TR ><TR ><TD @@ -4243,7 +4101,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4260,7 +4118,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4275,7 +4133,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the attribute</TD +> </TD ></TR ></TABLE ><P @@ -4285,7 +4143,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3860" +NAME="AEN3856" ></A ><H3 ><A @@ -4353,7 +4211,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the holding node</TD +> </TD ></TR ><TR ><TD @@ -4370,7 +4228,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the namespace</TD +> </TD ></TR ><TR ><TD @@ -4387,7 +4245,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4404,7 +4262,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value of the attribute</TD +> </TD ></TR ><TR ><TD @@ -4419,7 +4277,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the attribute</TD +> </TD ></TR ></TABLE ><P @@ -4429,7 +4287,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3896" +NAME="AEN3892" ></A ><H3 ><A @@ -4482,7 +4340,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first property in the list</TD +> </TD ></TR ></TABLE ><P @@ -4492,7 +4350,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3912" +NAME="AEN3908" ></A ><H3 ><A @@ -4545,7 +4403,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first property in the list</TD +> </TD ></TR ></TABLE ><P @@ -4555,7 +4413,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3928" +NAME="AEN3924" ></A ><H3 ><A @@ -4615,7 +4473,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element where the attribute will be grafted</TD +> </TD ></TR ><TR ><TD @@ -4632,7 +4490,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute</TD +> </TD ></TR ><TR ><TD @@ -4647,7 +4505,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlAttrPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -4657,7 +4515,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3954" +NAME="AEN3950" ></A ><H3 ><A @@ -4717,7 +4575,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element where the attributes will be grafted</TD +> </TD ></TR ><TR ><TD @@ -4734,7 +4592,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first attribute</TD +> </TD ></TR ><TR ><TD @@ -4749,7 +4607,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlAttrPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -4759,7 +4617,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3980" +NAME="AEN3976" ></A ><H3 ><A @@ -4815,7 +4673,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the dtd</TD +> </TD ></TR ><TR ><TD @@ -4830,7 +4688,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlDtdPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -4840,7 +4698,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4001" +NAME="AEN3997" ></A ><H3 ><A @@ -4898,7 +4756,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -4915,7 +4773,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if 1 do a recursive copy.</TD +> </TD ></TR ><TR ><TD @@ -4930,7 +4788,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlDocPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -4940,7 +4798,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4026" +NAME="AEN4022" ></A ><H3 ><A @@ -5034,7 +4892,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -5051,7 +4909,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> namespace if any</TD +> </TD ></TR ><TR ><TD @@ -5068,7 +4926,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node name</TD +> </TD ></TR ><TR ><TD @@ -5085,7 +4943,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML text content if any</TD +> </TD ></TR ><TR ><TD @@ -5100,7 +4958,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5110,7 +4968,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4067" +NAME="AEN4063" ></A ><H3 ><A @@ -5189,7 +5047,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -5206,7 +5064,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> namespace if any</TD +> </TD ></TR ><TR ><TD @@ -5223,7 +5081,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node name</TD +> </TD ></TR ><TR ><TD @@ -5240,7 +5098,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content if any</TD +> </TD ></TR ><TR ><TD @@ -5255,7 +5113,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5265,7 +5123,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4105" +NAME="AEN4101" ></A ><H3 ><A @@ -5337,7 +5195,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> namespace if any</TD +> </TD ></TR ><TR ><TD @@ -5354,7 +5212,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node name</TD +> </TD ></TR ><TR ><TD @@ -5369,7 +5227,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5379,7 +5237,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4133" +NAME="AEN4129" ></A ><H3 ><A @@ -5479,7 +5337,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parent node</TD +> </TD ></TR ><TR ><TD @@ -5496,7 +5354,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a namespace if any</TD +> </TD ></TR ><TR ><TD @@ -5513,7 +5371,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the child</TD +> </TD ></TR ><TR ><TD @@ -5530,7 +5388,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML content of the child if any.</TD +> </TD ></TR ><TR ><TD @@ -5545,7 +5403,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5555,7 +5413,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4175" +NAME="AEN4171" ></A ><H3 ><A @@ -5640,7 +5498,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parent node</TD +> </TD ></TR ><TR ><TD @@ -5657,7 +5515,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a namespace if any</TD +> </TD ></TR ><TR ><TD @@ -5674,7 +5532,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the name of the child</TD +> </TD ></TR ><TR ><TD @@ -5691,7 +5549,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content of the child if any.</TD +> </TD ></TR ><TR ><TD @@ -5706,7 +5564,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5716,7 +5574,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4214" +NAME="AEN4210" ></A ><H3 ><A @@ -5776,7 +5634,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -5793,7 +5651,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content</TD +> </TD ></TR ><TR ><TD @@ -5808,7 +5666,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5818,7 +5676,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4240" +NAME="AEN4236" ></A ><H3 ><A @@ -5874,7 +5732,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content</TD +> </TD ></TR ><TR ><TD @@ -5889,7 +5747,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -5899,7 +5757,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4261" +NAME="AEN4257" ></A ><H3 ><A @@ -5959,7 +5817,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the processing instruction name</TD +> </TD ></TR ><TR ><TD @@ -5976,7 +5834,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the PI content</TD +> </TD ></TR ><TR ><TD @@ -5991,7 +5849,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6001,7 +5859,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4287" +NAME="AEN4283" ></A ><H3 ><A @@ -6063,7 +5921,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -6080,7 +5938,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content</TD +> </TD ></TR ><TR ><TD @@ -6097,7 +5955,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text len.</TD +> </TD ></TR ><TR ><TD @@ -6112,7 +5970,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6122,7 +5980,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4317" +NAME="AEN4313" ></A ><H3 ><A @@ -6179,7 +6037,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text content</TD +> </TD ></TR ><TR ><TD @@ -6196,7 +6054,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the text len.</TD +> </TD ></TR ><TR ><TD @@ -6211,7 +6069,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6221,7 +6079,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4342" +NAME="AEN4338" ></A ><H3 ><A @@ -6281,7 +6139,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -6298,7 +6156,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the comment content</TD +> </TD ></TR ><TR ><TD @@ -6313,7 +6171,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6323,7 +6181,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4368" +NAME="AEN4364" ></A ><H3 ><A @@ -6379,7 +6237,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the comment content</TD +> </TD ></TR ><TR ><TD @@ -6394,7 +6252,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6404,7 +6262,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4389" +NAME="AEN4385" ></A ><H3 ><A @@ -6465,7 +6323,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -6482,7 +6340,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the CData block content content</TD +> </TD ></TR ><TR ><TD @@ -6499,7 +6357,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the length of the block</TD +> </TD ></TR ><TR ><TD @@ -6514,7 +6372,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6524,7 +6382,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4419" +NAME="AEN4415" ></A ><H3 ><A @@ -6584,7 +6442,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -6601,7 +6459,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the reference name, or the reference string with & and ;</TD +> </TD ></TR ><TR ><TD @@ -6616,7 +6474,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new node object.</TD +> </TD ></TR ></TABLE ><P @@ -6626,7 +6484,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4445" +NAME="AEN4441" ></A ><H3 ><A @@ -6683,7 +6541,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -6700,7 +6558,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if 1 do a recursive copy.</TD +> </TD ></TR ><TR ><TD @@ -6715,7 +6573,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlNodePtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -6725,7 +6583,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4470" +NAME="AEN4466" ></A ><H3 ><A @@ -6781,7 +6639,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first node in the list.</TD +> </TD ></TR ><TR ><TD @@ -6796,7 +6654,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlNodePtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -6806,7 +6664,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4491" +NAME="AEN4487" ></A ><H3 ><A @@ -6863,7 +6721,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -6878,7 +6736,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlNodePtr for the root or NULL</TD +> </TD ></TR ></TABLE ><P @@ -6888,7 +6746,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4512" +NAME="AEN4508" ></A ><H3 ><A @@ -6944,7 +6802,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parent node</TD +> </TD ></TR ><TR ><TD @@ -6959,7 +6817,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the last child or NULL if none.</TD +> </TD ></TR ></TABLE ><P @@ -6969,7 +6827,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4533" +NAME="AEN4529" ></A ><H3 ><A @@ -7022,7 +6880,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -7037,7 +6895,195 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 yes, 0 no</TD +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4549" +></A +><H3 +><A +NAME="XMLDOCSETROOTELEMENT" +></A +>xmlDocSetRootElement ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlDocSetRootElement (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> root);</PRE +></TD +></TR +></TABLE +><P +>Set the root element of the document (doc->root is a list +containing possibly comments, PIs, etc ...).</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>doc</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>root</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4575" +></A +><H3 +><A +NAME="XMLNODESETNAME" +></A +>xmlNodeSetName ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlNodeSetName (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name);</PRE +></TD +></TR +></TABLE +><P +>Searches the language of a node, i.e. the values of the xml:lang +attribute or the one carried by the nearest ancestor.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>name</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD ></TR ></TABLE ><P @@ -7047,7 +7093,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4553" +NAME="AEN4596" ></A ><H3 ><A @@ -7112,7 +7158,111 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the parent node</TD +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4623" +></A +><H3 +><A +NAME="XMLREPLACENODE" +></A +>xmlReplaceNode ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlReplaceNode (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> old, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur);</PRE +></TD +></TR +></TABLE +><P +>Unlink the old node from it's current context, prune the new one +at the same place. If cur was already inserted in a document it is +first unlinked from its existing context.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>old</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD ></TR ><TR ><TD @@ -7129,7 +7279,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the child node</TD +> </TD ></TR ><TR ><TD @@ -7144,7 +7294,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the child or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -7154,7 +7304,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4580" +NAME="AEN4649" ></A ><H3 ><A @@ -7185,12 +7335,247 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" ></TR ></TABLE ><P ->Add a new element to the list of siblings of <TT +>Add a new element <TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> to the list of siblings of <TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> +If the new element was already inserted in a document it is +first unlinked from its existing context.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4677" +></A +><H3 +><A +NAME="XMLADDPREVSIBLING" +></A +>xmlAddPrevSibling ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlAddPrevSibling (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem);</PRE +></TD +></TR +></TABLE +><P +>Add a new element <TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> as the previous siblings of <TT CLASS="PARAMETER" ><I >cur</I ></TT +> +If the new element was already inserted in a document it is +first unlinked from its existing context.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P ></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4705" +></A +><H3 +><A +NAME="XMLADDNEXTSIBLING" +></A +>xmlAddNextSibling ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlAddNextSibling (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem);</PRE +></TD +></TR +></TABLE +><P +>Add a new element <TT +CLASS="PARAMETER" +><I +>elem</I +></TT +> as the next siblings of <TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> +If the new element was already inserted in a document it is +first unlinked from its existing context.</P ><P ></P ><DIV @@ -7219,7 +7604,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the child node</TD +> </TD ></TR ><TR ><TD @@ -7236,7 +7621,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the new node</TD +> </TD ></TR ><TR ><TD @@ -7251,7 +7636,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the element or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -7261,7 +7646,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4607" +NAME="AEN4733" ></A ><H3 ><A @@ -7314,7 +7699,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ></TABLE ><P @@ -7324,7 +7709,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4623" +NAME="AEN4749" ></A ><H3 ><A @@ -7384,7 +7769,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first text node</TD +> </TD ></TR ><TR ><TD @@ -7401,7 +7786,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the second text node being merged</TD +> </TD ></TR ><TR ><TD @@ -7416,7 +7801,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the first text node augmented</TD +> </TD ></TR ></TABLE ><P @@ -7426,7 +7811,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4649" +NAME="AEN4775" ></A ><H3 ><A @@ -7484,7 +7869,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -7501,7 +7886,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the content</TD +> </TD ></TR ><TR ><TD @@ -7518,12 +7903,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> <TT -CLASS="PARAMETER" -><I ->content</I -></TT -> lenght</TD +> </TD ></TR ></TABLE ><P @@ -7533,7 +7913,7 @@ CLASS="PARAMETER" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4675" +NAME="AEN4800" ></A ><H3 ><A @@ -7587,7 +7967,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first node in the list</TD +> </TD ></TR ></TABLE ><P @@ -7597,7 +7977,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4691" +NAME="AEN4816" ></A ><H3 ><A @@ -7650,7 +8030,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ></TABLE ><P @@ -7660,7 +8040,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4707" +NAME="AEN4832" ></A ><H3 ><A @@ -7732,7 +8112,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -7749,7 +8129,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the current node</TD +> </TD ></TR ><TR ><TD @@ -7766,7 +8146,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the namespace string</TD +> </TD ></TR ><TR ><TD @@ -7781,7 +8161,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the namespace pointer or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -7791,7 +8171,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4739" +NAME="AEN4864" ></A ><H3 ><A @@ -7856,7 +8236,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -7873,7 +8253,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the current node</TD +> </TD ></TR ><TR ><TD @@ -7890,7 +8270,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the namespace value</TD +> </TD ></TR ><TR ><TD @@ -7905,7 +8285,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the namespace pointer or NULL.</TD +> </TD ></TR ></TABLE ><P @@ -7915,7 +8295,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4770" +NAME="AEN4895" ></A ><H3 ><A @@ -7975,7 +8355,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -7992,7 +8372,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the current node</TD +> </TD ></TR ><TR ><TD @@ -8007,9 +8387,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->an NULL terminated array of all the xmlNsPtr found -that need to be freed by the caller or NULL if no -namespace if defined</TD +> </TD ></TR ></TABLE ><P @@ -8019,7 +8397,7 @@ namespace if defined</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4796" +NAME="AEN4921" ></A ><H3 ><A @@ -8076,7 +8454,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a node in the document</TD +> </TD ></TR ><TR ><TD @@ -8093,7 +8471,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a namespace pointer</TD +> </TD ></TR ></TABLE ><P @@ -8103,7 +8481,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4817" +NAME="AEN4942" ></A ><H3 ><A @@ -8159,7 +8537,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the namespace</TD +> </TD ></TR ><TR ><TD @@ -8174,7 +8552,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlNsPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -8184,7 +8562,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4838" +NAME="AEN4963" ></A ><H3 ><A @@ -8240,7 +8618,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the first namespace</TD +> </TD ></TR ><TR ><TD @@ -8255,7 +8633,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a new xmlNsPtr, or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -8265,7 +8643,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4859" +NAME="AEN4984" ></A ><H3 ><A @@ -8329,7 +8707,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -8346,7 +8724,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute name</TD +> </TD ></TR ><TR ><TD @@ -8363,7 +8741,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute value</TD +> </TD ></TR ><TR ><TD @@ -8378,7 +8756,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the attribute pointer.</TD +> </TD ></TR ></TABLE ><P @@ -8388,7 +8766,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4890" +NAME="AEN5015" ></A ><H3 ><A @@ -8454,7 +8832,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -8471,7 +8849,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute name</TD +> </TD ></TR ><TR ><TD @@ -8486,8 +8864,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the attribute value or NULL if not found. -It's up to the caller to free the memory.</TD +> </TD ></TR ></TABLE ><P @@ -8497,7 +8874,7 @@ It's up to the caller to free the memory.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4917" +NAME="AEN5042" ></A ><H3 ><A @@ -8568,7 +8945,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node</TD +> </TD ></TR ><TR ><TD @@ -8585,7 +8962,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute name</TD +> </TD ></TR ><TR ><TD @@ -8602,7 +8979,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the URI of the namespace</TD +> </TD ></TR ><TR ><TD @@ -8617,8 +8994,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the attribute value or NULL if not found. -It's up to the caller to free the memory.</TD +> </TD ></TR ></TABLE ><P @@ -8628,7 +9004,7 @@ It's up to the caller to free the memory.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4949" +NAME="AEN5074" ></A ><H3 ><A @@ -8689,7 +9065,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -8706,7 +9082,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value of the attribute</TD +> </TD ></TR ><TR ><TD @@ -8721,7 +9097,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the first child</TD +> </TD ></TR ></TABLE ><P @@ -8731,7 +9107,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4975" +NAME="AEN5100" ></A ><H3 ><A @@ -8793,7 +9169,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -8810,7 +9186,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value of the text</TD +> </TD ></TR ><TR ><TD @@ -8827,7 +9203,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the length of the string value</TD +> </TD ></TR ><TR ><TD @@ -8842,7 +9218,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the first child</TD +> </TD ></TR ></TABLE ><P @@ -8852,7 +9228,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5005" +NAME="AEN5130" ></A ><H3 ><A @@ -8914,7 +9290,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -8931,7 +9307,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a Node list</TD +> </TD ></TR ><TR ><TD @@ -8948,7 +9324,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> should we replace entity contents or show their external form</TD +> </TD ></TR ><TR ><TD @@ -8963,7 +9339,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the string copy, the calller must free it.</TD +> </TD ></TR ></TABLE ><P @@ -8973,7 +9349,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5035" +NAME="AEN5160" ></A ><H3 ><A @@ -9030,7 +9406,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being modified</TD +> </TD ></TR ><TR ><TD @@ -9047,7 +9423,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the new value of the content</TD +> </TD ></TR ></TABLE ><P @@ -9057,7 +9433,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5056" +NAME="AEN5181" ></A ><H3 ><A @@ -9115,7 +9491,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being modified</TD +> </TD ></TR ><TR ><TD @@ -9132,7 +9508,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the new value of the content</TD +> </TD ></TR ><TR ><TD @@ -9149,12 +9525,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of <TT -CLASS="PARAMETER" -><I ->content</I -></TT -></TD +> </TD ></TR ></TABLE ><P @@ -9164,7 +9535,7 @@ CLASS="PARAMETER" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5082" +NAME="AEN5206" ></A ><H3 ><A @@ -9221,7 +9592,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being modified</TD +> </TD ></TR ><TR ><TD @@ -9238,7 +9609,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra content</TD +> </TD ></TR ></TABLE ><P @@ -9248,7 +9619,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5103" +NAME="AEN5227" ></A ><H3 ><A @@ -9306,7 +9677,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being modified</TD +> </TD ></TR ><TR ><TD @@ -9323,7 +9694,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra content</TD +> </TD ></TR ><TR ><TD @@ -9340,12 +9711,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of <TT -CLASS="PARAMETER" -><I ->content</I -></TT -></TD +> </TD ></TR ></TABLE ><P @@ -9355,7 +9721,7 @@ CLASS="PARAMETER" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5129" +NAME="AEN5252" ></A ><H3 ><A @@ -9414,7 +9780,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being read</TD +> </TD ></TR ><TR ><TD @@ -9429,8 +9795,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a new xmlChar * or NULL if no content is available. -It's up to the caller to free the memory.</TD +> </TD ></TR ></TABLE ><P @@ -9440,7 +9805,7 @@ It's up to the caller to free the memory.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5150" +NAME="AEN5273" ></A ><H3 ><A @@ -9497,7 +9862,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being checked</TD +> </TD ></TR ><TR ><TD @@ -9512,8 +9877,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the lang value, or NULL if not found -It's up to the caller to free the memory.</TD +> </TD ></TR ></TABLE ><P @@ -9523,7 +9887,7 @@ It's up to the caller to free the memory.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5171" +NAME="AEN5294" ></A ><H3 ><A @@ -9551,8 +9915,8 @@ HREF="gnome-xml-tree.html#XMLCHAR" ></TR ></TABLE ><P ->Searches the language of a node, i.e. the values of the xml:lang -attribute or the one carried by the nearest ancestor.</P +>Set the language of a node, i.e. the values of the xml:lang +attribute.</P ><P ></P ><DIV @@ -9581,7 +9945,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being changed</TD +> </TD ></TR ><TR ><TD @@ -9598,7 +9962,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the langage description</TD +> </TD ></TR ></TABLE ><P @@ -9608,7 +9972,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5192" +NAME="AEN5315" ></A ><H3 ><A @@ -9669,7 +10033,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document the node pertains to</TD +> </TD ></TR ><TR ><TD @@ -9686,7 +10050,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the node being checked</TD +> </TD ></TR ><TR ><TD @@ -9701,8 +10065,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the base URL, or NULL if not found -It's up to the caller to free the memory.</TD +> </TD ></TR ></TABLE ><P @@ -9712,7 +10075,7 @@ It's up to the caller to free the memory.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5218" +NAME="AEN5341" ></A ><H3 ><A @@ -9788,7 +10151,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5237" +NAME="AEN5360" ></A ><H3 ><A @@ -9864,7 +10227,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5256" +NAME="AEN5379" ></A ><H3 ><A @@ -9922,7 +10285,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer</TD +> </TD ></TR ><TR ><TD @@ -9939,7 +10302,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the string to add</TD +> </TD ></TR ></TABLE ><P @@ -9949,7 +10312,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5277" +NAME="AEN5400" ></A ><H3 ><A @@ -10004,7 +10367,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer output</TD +> </TD ></TR ><TR ><TD @@ -10021,7 +10384,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the string to add</TD +> </TD ></TR ></TABLE ><P @@ -10031,7 +10394,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5297" +NAME="AEN5420" ></A ><H3 ><A @@ -10090,7 +10453,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer output</TD +> </TD ></TR ><TR ><TD @@ -10107,7 +10470,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the string to add</TD +> </TD ></TR ></TABLE ><P @@ -10117,7 +10480,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5318" +NAME="AEN5441" ></A ><H3 ><A @@ -10176,7 +10539,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -10193,7 +10556,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> OUT: the memory pointer</TD +> </TD ></TR ><TR ><TD @@ -10210,7 +10573,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> OUT: the memory lenght</TD +> </TD ></TR ></TABLE ><P @@ -10220,7 +10583,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5343" +NAME="AEN5466" ></A ><H3 ><A @@ -10277,7 +10640,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the FILE*</TD +> </TD ></TR ><TR ><TD @@ -10294,7 +10657,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ></TABLE ><P @@ -10304,7 +10667,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5364" +NAME="AEN5487" ></A ><H3 ><A @@ -10365,7 +10728,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the filename</TD +> </TD ></TR ><TR ><TD @@ -10382,7 +10745,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -10397,7 +10760,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the number of file written or -1 in case of failure.</TD +> </TD ></TR ></TABLE ><P @@ -10407,7 +10770,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5389" +NAME="AEN5512" ></A ><H3 ><A @@ -10460,7 +10823,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -10475,7 +10838,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 (uncompressed) to 9 (max compression)</TD +> </TD ></TR ></TABLE ><P @@ -10485,7 +10848,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5409" +NAME="AEN5532" ></A ><H3 ><A @@ -10540,7 +10903,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -10557,7 +10920,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the compression ratio</TD +> </TD ></TR ></TABLE ><P @@ -10567,7 +10930,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5429" +NAME="AEN5552" ></A ><H3 ><A @@ -10615,7 +10978,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 (uncompressed) to 9 (max compression)</TD +> </TD ></TR ></TABLE ><P @@ -10625,7 +10988,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5444" +NAME="AEN5567" ></A ><H3 ><A @@ -10676,7 +11039,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the compression ratio</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-valid.html b/doc/html/gnome-xml-valid.html index 227f18da..902d2edc 100644 --- a/doc/html/gnome-xml-valid.html +++ b/doc/html/gnome-xml-valid.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN5894" +NAME="AEN6015" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN5894" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN5897" +NAME="AEN6018" ></A ><H2 >Synopsis</H2 @@ -809,7 +809,7 @@ HREF="gnome-xml-tree.html#XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6080" +NAME="AEN6201" ></A ><H2 >Description</H2 @@ -819,14 +819,14 @@ NAME="AEN6080" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6083" +NAME="AEN6204" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN6085" +NAME="AEN6206" ></A ><H3 ><A @@ -920,7 +920,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6107" +NAME="AEN6228" ></A ><H3 ><A @@ -1014,7 +1014,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6129" +NAME="AEN6250" ></A ><H3 ><A @@ -1030,7 +1030,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_NOTATION_TABLE 32</PRE +>#define XML_MIN_NOTATION_TABLE</PRE ></TD ></TR ></TABLE @@ -1040,33 +1040,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6134" +NAME="AEN6255" ></A ><H3 ><A NAME="XMLNOTATIONTABLEPTR" ></A >xmlNotationTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlNotationTable *xmlNotationTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6139" +NAME="AEN6259" ></A ><H3 ><A @@ -1082,7 +1069,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ELEMENT_TABLE 32</PRE +>#define XML_MIN_ELEMENT_TABLE</PRE ></TD ></TR ></TABLE @@ -1092,33 +1079,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6144" +NAME="AEN6264" ></A ><H3 ><A NAME="XMLELEMENTTABLEPTR" ></A >xmlElementTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlElementTable *xmlElementTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6149" +NAME="AEN6268" ></A ><H3 ><A @@ -1134,7 +1108,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ATTRIBUTE_TABLE 32</PRE +>#define XML_MIN_ATTRIBUTE_TABLE</PRE ></TD ></TR ></TABLE @@ -1144,33 +1118,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6154" +NAME="AEN6273" ></A ><H3 ><A NAME="XMLATTRIBUTETABLEPTR" ></A >xmlAttributeTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6159" +NAME="AEN6277" ></A ><H3 ><A @@ -1186,7 +1147,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ID_TABLE 32</PRE +>#define XML_MIN_ID_TABLE</PRE ></TD ></TR ></TABLE @@ -1196,33 +1157,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6164" +NAME="AEN6282" ></A ><H3 ><A NAME="XMLIDTABLEPTR" ></A >xmlIDTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlIDTable *xmlIDTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6169" +NAME="AEN6286" ></A ><H3 ><A @@ -1238,7 +1186,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_REF_TABLE 32</PRE +>#define XML_MIN_REF_TABLE</PRE ></TD ></TR ></TABLE @@ -1248,33 +1196,20 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6174" +NAME="AEN6291" ></A ><H3 ><A NAME="XMLREFTABLEPTR" ></A >xmlRefTablePtr</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->typedef xmlRefTable *xmlRefTablePtr;</PRE -></TD -></TR -></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6179" +NAME="AEN6295" ></A ><H3 ><A @@ -1346,7 +1281,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -1363,7 +1298,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the DTD</TD +> </TD ></TR ><TR ><TD @@ -1380,7 +1315,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -1397,7 +1332,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the public identifier or NULL</TD +> </TD ></TR ><TR ><TD @@ -1414,7 +1349,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the system identifier or NULL</TD +> </TD ></TR ><TR ><TD @@ -1429,7 +1364,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the entity</TD +> </TD ></TR ></TABLE ><P @@ -1439,7 +1374,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6220" +NAME="AEN6336" ></A ><H3 ><A @@ -1495,7 +1430,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> A notation table</TD +> </TD ></TR ><TR ><TD @@ -1510,7 +1445,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new xmlNotationTablePtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -1520,7 +1455,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6241" +NAME="AEN6357" ></A ><H3 ><A @@ -1573,7 +1508,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An notation table</TD +> </TD ></TR ></TABLE ><P @@ -1583,7 +1518,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6257" +NAME="AEN6373" ></A ><H3 ><A @@ -1640,7 +1575,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer output</TD +> </TD ></TR ><TR ><TD @@ -1657,7 +1592,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> A notation table</TD +> </TD ></TR ></TABLE ><P @@ -1667,7 +1602,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6278" +NAME="AEN6394" ></A ><H3 ><A @@ -1727,7 +1662,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the subelement name or NULL</TD +> </TD ></TR ><TR ><TD @@ -1744,7 +1679,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the type of element content decl</TD +> </TD ></TR ><TR ><TD @@ -1759,7 +1694,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the new element content structure</TD +> </TD ></TR ></TABLE ><P @@ -1769,7 +1704,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6304" +NAME="AEN6420" ></A ><H3 ><A @@ -1825,7 +1760,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An element content pointer.</TD +> </TD ></TR ><TR ><TD @@ -1840,7 +1775,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new xmlElementContentPtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -1850,7 +1785,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6325" +NAME="AEN6441" ></A ><H3 ><A @@ -1903,7 +1838,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element content tree to free</TD +> </TD ></TR ></TABLE ><P @@ -1913,7 +1848,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6341" +NAME="AEN6457" ></A ><H3 ><A @@ -1985,7 +1920,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -2002,7 +1937,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the DTD</TD +> </TD ></TR ><TR ><TD @@ -2019,7 +1954,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the entity name</TD +> </TD ></TR ><TR ><TD @@ -2036,7 +1971,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element type</TD +> </TD ></TR ><TR ><TD @@ -2053,7 +1988,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element content tree or NULL</TD +> </TD ></TR ><TR ><TD @@ -2068,7 +2003,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the entity</TD +> </TD ></TR ></TABLE ><P @@ -2078,7 +2013,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6382" +NAME="AEN6498" ></A ><H3 ><A @@ -2134,7 +2069,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An element table</TD +> </TD ></TR ><TR ><TD @@ -2149,7 +2084,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new xmlElementTablePtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -2159,7 +2094,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6403" +NAME="AEN6519" ></A ><H3 ><A @@ -2212,7 +2147,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An element table</TD +> </TD ></TR ></TABLE ><P @@ -2222,7 +2157,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6419" +NAME="AEN6535" ></A ><H3 ><A @@ -2279,7 +2214,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer output</TD +> </TD ></TR ><TR ><TD @@ -2296,7 +2231,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An element table</TD +> </TD ></TR ></TABLE ><P @@ -2306,7 +2241,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6440" +NAME="AEN6556" ></A ><H3 ><A @@ -2362,7 +2297,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the enumeration name or NULL</TD +> </TD ></TR ><TR ><TD @@ -2377,8 +2312,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlEnumerationPtr just created or NULL in case -of error.</TD +> </TD ></TR ></TABLE ><P @@ -2388,7 +2322,7 @@ of error.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6461" +NAME="AEN6577" ></A ><H3 ><A @@ -2441,7 +2375,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the tree to free.</TD +> </TD ></TR ></TABLE ><P @@ -2451,7 +2385,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6477" +NAME="AEN6593" ></A ><H3 ><A @@ -2507,7 +2441,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the tree to copy.</TD +> </TD ></TR ><TR ><TD @@ -2522,8 +2456,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlEnumerationPtr just created or NULL in case -of error.</TD +> </TD ></TR ></TABLE ><P @@ -2533,7 +2466,7 @@ of error.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6498" +NAME="AEN6614" ></A ><H3 ><A @@ -2617,7 +2550,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -2634,7 +2567,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the DTD</TD +> </TD ></TR ><TR ><TD @@ -2651,7 +2584,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element name</TD +> </TD ></TR ><TR ><TD @@ -2668,7 +2601,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute name</TD +> </TD ></TR ><TR ><TD @@ -2685,7 +2618,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute type</TD +> </TD ></TR ><TR ><TD @@ -2702,7 +2635,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute default type</TD +> </TD ></TR ><TR ><TD @@ -2719,7 +2652,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute default value</TD +> </TD ></TR ><TR ><TD @@ -2736,7 +2669,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> if it's an enumeration, the associated list</TD +> </TD ></TR ><TR ><TD @@ -2751,7 +2684,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the entity</TD +> </TD ></TR ></TABLE ><P @@ -2761,7 +2694,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6554" +NAME="AEN6670" ></A ><H3 ><A @@ -2817,7 +2750,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An attribute table</TD +> </TD ></TR ><TR ><TD @@ -2832,7 +2765,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the new xmlAttributeTablePtr or NULL in case of error.</TD +> </TD ></TR ></TABLE ><P @@ -2842,7 +2775,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6575" +NAME="AEN6691" ></A ><H3 ><A @@ -2895,7 +2828,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An attribute table</TD +> </TD ></TR ></TABLE ><P @@ -2905,7 +2838,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6591" +NAME="AEN6707" ></A ><H3 ><A @@ -2962,7 +2895,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML buffer output</TD +> </TD ></TR ><TR ><TD @@ -2979,7 +2912,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An attribute table</TD +> </TD ></TR ></TABLE ><P @@ -2989,7 +2922,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6612" +NAME="AEN6728" ></A ><H3 ><A @@ -3057,7 +2990,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -3074,7 +3007,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the document</TD +> </TD ></TR ><TR ><TD @@ -3091,7 +3024,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value name</TD +> </TD ></TR ><TR ><TD @@ -3108,7 +3041,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute holding the ID</TD +> </TD ></TR ><TR ><TD @@ -3123,7 +3056,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the new xmlIDPtr</TD +> </TD ></TR ></TABLE ><P @@ -3133,7 +3066,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6648" +NAME="AEN6764" ></A ><H3 ><A @@ -3212,7 +3145,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6668" +NAME="AEN6784" ></A ><H3 ><A @@ -3265,7 +3198,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An id table</TD +> </TD ></TR ></TABLE ><P @@ -3275,7 +3208,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6684" +NAME="AEN6800" ></A ><H3 ><A @@ -3335,7 +3268,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the document</TD +> </TD ></TR ><TR ><TD @@ -3352,7 +3285,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the ID value</TD +> </TD ></TR ><TR ><TD @@ -3367,7 +3300,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not found, otherwise the xmlAttrPtr defining the ID</TD +> </TD ></TR ></TABLE ><P @@ -3377,7 +3310,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6710" +NAME="AEN6826" ></A ><H3 ><A @@ -3440,7 +3373,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -3457,7 +3390,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element carrying the attribute</TD +> </TD ></TR ><TR ><TD @@ -3474,7 +3407,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute</TD +> </TD ></TR ><TR ><TD @@ -3489,7 +3422,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 or 1 depending on the lookup result</TD +> </TD ></TR ></TABLE ><P @@ -3499,7 +3432,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6740" +NAME="AEN6856" ></A ><H3 ><A @@ -3567,7 +3500,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -3584,7 +3517,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> pointer to the document</TD +> </TD ></TR ><TR ><TD @@ -3601,7 +3534,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the value name</TD +> </TD ></TR ><TR ><TD @@ -3618,7 +3551,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute holding the Ref</TD +> </TD ></TR ><TR ><TD @@ -3633,7 +3566,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->NULL if not, othervise the new xmlRefPtr</TD +> </TD ></TR ></TABLE ><P @@ -3643,7 +3576,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6776" +NAME="AEN6892" ></A ><H3 ><A @@ -3722,7 +3655,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6796" +NAME="AEN6912" ></A ><H3 ><A @@ -3775,7 +3708,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> An ref table</TD +> </TD ></TR ></TABLE ><P @@ -3785,7 +3718,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6812" +NAME="AEN6928" ></A ><H3 ><A @@ -3848,7 +3781,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -3865,7 +3798,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element carrying the attribute</TD +> </TD ></TR ><TR ><TD @@ -3882,7 +3815,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute</TD +> </TD ></TR ><TR ><TD @@ -3897,7 +3830,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 or 1 depending on the lookup result</TD +> </TD ></TR ></TABLE ><P @@ -3907,7 +3840,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6842" +NAME="AEN6958" ></A ><H3 ><A @@ -3968,7 +3901,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -3985,7 +3918,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4000,7 +3933,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4010,7 +3943,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6867" +NAME="AEN6983" ></A ><H3 ><A @@ -4076,7 +4009,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4093,7 +4026,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4110,7 +4043,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element definition</TD +> </TD ></TR ><TR ><TD @@ -4125,7 +4058,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4135,7 +4068,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6897" +NAME="AEN7013" ></A ><H3 ><A @@ -4203,7 +4136,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4220,7 +4153,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4237,7 +4170,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an attribute definition</TD +> </TD ></TR ><TR ><TD @@ -4252,7 +4185,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4262,7 +4195,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6928" +NAME="AEN7044" ></A ><H3 ><A @@ -4334,7 +4267,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an attribute type</TD +> </TD ></TR ><TR ><TD @@ -4351,7 +4284,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an attribute value</TD +> </TD ></TR ><TR ><TD @@ -4366,7 +4299,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4376,7 +4309,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6957" +NAME="AEN7073" ></A ><H3 ><A @@ -4441,7 +4374,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4458,7 +4391,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4475,7 +4408,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a notation definition</TD +> </TD ></TR ><TR ><TD @@ -4490,7 +4423,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4500,7 +4433,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6987" +NAME="AEN7103" ></A ><H3 ><A @@ -4563,7 +4496,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4580,7 +4513,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4597,7 +4530,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a dtd instance</TD +> </TD ></TR ><TR ><TD @@ -4612,7 +4545,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4622,7 +4555,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7018" +NAME="AEN7134" ></A ><H3 ><A @@ -4683,7 +4616,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4700,7 +4633,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4715,7 +4648,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4725,7 +4658,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7044" +NAME="AEN7160" ></A ><H3 ><A @@ -4786,7 +4719,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4803,7 +4736,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4820,7 +4753,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element instance</TD +> </TD ></TR ><TR ><TD @@ -4835,7 +4768,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4845,7 +4778,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7074" +NAME="AEN7190" ></A ><H3 ><A @@ -4916,7 +4849,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -4933,7 +4866,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -4950,7 +4883,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element instance</TD +> </TD ></TR ><TR ><TD @@ -4965,7 +4898,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -4975,7 +4908,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7106" +NAME="AEN7222" ></A ><H3 ><A @@ -5056,7 +4989,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -5073,7 +5006,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -5090,7 +5023,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element instance</TD +> </TD ></TR ><TR ><TD @@ -5107,7 +5040,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an attribute instance</TD +> </TD ></TR ><TR ><TD @@ -5124,7 +5057,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute value (without entities processing)</TD +> </TD ></TR ><TR ><TD @@ -5139,7 +5072,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -5149,7 +5082,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7147" +NAME="AEN7263" ></A ><H3 ><A @@ -5209,7 +5142,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -5226,7 +5159,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a document instance</TD +> </TD ></TR ><TR ><TD @@ -5241,7 +5174,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -5251,7 +5184,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7173" +NAME="AEN7289" ></A ><H3 ><A @@ -5313,7 +5246,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the validation context</TD +> </TD ></TR ><TR ><TD @@ -5330,7 +5263,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -5347,7 +5280,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the notation name to check</TD +> </TD ></TR ><TR ><TD @@ -5362,7 +5295,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->1 if valid or 0 otherwise</TD +> </TD ></TR ></TABLE ><P @@ -5372,7 +5305,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7203" +NAME="AEN7319" ></A ><H3 ><A @@ -5430,7 +5363,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the document</TD +> </TD ></TR ><TR ><TD @@ -5447,7 +5380,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element name</TD +> </TD ></TR ><TR ><TD @@ -5462,7 +5395,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 if no, 1 if yes, and -1 if no element description is available</TD +> </TD ></TR ></TABLE ><P @@ -5472,7 +5405,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7228" +NAME="AEN7344" ></A ><H3 ><A @@ -5537,7 +5470,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to the DtD to search</TD +> </TD ></TR ><TR ><TD @@ -5554,7 +5487,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element name</TD +> </TD ></TR ><TR ><TD @@ -5571,7 +5504,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the attribute name</TD +> </TD ></TR ><TR ><TD @@ -5586,7 +5519,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlAttributePtr if found or NULL</TD +> </TD ></TR ></TABLE ><P @@ -5596,7 +5529,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7259" +NAME="AEN7375" ></A ><H3 ><A @@ -5656,7 +5589,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to the DtD to search</TD +> </TD ></TR ><TR ><TD @@ -5673,7 +5606,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the notation name</TD +> </TD ></TR ><TR ><TD @@ -5688,7 +5621,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlNotationPtr if found or NULL</TD +> </TD ></TR ></TABLE ><P @@ -5698,7 +5631,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7285" +NAME="AEN7401" ></A ><H3 ><A @@ -5758,7 +5691,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to the DtD to search</TD +> </TD ></TR ><TR ><TD @@ -5775,7 +5708,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the element name</TD +> </TD ></TR ><TR ><TD @@ -5790,7 +5723,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlElementPtr if found or NULL</TD +> </TD ></TR ></TABLE ><P @@ -5800,7 +5733,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7311" +NAME="AEN7427" ></A ><H3 ><A @@ -5883,7 +5816,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element to insert after</TD +> </TD ></TR ><TR ><TD @@ -5900,7 +5833,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element to insert next</TD +> </TD ></TR ><TR ><TD @@ -5917,7 +5850,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an array to store the list of child names</TD +> </TD ></TR ><TR ><TD @@ -5934,7 +5867,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -5949,14 +5882,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of element in the list, or -1 in case of error. If -the function returns the value <TT -CLASS="PARAMETER" -><I ->max</I -></TT -> the caller is invited to grow the -receiving array and retry.</TD +> </TD ></TR ></TABLE ><P @@ -5966,7 +5892,7 @@ receiving array and retry.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7349" +NAME="AEN7464" ></A ><H3 ><A @@ -6025,7 +5951,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an element content tree</TD +> </TD ></TR ><TR ><TD @@ -6042,7 +5968,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an array to store the list of child names</TD +> </TD ></TR ><TR ><TD @@ -6059,7 +5985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a pointer to the number of element in the list</TD +> </TD ></TR ><TR ><TD @@ -6076,7 +6002,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the size of the array</TD +> </TD ></TR ><TR ><TD @@ -6091,7 +6017,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the number of element in the list, or -1 in case of error.</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xml-error.html b/doc/html/gnome-xml-xml-error.html index 23e1b56a..4ddcc942 100644 --- a/doc/html/gnome-xml-xml-error.html +++ b/doc/html/gnome-xml-xml-error.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7387" +NAME="AEN7502" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN7387" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7390" +NAME="AEN7505" ></A ><H2 >Synopsis</H2 @@ -138,10 +138,6 @@ CELLPADDING="6" CLASS="SYNOPSIS" > -#define <A -HREF="gnome-xml-sax.html#EXTERN" ->extern</A -> enum <A HREF="gnome-xml-xml-error.html#XMLPARSERERRORS" >xmlParserErrors</A @@ -191,7 +187,7 @@ HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7403" +NAME="AEN7517" ></A ><H2 >Description</H2 @@ -201,40 +197,14 @@ NAME="AEN7403" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7406" +NAME="AEN7520" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7408" -></A -><H3 -><A -NAME="EXTERN" -></A ->extern</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->#define extern</PRE -></TD -></TR -></TABLE -><P -></P -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN7413" +NAME="AEN7522" ></A ><H3 ><A @@ -371,7 +341,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7418" +NAME="AEN7527" ></A ><H3 ><A @@ -424,7 +394,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -441,7 +411,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the message to display/transmit</TD +> </TD ></TR ><TR ><TD @@ -458,7 +428,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra parameters for the message display</TD +> </TD ></TR ></TABLE ><P @@ -468,7 +438,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7441" +NAME="AEN7550" ></A ><H3 ><A @@ -521,7 +491,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -538,7 +508,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the message to display/transmit</TD +> </TD ></TR ><TR ><TD @@ -555,7 +525,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra parameters for the message display</TD +> </TD ></TR ></TABLE ><P @@ -565,7 +535,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7464" +NAME="AEN7573" ></A ><H3 ><A @@ -618,7 +588,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -635,7 +605,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the message to display/transmit</TD +> </TD ></TR ><TR ><TD @@ -652,7 +622,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra parameters for the message display</TD +> </TD ></TR ></TABLE ><P @@ -662,7 +632,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7487" +NAME="AEN7596" ></A ><H3 ><A @@ -715,7 +685,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XML parser context</TD +> </TD ></TR ><TR ><TD @@ -732,7 +702,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the message to display/transmit</TD +> </TD ></TR ><TR ><TD @@ -749,7 +719,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> extra parameters for the message display</TD +> </TD ></TR ></TABLE ><P @@ -759,7 +729,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7510" +NAME="AEN7619" ></A ><H3 ><A @@ -812,7 +782,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an xmlParserInputPtr input</TD +> </TD ></TR ></TABLE ><P @@ -822,7 +792,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7526" +NAME="AEN7635" ></A ><H3 ><A @@ -875,7 +845,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an xmlParserInputPtr input</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xmlmemory.html b/doc/html/gnome-xml-xmlmemory.html index cfc05180..d53d07be 100644 --- a/doc/html/gnome-xml-xmlmemory.html +++ b/doc/html/gnome-xml-xmlmemory.html @@ -103,7 +103,7 @@ ALIGN="right" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN11135" +NAME="AEN11271" ></A ><H2 >Name</H2 @@ -111,7 +111,7 @@ NAME="AEN11135" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN11138" +NAME="AEN11274" ></A ><H2 >Synopsis</H2 @@ -210,7 +210,7 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC" ><DIV CLASS="REFSECT1" ><A -NAME="AEN11159" +NAME="AEN11295" ></A ><H2 >Description</H2 @@ -220,14 +220,14 @@ NAME="AEN11159" ><DIV CLASS="REFSECT1" ><A -NAME="AEN11162" +NAME="AEN11298" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN11164" +NAME="AEN11300" ></A ><H3 ><A @@ -243,7 +243,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define NO_DEBUG_MEMORY</PRE +>#define NO_DEBUG_MEMORY</PRE ></TD ></TR ></TABLE @@ -253,7 +253,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11169" +NAME="AEN11305" ></A ><H3 ><A @@ -316,7 +316,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11185" +NAME="AEN11321" ></A ><H3 ><A @@ -382,7 +382,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11202" +NAME="AEN11338" ></A ><H3 ><A @@ -466,7 +466,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11223" +NAME="AEN11359" ></A ><H3 ><A @@ -534,7 +534,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new string or NULL if allocation error occured.</TD +> </TD ></TR ></TABLE ><P @@ -544,7 +544,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11243" +NAME="AEN11379" ></A ><H3 ><A @@ -592,7 +592,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->0 on success</TD +> </TD ></TR ></TABLE ><P @@ -602,7 +602,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11258" +NAME="AEN11394" ></A ><H3 ><A @@ -650,7 +650,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->an int representing the amount of memory allocated.</TD +> </TD ></TR ></TABLE ><P @@ -660,7 +660,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11273" +NAME="AEN11409" ></A ><H3 ><A @@ -688,7 +688,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11279" +NAME="AEN11415" ></A ><H3 ><A @@ -741,8 +741,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> a FILE descriptor used as the output file, if NULL, the result is - 8 written to the file .memorylist</TD +> </TD ></TR ></TABLE ><P @@ -752,7 +751,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11295" +NAME="AEN11431" ></A ><H3 ><A @@ -768,7 +767,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define DEBUG_MEMORY_LOCATION</PRE +>#define DEBUG_MEMORY_LOCATION</PRE ></TD ></TR ></TABLE @@ -778,7 +777,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11300" +NAME="AEN11436" ></A ><H3 ><A @@ -794,7 +793,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define DEBUG_MEMORY</PRE +>#define DEBUG_MEMORY</PRE ></TD ></TR ></TABLE @@ -804,7 +803,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11305" +NAME="AEN11441" ></A ><H3 ><A @@ -820,7 +819,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE +>#define MEM_LIST</PRE ></TD ></TR ></TABLE @@ -830,7 +829,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11310" +NAME="AEN11446" ></A ><H3 ><A @@ -885,7 +884,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an int specifying the size in byte to allocate.</TD +> </TD ></TR ><TR ><TD @@ -902,13 +901,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the file name or NULL - <TT -CLASS="PARAMETER" -><I ->file</I -></TT ->: the line number</TD +> </TD ></TR ><TR ><TD @@ -935,7 +928,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11335" +NAME="AEN11470" ></A ><H3 ><A @@ -991,7 +984,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the initial memory block pointer</TD +> </TD ></TR ><TR ><TD @@ -1008,7 +1001,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an int specifying the size in byte to allocate.</TD +> </TD ></TR ><TR ><TD @@ -1025,7 +1018,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the file name or NULL</TD +> the line number</TD ></TR ><TR ><TD @@ -1052,7 +1045,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN11363" +NAME="AEN11498" ></A ><H3 ><A @@ -1124,7 +1117,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the file name or NULL</TD +> the line number</TD ></TR ><TR ><TD @@ -1156,7 +1149,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->a pointer to the new string or NULL if allocation error occured.</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xpath.html b/doc/html/gnome-xml-xpath.html index 8bc0e8ca..7828661b 100644 --- a/doc/html/gnome-xml-xpath.html +++ b/doc/html/gnome-xml-xpath.html @@ -115,7 +115,7 @@ SIZE="3" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7987" +NAME="AEN8143" ></A ><H2 >Name</H2 @@ -123,7 +123,7 @@ NAME="AEN7987" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7990" +NAME="AEN8146" ></A ><H2 >Synopsis</H2 @@ -139,10 +139,6 @@ CLASS="SYNOPSIS" > #define <A -HREF="gnome-xml-sax.html#EXTERN" ->extern</A -> -#define <A HREF="gnome-xml-xpath.html#XPATH-UNDEFINED" >XPATH_UNDEFINED</A > @@ -263,7 +259,7 @@ HREF="XMLXPATHCONTEXTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8025" +NAME="AEN8180" ></A ><H2 >Description</H2 @@ -273,40 +269,14 @@ NAME="AEN8025" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8028" +NAME="AEN8183" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN8030" -></A -><H3 -><A -NAME="EXTERN" -></A ->extern</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->#define extern</PRE -></TD -></TR -></TABLE -><P -></P -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN8035" +NAME="AEN8185" ></A ><H3 ><A @@ -322,7 +292,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_UNDEFINED 0</PRE +>#define XPATH_UNDEFINED</PRE ></TD ></TR ></TABLE @@ -332,7 +302,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8040" +NAME="AEN8190" ></A ><H3 ><A @@ -348,7 +318,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_NODESET 1</PRE +>#define XPATH_NODESET</PRE ></TD ></TR ></TABLE @@ -358,7 +328,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8045" +NAME="AEN8195" ></A ><H3 ><A @@ -374,7 +344,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_BOOLEAN 2</PRE +>#define XPATH_BOOLEAN</PRE ></TD ></TR ></TABLE @@ -384,7 +354,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8050" +NAME="AEN8200" ></A ><H3 ><A @@ -400,7 +370,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_NUMBER 3</PRE +>#define XPATH_NUMBER</PRE ></TD ></TR ></TABLE @@ -410,7 +380,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8055" +NAME="AEN8205" ></A ><H3 ><A @@ -426,7 +396,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_STRING 4</PRE +>#define XPATH_STRING</PRE ></TD ></TR ></TABLE @@ -436,7 +406,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8060" +NAME="AEN8210" ></A ><H3 ><A @@ -452,7 +422,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_USERS 5</PRE +>#define XPATH_USERS</PRE ></TD ></TR ></TABLE @@ -462,7 +432,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8065" +NAME="AEN8215" ></A ><H3 ><A @@ -556,7 +526,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8088" +NAME="AEN8238" ></A ><H3 ><A @@ -635,7 +605,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8107" +NAME="AEN8257" ></A ><H3 ><A @@ -735,7 +705,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8132" +NAME="AEN8282" ></A ><H3 ><A @@ -814,7 +784,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8151" +NAME="AEN8301" ></A ><H3 ><A @@ -870,7 +840,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XML document</TD +> </TD ></TR ><TR ><TD @@ -885,7 +855,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlXPathContext just allocated.</TD +> </TD ></TR ></TABLE ><P @@ -895,7 +865,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8172" +NAME="AEN8322" ></A ><H3 ><A @@ -948,7 +918,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the context to free</TD +> </TD ></TR ></TABLE ><P @@ -958,7 +928,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8188" +NAME="AEN8338" ></A ><H3 ><A @@ -1018,7 +988,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XPath expression</TD +> </TD ></TR ><TR ><TD @@ -1035,7 +1005,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XPath context</TD +> </TD ></TR ><TR ><TD @@ -1050,8 +1020,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlXPathObjectPtr resulting from the eveluation or NULL. -the caller has to free the object.</TD +> </TD ></TR ></TABLE ><P @@ -1061,7 +1030,7 @@ the caller has to free the object.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8214" +NAME="AEN8364" ></A ><H3 ><A @@ -1114,7 +1083,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the object to free</TD +> </TD ></TR ></TABLE ><P @@ -1124,7 +1093,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8230" +NAME="AEN8380" ></A ><H3 ><A @@ -1184,7 +1153,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XPath expression</TD +> </TD ></TR ><TR ><TD @@ -1201,7 +1170,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the XPath context</TD +> </TD ></TR ><TR ><TD @@ -1216,8 +1185,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" ->the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/index.sgml b/doc/html/index.sgml index a61db260..f6058b6c 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -203,8 +203,13 @@ <ANCHOR id ="XMLDOCGETROOTELEMENT" href="gnome-xml/gnome-xml-tree.html#XMLDOCGETROOTELEMENT"> <ANCHOR id ="XMLGETLASTCHILD" href="gnome-xml/gnome-xml-tree.html#XMLGETLASTCHILD"> <ANCHOR id ="XMLNODEISTEXT" href="gnome-xml/gnome-xml-tree.html#XMLNODEISTEXT"> +<ANCHOR id ="XMLDOCSETROOTELEMENT" href="gnome-xml/gnome-xml-tree.html#XMLDOCSETROOTELEMENT"> +<ANCHOR id ="XMLNODESETNAME" href="gnome-xml/gnome-xml-tree.html#XMLNODESETNAME"> <ANCHOR id ="XMLADDCHILD" href="gnome-xml/gnome-xml-tree.html#XMLADDCHILD"> +<ANCHOR id ="XMLREPLACENODE" href="gnome-xml/gnome-xml-tree.html#XMLREPLACENODE"> <ANCHOR id ="XMLADDSIBLING" href="gnome-xml/gnome-xml-tree.html#XMLADDSIBLING"> +<ANCHOR id ="XMLADDPREVSIBLING" href="gnome-xml/gnome-xml-tree.html#XMLADDPREVSIBLING"> +<ANCHOR id ="XMLADDNEXTSIBLING" href="gnome-xml/gnome-xml-tree.html#XMLADDNEXTSIBLING"> <ANCHOR id ="XMLUNLINKNODE" href="gnome-xml/gnome-xml-tree.html#XMLUNLINKNODE"> <ANCHOR id ="XMLTEXTMERGE" href="gnome-xml/gnome-xml-tree.html#XMLTEXTMERGE"> <ANCHOR id ="XMLTEXTCONCAT" href="gnome-xml/gnome-xml-tree.html#XMLTEXTCONCAT"> @@ -324,7 +329,6 @@ <ANCHOR id ="XMLVALIDGETVALIDELEMENTS" href="gnome-xml/gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"> <ANCHOR id ="XMLVALIDGETPOTENTIALCHILDREN" href="gnome-xml/gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"> <ANCHOR id ="GNOME-XML-XML-ERROR" href="gnome-xml/gnome-xml-xml-error.html"> -<ANCHOR id ="EXTERN" href="gnome-xml/gnome-xml-xml-error.html#EXTERN"> <ANCHOR id ="XMLPARSERERRORS" href="gnome-xml/gnome-xml-xml-error.html#XMLPARSERERRORS"> <ANCHOR id ="XMLPARSERERROR" href="gnome-xml/gnome-xml-xml-error.html#XMLPARSERERROR"> <ANCHOR id ="XMLPARSERWARNING" href="gnome-xml/gnome-xml-xml-error.html#XMLPARSERWARNING"> @@ -333,7 +337,6 @@ <ANCHOR id ="XMLPARSERPRINTFILEINFO" href="gnome-xml/gnome-xml-xml-error.html#XMLPARSERPRINTFILEINFO"> <ANCHOR id ="XMLPARSERPRINTFILECONTEXT" href="gnome-xml/gnome-xml-xml-error.html#XMLPARSERPRINTFILECONTEXT"> <ANCHOR id ="GNOME-XML-HTMLPARSER" href="gnome-xml/gnome-xml-htmlparser.html"> -<ANCHOR id ="EXTERN" href="gnome-xml/gnome-xml-htmlparser.html#EXTERN"> <ANCHOR id ="HTMLPARSERCTXT" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSERCTXT"> <ANCHOR id ="HTMLPARSERCTXTPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR"> <ANCHOR id ="HTMLPARSERNODEINFO" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSERNODEINFO"> @@ -345,6 +348,8 @@ <ANCHOR id ="HTMLNODEPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLNODEPTR"> <ANCHOR id ="HTMLTAGLOOKUP" href="gnome-xml/gnome-xml-htmlparser.html#HTMLTAGLOOKUP"> <ANCHOR id ="HTMLENTITYLOOKUP" href="gnome-xml/gnome-xml-htmlparser.html#HTMLENTITYLOOKUP"> +<ANCHOR id ="HTMLISAUTOCLOSED" href="gnome-xml/gnome-xml-htmlparser.html#HTMLISAUTOCLOSED"> +<ANCHOR id ="HTMLAUTOCLOSETAG" href="gnome-xml/gnome-xml-htmlparser.html#HTMLAUTOCLOSETAG"> <ANCHOR id ="HTMLPARSEENTITYREF" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSEENTITYREF"> <ANCHOR id ="HTMLPARSECHARREF" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSECHARREF"> <ANCHOR id ="HTMLPARSEELEMENT" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSEELEMENT"> @@ -360,7 +365,6 @@ <ANCHOR id ="HTMLDOCDUMP" href="gnome-xml/gnome-xml-htmltree.html#HTMLDOCDUMP"> <ANCHOR id ="HTMLSAVEFILE" href="gnome-xml/gnome-xml-htmltree.html#HTMLSAVEFILE"> <ANCHOR id ="GNOME-XML-XPATH" href="gnome-xml/gnome-xml-xpath.html"> -<ANCHOR id ="EXTERN" href="gnome-xml/gnome-xml-xpath.html#EXTERN"> <ANCHOR id ="XPATH-UNDEFINED" href="gnome-xml/gnome-xml-xpath.html#XPATH-UNDEFINED"> <ANCHOR id ="XPATH-NODESET" href="gnome-xml/gnome-xml-xpath.html#XPATH-NODESET"> <ANCHOR id ="XPATH-BOOLEAN" href="gnome-xml/gnome-xml-xpath.html#XPATH-BOOLEAN"> @@ -377,7 +381,6 @@ <ANCHOR id ="XMLXPATHFREEOBJECT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFREEOBJECT"> <ANCHOR id ="XMLXPATHEVALEXPRESSION" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION"> <ANCHOR id ="GNOME-XML-NANOHTTP" href="gnome-xml/gnome-xml-nanohttp.html"> -<ANCHOR id ="EXTERN" href="gnome-xml/gnome-xml-nanohttp.html#EXTERN"> <ANCHOR id ="XMLNANOHTTPFETCH" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPFETCH"> <ANCHOR id ="XMLNANOHTTPMETHOD" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPMETHOD"> <ANCHOR id ="XMLNANOHTTPOPEN" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPOPEN"> @@ -496,7 +499,6 @@ <ANCHOR id ="XMLGETCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLGETCHARENCODINGHANDLER"> <ANCHOR id ="XMLFINDCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLFINDCHARENCODINGHANDLER"> <ANCHOR id ="GNOME-XML-DEBUGXML" href="gnome-xml/gnome-xml-debugxml.html"> -<ANCHOR id ="EXTERN" href="gnome-xml/gnome-xml-debugxml.html#EXTERN"> <ANCHOR id ="XMLDEBUGDUMPSTRING" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPSTRING"> <ANCHOR id ="XMLDEBUGDUMPATTR" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPATTR"> <ANCHOR id ="XMLDEBUGDUMPATTRLIST" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPATTRLIST"> diff --git a/doc/xml.html b/doc/xml.html index 819585e1..40d6e0c3 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -128,8 +128,17 @@ for really accurate description</h3> <ul> <li>working on HTML and XML links recognition layers, get in touch with me if you want to test those.</li> +</ul> + +<h3>1.8.2: Dec 21 1999</h3> +<ul> <li>I got another problem with includes and C++, I hope this issue is fixed for good this time</li> + <li>Added a few tree modification functions: xmlReplaceNode, + xmlAddPrevSibling, xmlAddNextSibling, xmlNodeSetName and + xmlDocSetRootElement</li> + <li>Tried to improve the HTML output with help from <a + href="mailto:clahey@umich.edu">Chris Lahey</a></li> </ul> <h3>1.8.1: Dec 18 1999</h3> @@ -420,7 +429,7 @@ beginning of the second attribute of the root element "EXAMPLE".</p> <p><strong>NOTE</strong>: XML allows <em>PI</em>s and <em>comments</em> to be present before the document root, so doc->root may point to an element which is not the document Root Element, a function -<code>xmlDocGetRootElement()</code> was added for this purpose. </p> +<code>xmlDocGetRootElement()</code> was added for this purpose.</p> <h3><a name="Modifying">Modifying the tree</a></h3> @@ -892,6 +901,6 @@ base under gnome-xml/example</p> <p><a href="mailto:Daniel.Veillard@w3.org">Daniel Veillard</a></p> -<p>$Id: xml.html,v 1.15 1999/12/18 15:32:46 veillard Exp $</p> +<p>$Id: xml.html,v 1.16 1997/01/04 02:49:42 veillard Exp $</p> </body> </html> diff --git a/include/libxml/HTMLparser.h b/include/libxml/HTMLparser.h index eed7924b..a90b217a 100644 --- a/include/libxml/HTMLparser.h +++ b/include/libxml/HTMLparser.h @@ -11,7 +11,7 @@ #include "parser.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif /* @@ -52,19 +52,31 @@ typedef struct htmlEntityDesc { /* * There is only few public functions. */ -htmlElemDescPtr htmlTagLookup(const xmlChar *tag); -htmlEntityDescPtr htmlEntityLookup(const xmlChar *name); +htmlElemDescPtr htmlTagLookup (const xmlChar *tag); +htmlEntityDescPtr htmlEntityLookup(const xmlChar *name); -htmlEntityDescPtr htmlParseEntityRef(htmlParserCtxtPtr ctxt, xmlChar **str); -int htmlParseCharRef(htmlParserCtxtPtr ctxt); -void htmlParseElement(htmlParserCtxtPtr ctxt); +int htmlIsAutoClosed(htmlDocPtr doc, + htmlNodePtr elem); +int htmlAutoCloseTag(htmlDocPtr doc, + const xmlChar *name, + htmlNodePtr elem); +htmlEntityDescPtr htmlParseEntityRef(htmlParserCtxtPtr ctxt, + xmlChar **str); +int htmlParseCharRef(htmlParserCtxtPtr ctxt); +void htmlParseElement(htmlParserCtxtPtr ctxt); -htmlDocPtr htmlSAXParseDoc(xmlChar *cur, const char *encoding, - htmlSAXHandlerPtr sax, void *userData); -htmlDocPtr htmlParseDoc(xmlChar *cur, const char *encoding); -htmlDocPtr htmlSAXParseFile(const char *filename, const char *encoding, - htmlSAXHandlerPtr sax, void *userData); -htmlDocPtr htmlParseFile(const char *filename, const char *encoding); +htmlDocPtr htmlSAXParseDoc (xmlChar *cur, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +htmlDocPtr htmlParseDoc (xmlChar *cur, + const char *encoding); +htmlDocPtr htmlSAXParseFile(const char *filename, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +htmlDocPtr htmlParseFile (const char *filename, + const char *encoding); #ifdef __cplusplus } diff --git a/include/libxml/debugXML.h b/include/libxml/debugXML.h index 5bec396f..9c77496e 100644 --- a/include/libxml/debugXML.h +++ b/include/libxml/debugXML.h @@ -10,7 +10,7 @@ #include "tree.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif extern void xmlDebugDumpString(FILE *output, const xmlChar *str); extern void xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth); diff --git a/include/libxml/nanohttp.h b/include/libxml/nanohttp.h index 7b2fd3d8..aeefe405 100644 --- a/include/libxml/nanohttp.h +++ b/include/libxml/nanohttp.h @@ -9,7 +9,7 @@ #ifndef __NANO_HTTP_H__ #define __NANO_HTTP_H__ #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif int xmlNanoHTTPFetch (const char *URL, const char *filename, diff --git a/include/libxml/tree.h b/include/libxml/tree.h index 9928089a..3a0285bc 100644 --- a/include/libxml/tree.h +++ b/include/libxml/tree.h @@ -427,10 +427,20 @@ int xmlNodeIsText (xmlNodePtr node); /* * Changing the structure */ +xmlNodePtr xmlDocSetRootElement (xmlDocPtr doc, + xmlNodePtr root); +void xmlNodeSetName (xmlNodePtr cur, + const xmlChar *name); xmlNodePtr xmlAddChild (xmlNodePtr parent, xmlNodePtr cur); +xmlNodePtr xmlReplaceNode (xmlNodePtr old, + xmlNodePtr cur); xmlNodePtr xmlAddSibling (xmlNodePtr cur, xmlNodePtr elem); +xmlNodePtr xmlAddPrevSibling (xmlNodePtr cur, + xmlNodePtr elem); +xmlNodePtr xmlAddNextSibling (xmlNodePtr cur, + xmlNodePtr elem); void xmlUnlinkNode (xmlNodePtr cur); xmlNodePtr xmlTextMerge (xmlNodePtr first, xmlNodePtr second); diff --git a/include/libxml/xmlmemory.h b/include/libxml/xmlmemory.h index d28b526c..5c1b4774 100644 --- a/include/libxml/xmlmemory.h +++ b/include/libxml/xmlmemory.h @@ -40,6 +40,9 @@ #define MEM_LIST /* keep a list of all the allocated memory blocks */ +#ifdef __cplusplus +extern "C" { +#endif int xmlInitMemory (void); void * xmlMalloc (int size); void * xmlRealloc (void *ptr, @@ -59,6 +62,9 @@ int xmlInitMemory (void); extern void * xmlMallocLoc(int size, const char *file, int line); extern void * xmlReallocLoc(void *ptr,int size, const char *file, int line); extern char * xmlMemStrdupLoc(const char *str, const char *file, int line); +#ifdef __cplusplus +} +#endif #endif /* DEBUG_MEMORY_LOCATION */ #endif /* ! NO_DEBUG_MEMORY */ diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h index 505fa845..149b0beb 100644 --- a/include/libxml/xpath.h +++ b/include/libxml/xpath.h @@ -15,7 +15,7 @@ #include "tree.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif typedef struct xmlXPathParserContext *xmlXPathParserContextPtr; @@ -9,7 +9,7 @@ #ifndef __NANO_HTTP_H__ #define __NANO_HTTP_H__ #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif int xmlNanoHTTPFetch (const char *URL, const char *filename, diff --git a/result/HTML/reg1.html b/result/HTML/reg1.html index 176d01f1..2cd9257f 100644 --- a/result/HTML/reg1.html +++ b/result/HTML/reg1.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><title>Regression test 1</title></head> <body> diff --git a/result/HTML/reg2.html b/result/HTML/reg2.html index fff29f44..4e4d59a5 100644 --- a/result/HTML/reg2.html +++ b/result/HTML/reg2.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><title>Regression test 2</title></head> <body> diff --git a/result/HTML/reg3.html b/result/HTML/reg3.html index f631634d..01cd943f 100644 --- a/result/HTML/reg3.html +++ b/result/HTML/reg3.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><title>Regression test 3</title></head> <body> diff --git a/result/HTML/reg4.html b/result/HTML/reg4.html index e17bca9a..0dcf3f03 100644 --- a/result/HTML/reg4.html +++ b/result/HTML/reg4.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><title>Regression test 4</title></head> <body> diff --git a/result/HTML/test3.html b/result/HTML/test3.html index 7f730c5f..ad979574 100644 --- a/result/HTML/test3.html +++ b/result/HTML/test3.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><base target="contents"></head> <a name="ProblemDomain.Package"><h2>Component Package diagram ProblemDomain</h2></a> diff --git a/result/HTML/wired.html b/result/HTML/wired.html index 05bc16d3..e8614509 100644 --- a/result/HTML/wired.html +++ b/result/HTML/wired.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <!-- Vignette StoryServer 4 Fri Oct 15 11:37:12 1999 --><html> <head><title>Top Stories News from Wired News</title></head> <body bgcolor="#FFFFFF" text="#000000" link="#333399" vlink="#660066" alink="#666699"> @@ -65,7 +65,7 @@ </option></select> <input TYPE="hidden" NAME="source" VALUE="2hb8bhc059"> </td></tr> -</form></table></td> +</form></table> <td valign="top" align="RIGHT"><a href="http://nsads.hotwired.com/event.ng/Type=click&ProfileID=5597&RunID=17167&AdID=22588&GroupID=1&FamilyID=3228&TagValues=8.25.159.171.172.174.179.180.181.182.183.196.197.199.208.241.389.412.436.2035.6749.6750.70367.78456.79630.81880&Redirect=http:%2F%2Fwww.hp.com%2Fgo%2Foriginal%20" TARGET="_top"><img src="http://static.wired.com/advertising/blipverts/hp_colorinkjet/hp_970c_120x60_6.gif" BORDER="1" height="60" width="120" alt="True to the Original"></a></td> </tr></table> <!-- WIRED NEWS header --><!-- CMD_HOST = scoop.hotwired.com --><a name="#"></a> @@ -100,7 +100,7 @@ <option value="http://www.hotbot.com/?SM=MC&DV=0&LG=any&RD=RG&DC=10&DE=2&_v=2&OPs=MDRTP&MT=">The Web -> HotBot</option> </select></td> <td><input type="SUBMIT" name="SUBMIT" value="SEARCH"></td> -</tr></form></table></td> +</tr></form></table> </tr> <!-- <TR> @@ -135,7 +135,7 @@ <input type="TEXT" name="from" size="10" value="enter email">  </form></td> <td valign="top" bgcolor="#99FF99"><input type="SUBMIT" name="SUBMIT" value="GO"></td> -</tr></table></td></tr> +</tr></table></tr> <tr><td bgcolor="#FF0000"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b><font size="1">STOCKS</font></b></font></td></tr> <tr><td bgcolor="#99FF99"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Get Quote:</font></td></tr> <tr><td bgcolor="#99FF99" marginwidth="0" marginheight="0"><form method="get" action="http://r.wired.com/r/10020/http://stocks.wired.com/stocks_quotes.asp"> @@ -215,7 +215,7 @@ </font> <br clear="all"> </p></td></tr> -</table></td></tr> +</table></tr> <!-- END B&N spot --><!-- BEGIN MAGAZINE SPOT --><tr><td bgcolor="#000000"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>WIRED MAGAZINE </b></font></td></tr> <tr><td bgcolor="#FFFF99" align="CENTER"><font face="verdana, arial, helvetica, sans-serif" size="1"> @@ -583,7 +583,7 @@ Contruction workers in Berlin opened an old wound in the German psyche this week <br> <br> <!-- SQL above --><!-- - - - - - - - - - - - - --> -</td> + </tr> <tr> <td valign="TOP" align="LEFT"> diff --git a/test/HTML/Down.html b/test/HTML/Down.html index 0f366479..92eca21b 100644 --- a/test/HTML/Down.html +++ b/test/HTML/Down.html @@ -1,5 +1,3 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>This service is temporary down</title> @@ -1578,12 +1578,85 @@ xmlNewChild(xmlNodePtr parent, xmlNsPtr ns, } /** + * xmlAddNextSibling: + * @cur: the child node + * @elem: the new node + * + * Add a new element @elem as the next siblings of @cur + * If the new element was already inserted in a document it is + * first unlinked from its existing context. + * + * Returns the new element or NULL in case of error. + */ +xmlNodePtr +xmlAddNextSibling(xmlNodePtr cur, xmlNodePtr elem) { + if (cur == NULL) { + fprintf(stderr, "xmlAddNextSibling : cur == NULL\n"); + return(NULL); + } + if (elem == NULL) { + fprintf(stderr, "xmlAddNextSibling : elem == NULL\n"); + return(NULL); + } + + xmlUnlinkNode(elem); + elem->doc = cur->doc; + elem->parent = cur->parent; + elem->next = cur; + elem->prev = cur->prev; + cur->prev = elem; + if (elem->prev != NULL) + elem->prev->next = elem; + if ((elem->parent != NULL) && (elem->parent->childs == cur)) + elem->parent->childs = elem; + return(elem); +} + +/** + * xmlAddPrevSibling: + * @cur: the child node + * @elem: the new node + * + * Add a new element @elem as the previous siblings of @cur + * If the new element was already inserted in a document it is + * first unlinked from its existing context. + * + * Returns the new element or NULL in case of error. + */ +xmlNodePtr +xmlAddPrevSibling(xmlNodePtr cur, xmlNodePtr elem) { + if (cur == NULL) { + fprintf(stderr, "xmlAddPrevSibling : cur == NULL\n"); + return(NULL); + } + if (elem == NULL) { + fprintf(stderr, "xmlAddPrevSibling : elem == NULL\n"); + return(NULL); + } + + xmlUnlinkNode(elem); + elem->doc = cur->doc; + elem->parent = cur->parent; + elem->prev = cur; + elem->next = cur->next; + cur->next = elem; + if (elem->next != NULL) + elem->next->prev = elem; + if ((elem->parent != NULL) && (elem->parent->last == cur)) + elem->parent->last = elem; + return(elem); +} + +/** * xmlAddSibling: * @cur: the child node * @elem: the new node * - * Add a new element to the list of siblings of @cur - * Returns the element or NULL in case of error. + * Add a new element @elem to the list of siblings of @cur + * If the new element was already inserted in a document it is + * first unlinked from its existing context. + * + * Returns the new element or NULL in case of error. */ xmlNodePtr xmlAddSibling(xmlNodePtr cur, xmlNodePtr elem) { @@ -1599,14 +1672,20 @@ xmlAddSibling(xmlNodePtr cur, xmlNodePtr elem) { return(NULL); } - if ((cur->doc != NULL) && (elem->doc != NULL) && - (cur->doc != elem->doc)) { - fprintf(stderr, - "xmlAddSibling: Elements moved to a different document\n"); + /* + * Constant time is we can rely on the ->parent->last to find + * the last sibling. + */ + if ((cur->parent != NULL) && + (cur->parent->childs != NULL) && + (cur->parent->last != NULL) && + (cur->parent->last->next == NULL)) { + cur = cur->parent->last; + } else { + while (cur->next != NULL) cur = cur->next; } - while (cur->next != NULL) cur = cur->next; - + xmlUnlinkNode(elem); if (elem->doc == NULL) elem->doc = cur->doc; /* the parent may not be linked to a doc ! */ @@ -1784,6 +1863,47 @@ xmlUnlinkNode(xmlNodePtr cur) { cur->parent = NULL; } +/** + * xmlReplaceNode: + * @old: the old node + * @cur: the node + * + * Unlink the old node from it's current context, prune the new one + * at the same place. If cur was already inserted in a document it is + * first unlinked from its existing context. + * + * Returns the old node + */ +xmlNodePtr +xmlReplaceNode(xmlNodePtr old, xmlNodePtr cur) { + if (old == NULL) { + fprintf(stderr, "xmlReplaceNode : old == NULL\n"); + return(NULL); + } + if (cur == NULL) { + xmlUnlinkNode(old); + return(old); + } + xmlUnlinkNode(cur); + cur->doc = old->doc; + cur->parent = old->parent; + cur->next = old->next; + if (cur->next != NULL) + cur->next->prev = cur; + cur->prev = old->prev; + if (cur->prev != NULL) + cur->prev->next = cur; + if (cur->parent != NULL) { + if (cur->parent->childs == old) + cur->parent->childs = cur; + if (cur->parent->last == old) + cur->parent->last = cur; + } + old->next = old->prev = NULL; + old->parent = NULL; + return(old); +} + /************************************************************************ * * * Copy operations * @@ -2180,16 +2300,66 @@ xmlDocGetRootElement(xmlDocPtr doc) { } /** + * xmlDocSetRootElement: + * @doc: the document + * @root: the new document root element + * + * Set the root element of the document (doc->root is a list + * containing possibly comments, PIs, etc ...). + * + * Returns the old root element if any was found + */ +xmlNodePtr +xmlDocSetRootElement(xmlDocPtr doc, xmlNodePtr root) { + xmlNodePtr old = NULL; + + if (doc == NULL) return(NULL); + old = doc->root; + while (old != NULL) { + if (old->type == XML_ELEMENT_NODE) + break; + old = old->next; + } + if (old == NULL) { + if (doc->root == NULL) { + doc->root = root; + } else { + xmlAddSibling(doc->root, root); + } + } else { + xmlReplaceNode(old, root); + } + return(old); +} + +/** * xmlNodeSetLang: * @cur: the node being changed * @lang: the langage description * - * Searches the language of a node, i.e. the values of the xml:lang - * attribute or the one carried by the nearest ancestor. + * Set the language of a node, i.e. the values of the xml:lang + * attribute. */ void xmlNodeSetLang(xmlNodePtr cur, const xmlChar *lang) { - /* TODO xmlNodeSetLang check against the production [33] LanguageID */ + if (cur == NULL) return; + switch(cur->type) { + case XML_TEXT_NODE: + case XML_CDATA_SECTION_NODE: + case XML_COMMENT_NODE: + case XML_DOCUMENT_NODE: + case XML_DOCUMENT_TYPE_NODE: + case XML_DOCUMENT_FRAG_NODE: + case XML_NOTATION_NODE: + case XML_HTML_DOCUMENT_NODE: + return; + case XML_ELEMENT_NODE: + case XML_ATTRIBUTE_NODE: + case XML_PI_NODE: + case XML_ENTITY_REF_NODE: + case XML_ENTITY_NODE: + break; + } xmlSetProp(cur, BAD_CAST "xml:lang", lang); } @@ -2217,6 +2387,39 @@ xmlNodeGetLang(xmlNodePtr cur) { } /** + * xmlNodeSetName: + * @cur: the node being changed + * @name: the new tag name + * + * Searches the language of a node, i.e. the values of the xml:lang + * attribute or the one carried by the nearest ancestor. + */ +void +xmlNodeSetName(xmlNodePtr cur, const xmlChar *name) { + if (cur == NULL) return; + if (name == NULL) return; + switch(cur->type) { + case XML_TEXT_NODE: + case XML_CDATA_SECTION_NODE: + case XML_COMMENT_NODE: + case XML_DOCUMENT_NODE: + case XML_DOCUMENT_TYPE_NODE: + case XML_DOCUMENT_FRAG_NODE: + case XML_NOTATION_NODE: + case XML_HTML_DOCUMENT_NODE: + return; + case XML_ELEMENT_NODE: + case XML_ATTRIBUTE_NODE: + case XML_PI_NODE: + case XML_ENTITY_REF_NODE: + case XML_ENTITY_NODE: + break; + } + if (cur->name != NULL) xmlFree((xmlChar *) cur->name); + cur->name = xmlStrdup(name); +} + +/** * xmlNodeGetBase: * @doc: the document the node pertains to * @cur: the node being checked @@ -2787,8 +2990,17 @@ xmlGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *namespace) { if (namespace == NULL) return(xmlGetProp(node, name)); while (prop != NULL) { + /* + * One need to have + * - same attribute names + * - and the attribute carrying that namespace + * or + * no namespace on the attribute and the element carrying it + */ if ((!xmlStrcmp(prop->name, name)) && - (prop->ns != NULL) && (!xmlStrcmp(prop->ns->href, namespace))) { + (((prop->ns == NULL) && (node->ns != NULL) && + (!xmlStrcmp(node->ns->href, namespace))) || + (prop->ns != NULL) && (!xmlStrcmp(prop->ns->href, namespace)))) { xmlChar *ret; ret = xmlNodeListGetString(node->doc, prop->val, 1); @@ -427,10 +427,20 @@ int xmlNodeIsText (xmlNodePtr node); /* * Changing the structure */ +xmlNodePtr xmlDocSetRootElement (xmlDocPtr doc, + xmlNodePtr root); +void xmlNodeSetName (xmlNodePtr cur, + const xmlChar *name); xmlNodePtr xmlAddChild (xmlNodePtr parent, xmlNodePtr cur); +xmlNodePtr xmlReplaceNode (xmlNodePtr old, + xmlNodePtr cur); xmlNodePtr xmlAddSibling (xmlNodePtr cur, xmlNodePtr elem); +xmlNodePtr xmlAddPrevSibling (xmlNodePtr cur, + xmlNodePtr elem); +xmlNodePtr xmlAddNextSibling (xmlNodePtr cur, + xmlNodePtr elem); void xmlUnlinkNode (xmlNodePtr cur); xmlNodePtr xmlTextMerge (xmlNodePtr first, xmlNodePtr second); diff --git a/xml-error.h b/xml-error.h index 169166fd..d7e09f47 100644 --- a/xml-error.h +++ b/xml-error.h @@ -3,7 +3,7 @@ #include "parser.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif typedef enum { diff --git a/xmlmemory.h b/xmlmemory.h index d28b526c..5c1b4774 100644 --- a/xmlmemory.h +++ b/xmlmemory.h @@ -40,6 +40,9 @@ #define MEM_LIST /* keep a list of all the allocated memory blocks */ +#ifdef __cplusplus +extern "C" { +#endif int xmlInitMemory (void); void * xmlMalloc (int size); void * xmlRealloc (void *ptr, @@ -59,6 +62,9 @@ int xmlInitMemory (void); extern void * xmlMallocLoc(int size, const char *file, int line); extern void * xmlReallocLoc(void *ptr,int size, const char *file, int line); extern char * xmlMemStrdupLoc(const char *str, const char *file, int line); +#ifdef __cplusplus +} +#endif #endif /* DEBUG_MEMORY_LOCATION */ #endif /* ! NO_DEBUG_MEMORY */ @@ -15,7 +15,7 @@ #include "tree.h" #ifdef __cplusplus -#define extern "C" { +extern "C" { #endif typedef struct xmlXPathParserContext *xmlXPathParserContextPtr; |