diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/html/book1.html | 9 | ||||
-rw-r--r-- | doc/html/gnome-xml-entities.html | 279 | ||||
-rw-r--r-- | doc/html/gnome-xml-htmlparser.html | 1064 | ||||
-rw-r--r-- | doc/html/gnome-xml-htmltree.html | 54 | ||||
-rw-r--r-- | doc/html/gnome-xml-nanohttp.html | 80 | ||||
-rw-r--r-- | doc/html/gnome-xml-parserinternals.html | 524 | ||||
-rw-r--r-- | doc/html/gnome-xml-tree.html | 3279 | ||||
-rw-r--r-- | doc/html/gnome-xml-valid.html | 1156 | ||||
-rw-r--r-- | doc/html/gnome-xml-xml-error.html | 62 | ||||
-rw-r--r-- | doc/html/gnome-xml-xmlmemory.html | 182 | ||||
-rw-r--r-- | doc/html/gnome-xml-xpath.html | 1026 | ||||
-rw-r--r-- | doc/html/index.sgml | 108 |
13 files changed, 6463 insertions, 1364 deletions
@@ -1,3 +1,7 @@ +Wed Jan 5 17:29:17 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org> + + * doc/* : rebuild the docs + Wed Jan 5 17:08:43 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org> * acconfig.h: readline and history patch diff --git a/doc/html/book1.html b/doc/html/book1.html index 13265f03..1e53fbc0 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -4,16 +4,13 @@ >Gnome XML Library Reference Manual</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="NEXT" TITLE="Libxml Programming Notes" HREF="libxml-notes.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="BOOK" ><DIV @@ -49,14 +46,14 @@ CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P -CLASS="ADDRESS" +CLASS="LITERALLAYOUT" > Daniel.Veillard@w3.org<br> </P ></DIV ></DIV ><P CLASS="COPYRIGHT" ->Copyright © 1999 by <SPAN +>Copyright © 1999 by <SPAN CLASS="HOLDER" >Daniel Veillard</SPAN ></P diff --git a/doc/html/gnome-xml-entities.html b/doc/html/gnome-xml-entities.html index f57476c6..4b8005cb 100644 --- a/doc/html/gnome-xml-entities.html +++ b/doc/html/gnome-xml-entities.html @@ -4,7 +4,7 @@ >entities</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-valid.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-ENTITIES" ->entities</A -></H1 +>entities</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN5124" +NAME="AEN5846" ></A ><H2 >Name</H2 ->entities -- </DIV +>entities — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN5127" +NAME="AEN5849" ></A ><H2 >Synopsis</H2 @@ -168,6 +162,10 @@ HREF="gnome-xml-entities.html#XML-EXTERNAL-PARAMETER-ENTITY" HREF="gnome-xml-entities.html#XML-INTERNAL-PREDEFINED-ENTITY" >XML_INTERNAL_PREDEFINED_ENTITY</A > +struct <A +HREF="gnome-xml-entities.html#XMLENTITY" +>xmlEntity</A +>; typedef <A HREF="gnome-xml-entities.html#XMLENTITYPTR" >xmlEntityPtr</A @@ -176,6 +174,10 @@ HREF="gnome-xml-entities.html#XMLENTITYPTR" HREF="gnome-xml-entities.html#XML-MIN-ENTITIES-TABLE" >XML_MIN_ENTITIES_TABLE</A > +struct <A +HREF="gnome-xml-entities.html#XMLENTITIESTABLE" +>xmlEntitiesTable</A +>; typedef <A HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR" >xmlEntitiesTablePtr</A @@ -342,7 +344,11 @@ HREF="gnome-xml-tree.html#XMLBUFFERPTR" <A HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR" >xmlEntitiesTablePtr</A -> table);</PRE +> table); +void <A +HREF="gnome-xml-entities.html#XMLCLEANUPPREDEFINEDENTITIES" +>xmlCleanupPredefinedEntities</A +> (void);</PRE ></TD ></TR ></TABLE @@ -350,7 +356,7 @@ HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5184" +NAME="AEN5909" ></A ><H2 >Description</H2 @@ -360,14 +366,14 @@ NAME="AEN5184" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5187" +NAME="AEN5912" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN5189" +NAME="AEN5914" ></A ><H3 ><A @@ -383,7 +389,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_GENERAL_ENTITY</PRE +>#define XML_INTERNAL_GENERAL_ENTITY 1</PRE ></TD ></TR ></TABLE @@ -393,7 +399,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5194" +NAME="AEN5919" ></A ><H3 ><A @@ -409,7 +415,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_GENERAL_PARSED_ENTITY</PRE +>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2</PRE ></TD ></TR ></TABLE @@ -419,7 +425,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5199" +NAME="AEN5924" ></A ><H3 ><A @@ -435,7 +441,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</PRE +>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3</PRE ></TD ></TR ></TABLE @@ -445,7 +451,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5204" +NAME="AEN5929" ></A ><H3 ><A @@ -461,7 +467,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_PARAMETER_ENTITY</PRE +>#define XML_INTERNAL_PARAMETER_ENTITY 4</PRE ></TD ></TR ></TABLE @@ -471,7 +477,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5209" +NAME="AEN5934" ></A ><H3 ><A @@ -487,7 +493,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_EXTERNAL_PARAMETER_ENTITY</PRE +>#define XML_EXTERNAL_PARAMETER_ENTITY 5</PRE ></TD ></TR ></TABLE @@ -497,7 +503,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5214" +NAME="AEN5939" ></A ><H3 ><A @@ -513,7 +519,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_INTERNAL_PREDEFINED_ENTITY</PRE +>#define XML_INTERNAL_PREDEFINED_ENTITY 6</PRE ></TD ></TR ></TABLE @@ -523,20 +529,68 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5219" +NAME="AEN5944" +></A +><H3 +><A +NAME="XMLENTITY" +></A +>struct xmlEntity</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlEntity { + int type; /* The entity type */ + int len; /* The lenght of the name */ + const xmlChar *name; /* Name of the entity */ + const xmlChar *ExternalID; /* External identifier for PUBLIC Entity */ + const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ + xmlChar *content; /* The entity content or ndata if unparsed */ + int length; /* the content length */ + xmlChar *orig; /* The entity cont without ref substitution */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN5949" ></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="AEN5223" +NAME="AEN5954" ></A ><H3 ><A @@ -552,7 +606,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ENTITIES_TABLE</PRE +>#define XML_MIN_ENTITIES_TABLE 32</PRE ></TD ></TR ></TABLE @@ -562,20 +616,63 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5228" +NAME="AEN5959" +></A +><H3 +><A +NAME="XMLENTITIESTABLE" +></A +>struct xmlEntitiesTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlEntitiesTable { + int nb_entities; /* number of elements stored */ + int max_entities; /* maximum number of elements */ + xmlEntityPtr table; /* the table of entities */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN5964" ></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="AEN5232" +NAME="AEN5969" ></A ><H3 ><A @@ -645,7 +742,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -662,7 +759,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -679,7 +776,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity type XML_xxx_yyy_ENTITY</TD ></TR ><TR ><TD @@ -696,7 +793,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity external ID if available</TD ></TR ><TR ><TD @@ -713,7 +810,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity system ID if available</TD ></TR ><TR ><TD @@ -730,7 +827,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity content</TD ></TR ></TABLE ><P @@ -740,7 +837,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5272" +NAME="AEN6009" ></A ><H3 ><A @@ -810,7 +907,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -827,7 +924,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -844,7 +941,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity type XML_xxx_yyy_ENTITY</TD ></TR ><TR ><TD @@ -861,7 +958,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity external ID if available</TD ></TR ><TR ><TD @@ -878,7 +975,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity system ID if available</TD ></TR ><TR ><TD @@ -895,7 +992,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity content</TD ></TR ></TABLE ><P @@ -905,7 +1002,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5312" +NAME="AEN6049" ></A ><H3 ><A @@ -961,7 +1058,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -976,7 +1073,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the entity</TD ></TR ></TABLE ><P @@ -986,7 +1083,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5333" +NAME="AEN6070" ></A ><H3 ><A @@ -1048,7 +1145,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document referencing the entity</TD ></TR ><TR ><TD @@ -1065,7 +1162,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -1080,7 +1177,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A pointer to the entity structure or NULL if not found.</TD ></TR ></TABLE ><P @@ -1090,7 +1187,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5359" +NAME="AEN6096" ></A ><H3 ><A @@ -1151,7 +1248,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document referencing the entity</TD ></TR ><TR ><TD @@ -1168,7 +1265,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -1183,7 +1280,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A pointer to the entity structure or NULL if not found.</TD ></TR ></TABLE ><P @@ -1193,7 +1290,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5385" +NAME="AEN6122" ></A ><H3 ><A @@ -1254,7 +1351,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document referencing the entity</TD ></TR ><TR ><TD @@ -1271,7 +1368,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -1286,7 +1383,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A pointer to the entity structure or NULL if not found.</TD ></TR ></TABLE ><P @@ -1296,7 +1393,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5411" +NAME="AEN6148" ></A ><H3 ><A @@ -1363,7 +1460,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document containing the string</TD ></TR ><TR ><TD @@ -1380,7 +1477,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> A string to convert to XML.</TD ></TR ><TR ><TD @@ -1395,7 +1492,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A newly allocated string with the substitution done.</TD ></TR ></TABLE ><P @@ -1405,7 +1502,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5439" +NAME="AEN6176" ></A ><H3 ><A @@ -1471,7 +1568,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document containing the string</TD ></TR ><TR ><TD @@ -1488,7 +1585,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> A string to convert to XML.</TD ></TR ><TR ><TD @@ -1503,7 +1600,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A newly allocated string with the substitution done.</TD ></TR ></TABLE ><P @@ -1513,7 +1610,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5466" +NAME="AEN6203" ></A ><H3 ><A @@ -1564,7 +1661,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlEntitiesTablePtr just created or NULL in case of error.</TD ></TR ></TABLE ><P @@ -1574,7 +1671,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5482" +NAME="AEN6219" ></A ><H3 ><A @@ -1630,7 +1727,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An entity table</TD ></TR ><TR ><TD @@ -1645,7 +1742,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new xmlEntitiesTablePtr or NULL in case of error.</TD ></TR ></TABLE ><P @@ -1655,7 +1752,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5503" +NAME="AEN6240" ></A ><H3 ><A @@ -1708,7 +1805,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An entity table</TD ></TR ></TABLE ><P @@ -1718,7 +1815,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5519" +NAME="AEN6256" ></A ><H3 ><A @@ -1775,7 +1872,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An XML buffer.</TD ></TR ><TR ><TD @@ -1792,13 +1889,41 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An entity table</TD ></TR ></TABLE ><P ></P ></DIV ></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6277" +></A +><H3 +><A +NAME="XMLCLEANUPPREDEFINEDENTITIES" +></A +>xmlCleanupPredefinedEntities ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlCleanupPredefinedEntities (void);</PRE +></TD +></TR +></TABLE +><P +>Cleanup up the predefined entities table.</P +><P +></P +></DIV ></DIV ><DIV CLASS="NAVFOOTER" diff --git a/doc/html/gnome-xml-htmlparser.html b/doc/html/gnome-xml-htmlparser.html index 0f68966b..d783d2d7 100644 --- a/doc/html/gnome-xml-htmlparser.html +++ b/doc/html/gnome-xml-htmlparser.html @@ -4,7 +4,7 @@ >HTMLparser</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-htmltree.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-HTMLPARSER" ->HTMLparser</A -></H1 +>HTMLparser</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7186" +NAME="AEN8033" ></A ><H2 >Name</H2 ->HTMLparser -- </DIV +>HTMLparser — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7189" +NAME="AEN8036" ></A ><H2 >Synopsis</H2 @@ -180,9 +174,25 @@ typedef <A HREF="gnome-xml-htmlparser.html#HTMLNODEPTR" >htmlNodePtr</A >; -<GTKDOCLINK -HREF="HTMLELEMDESCPTR" ->htmlElemDescPtr</GTKDOCLINK +struct <A +HREF="gnome-xml-htmlparser.html#HTMLELEMDESC" +>htmlElemDesc</A +>; +typedef <A +HREF="gnome-xml-htmlparser.html#HTMLELEMDESCPTR" +>htmlElemDescPtr</A +>; +struct <A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESC" +>htmlEntityDesc</A +>; +typedef <A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESCPTR" +>htmlEntityDescPtr</A +>; +<A +HREF="gnome-xml-htmlparser.html#HTMLELEMDESCPTR" +>htmlElemDescPtr</A > <A HREF="gnome-xml-htmlparser.html#HTMLTAGLOOKUP" >htmlTagLookup</A @@ -190,9 +200,9 @@ HREF="gnome-xml-htmlparser.html#HTMLTAGLOOKUP" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *tag); -<GTKDOCLINK -HREF="HTMLENTITYDESCPTR" ->htmlEntityDescPtr</GTKDOCLINK +<A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESCPTR" +>htmlEntityDescPtr</A > <A HREF="gnome-xml-htmlparser.html#HTMLENTITYLOOKUP" >htmlEntityLookup</A @@ -200,9 +210,35 @@ HREF="gnome-xml-htmlparser.html#HTMLENTITYLOOKUP" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *name); -<GTKDOCLINK -HREF="HTMLENTITYDESCPTR" ->htmlEntityDescPtr</GTKDOCLINK +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); +<A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESCPTR" +>htmlEntityDescPtr</A > <A HREF="gnome-xml-htmlparser.html#HTMLPARSEENTITYREF" >htmlParseEntityRef</A @@ -275,7 +311,42 @@ HREF="gnome-xml-htmlparser.html#HTMLDOCPTR" HREF="gnome-xml-htmlparser.html#HTMLPARSEFILE" >htmlParseFile</A > (const char *filename, - const char *encoding);</PRE + const char *encoding); +void <A +HREF="gnome-xml-htmlparser.html#HTMLFREEPARSERCTXT" +>htmlFreeParserCtxt</A +> (<A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> ctxt); +<A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> <A +HREF="gnome-xml-htmlparser.html#HTMLCREATEPUSHPARSERCTXT" +>htmlCreatePushParserCtxt</A +> (<A +HREF="gnome-xml-htmlparser.html#HTMLSAXHANDLERPTR" +>htmlSAXHandlerPtr</A +> sax, + void *user_data, + const char *chunk, + int size, + const char *filename, + <A +HREF="gnome-xml-encoding.html#XMLCHARENCODING" +>xmlCharEncoding</A +> enc); +int <A +HREF="gnome-xml-htmlparser.html#HTMLPARSECHUNK" +>htmlParseChunk</A +> (<A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> ctxt, + const char *chunk, + int size, + int terminate);</PRE ></TD ></TR ></TABLE @@ -283,7 +354,7 @@ HREF="gnome-xml-htmlparser.html#HTMLPARSEFILE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7227" +NAME="AEN8093" ></A ><H2 >Description</H2 @@ -293,131 +364,364 @@ NAME="AEN7227" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7230" +NAME="AEN8096" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7232" +NAME="AEN8098" ></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="AEN7236" +NAME="AEN8103" ></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="AEN7240" +NAME="AEN8108" ></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="AEN7244" +NAME="AEN8113" ></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="AEN7248" +NAME="AEN8118" ></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="AEN7252" +NAME="AEN8123" ></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="AEN7256" +NAME="AEN8128" ></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="AEN7260" +NAME="AEN8133" ></A ><H3 ><A NAME="HTMLDOCPTR" ></A >htmlDocPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlDocPtr htmlDocPtr;</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7264" +NAME="AEN8138" ></A ><H3 ><A NAME="HTMLNODEPTR" ></A >htmlNodePtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlNodePtr htmlNodePtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8143" +></A +><H3 +><A +NAME="HTMLELEMDESC" +></A +>struct htmlElemDesc</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct htmlElemDesc { + const char *name; /* The tag name */ + int startTag; /* Whether the start tag can be implied */ + int endTag; /* Whether the end tag can be implied */ + int empty; /* Is this an empty element ? */ + int depr; /* Is this a deprecated element ? */ + int dtd; /* 1: only in Loose DTD, 2: only Frameset one */ + const char *desc; /* the description */ +};</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7268" +NAME="AEN8148" +></A +><H3 +><A +NAME="HTMLELEMDESCPTR" +></A +>htmlElemDescPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef htmlElemDesc *htmlElemDescPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8153" +></A +><H3 +><A +NAME="HTMLENTITYDESC" +></A +>struct htmlEntityDesc</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct htmlEntityDesc { + int value; /* the UNICODE value for the character */ + const char *name; /* The entity name */ + const char *desc; /* the description */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8158" +></A +><H3 +><A +NAME="HTMLENTITYDESCPTR" +></A +>htmlEntityDescPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef htmlEntityDesc *htmlEntityDescPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8163" ></A ><H3 ><A @@ -433,9 +737,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="HTMLELEMDESCPTR" ->htmlElemDescPtr</GTKDOCLINK +><A +HREF="gnome-xml-htmlparser.html#HTMLELEMDESCPTR" +>htmlElemDescPtr</A > htmlTagLookup (const <A HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A @@ -473,7 +777,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> The tag name</TD ></TR ><TR ><TD @@ -488,7 +792,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the related htmlElemDescPtr or NULL if not found.</TD ></TR ></TABLE ><P @@ -498,7 +802,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7289" +NAME="AEN8184" ></A ><H3 ><A @@ -514,9 +818,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="HTMLENTITYDESCPTR" ->htmlEntityDescPtr</GTKDOCLINK +><A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESCPTR" +>htmlEntityDescPtr</A > htmlEntityLookup (const <A HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A @@ -556,7 +860,231 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the associated htmlEntityDescPtr if found, NULL otherwise.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8206" +></A +><H3 +><A +NAME="HTMLISAUTOCLOSED" +></A +>htmlIsAutoClosed ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>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 +>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 +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" +> the HTML document</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" +> the HTML element</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>1 if autoclosed, 0 otherwise</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8231" +></A +><H3 +><A +NAME="HTMLAUTOCLOSETAG" +></A +>htmlAutoCloseTag ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int htmlAutoCloseTag (<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);</PRE +></TD +></TR +></TABLE +><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 +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" +> the HTML document</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" +> The tag name</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" +> the HTML element</TD ></TR ><TR ><TD @@ -571,7 +1099,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if autoclose, 0 otherwise</TD ></TR ></TABLE ><P @@ -581,7 +1109,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7311" +NAME="AEN8261" ></A ><H3 ><A @@ -597,9 +1125,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="HTMLENTITYDESCPTR" ->htmlEntityDescPtr</GTKDOCLINK +><A +HREF="gnome-xml-htmlparser.html#HTMLENTITYDESCPTR" +>htmlEntityDescPtr</A > htmlParseEntityRef (<A HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" >htmlParserCtxtPtr</A @@ -643,7 +1171,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an HTML parser context</TD ></TR ><TR ><TD @@ -660,7 +1188,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> location to store the entity name</TD ></TR ><TR ><TD @@ -675,7 +1203,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the associated htmlEntityDescPtr if found, or NULL otherwise, +if non-NULL *str will have to be freed by the caller.</TD ></TR ></TABLE ><P @@ -685,7 +1214,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7338" +NAME="AEN8288" ></A ><H3 ><A @@ -744,7 +1273,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an HTML parser context</TD ></TR ><TR ><TD @@ -759,7 +1288,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the value parsed (as an int)</TD ></TR ></TABLE ><P @@ -769,7 +1298,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7360" +NAME="AEN8310" ></A ><H3 ><A @@ -826,7 +1355,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an HTML parser context</TD ></TR ></TABLE ><P @@ -836,7 +1365,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7378" +NAME="AEN8328" ></A ><H3 ><A @@ -900,7 +1429,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to an array of xmlChar</TD ></TR ><TR ><TD @@ -917,7 +1446,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a free form C string describing the HTML document encoding, or NULL</TD ></TR ><TR ><TD @@ -934,7 +1463,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the SAX handler block</TD ></TR ><TR ><TD @@ -951,7 +1480,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if using SAX, this pointer will be provided on callbacks. </TD ></TR ><TR ><TD @@ -966,7 +1495,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the resulting document tree</TD ></TR ></TABLE ><P @@ -976,7 +1505,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7412" +NAME="AEN8362" ></A ><H3 ><A @@ -1033,7 +1562,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to an array of xmlChar</TD ></TR ><TR ><TD @@ -1050,7 +1579,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a free form C string describing the HTML document encoding, or NULL</TD ></TR ><TR ><TD @@ -1065,7 +1594,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the resulting document tree</TD ></TR ></TABLE ><P @@ -1075,7 +1604,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7437" +NAME="AEN8387" ></A ><H3 ><A @@ -1137,7 +1666,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename</TD ></TR ><TR ><TD @@ -1154,7 +1683,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a free form C string describing the HTML document encoding, or NULL</TD ></TR ><TR ><TD @@ -1171,7 +1700,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the SAX handler block</TD ></TR ><TR ><TD @@ -1188,7 +1717,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if using SAX, this pointer will be provided on callbacks. </TD ></TR ><TR ><TD @@ -1203,7 +1732,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the resulting document tree</TD ></TR ></TABLE ><P @@ -1213,7 +1742,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7470" +NAME="AEN8420" ></A ><H3 ><A @@ -1268,7 +1797,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename</TD ></TR ><TR ><TD @@ -1285,7 +1814,390 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a free form C string describing the HTML document encoding, or NULL</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the resulting document tree</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8444" +></A +><H3 +><A +NAME="HTMLFREEPARSERCTXT" +></A +>htmlFreeParserCtxt ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void htmlFreeParserCtxt (<A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> ctxt);</PRE +></TD +></TR +></TABLE +><P +>Free all the memory used by a parser context. However the parsed +document in ctxt->myDoc is not freed.</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 +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an HTML parser context</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8460" +></A +><H3 +><A +NAME="HTMLCREATEPUSHPARSERCTXT" +></A +>htmlCreatePushParserCtxt ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> htmlCreatePushParserCtxt (<A +HREF="gnome-xml-htmlparser.html#HTMLSAXHANDLERPTR" +>htmlSAXHandlerPtr</A +> sax, + void *user_data, + const char *chunk, + int size, + const char *filename, + <A +HREF="gnome-xml-encoding.html#XMLCHARENCODING" +>xmlCharEncoding</A +> enc);</PRE +></TD +></TR +></TABLE +><P +>Create a parser context for using the HTML parser in push mode +To allow content encoding detection, <TT +CLASS="PARAMETER" +><I +>size</I +></TT +> should be >= 4 +The value of <TT +CLASS="PARAMETER" +><I +>filename</I +></TT +> is used for fetching external entities +and error/warning reports.</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 +>sax</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a SAX handler</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>user_data</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> The user data returned on SAX callbacks</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>chunk</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a pointer to an array of chars</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>size</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> number of chars in the array</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>filename</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an optional file name or URI</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>enc</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an optional encoding</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the new parser context or NULL</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8504" +></A +><H3 +><A +NAME="HTMLPARSECHUNK" +></A +>htmlParseChunk ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int htmlParseChunk (<A +HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR" +>htmlParserCtxtPtr</A +> ctxt, + const char *chunk, + int size, + int terminate);</PRE +></TD +></TR +></TABLE +><P +>Parse a Chunk of memory</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 +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an XML parser context</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>chunk</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an char array</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>size</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the size in byte of the chunk</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>terminate</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> last chunk indicator</TD ></TR ><TR ><TD @@ -1300,7 +2212,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>zero if no error, the xmlParserErrors otherwise.</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-htmltree.html b/doc/html/gnome-xml-htmltree.html index 68d0a9f1..9cf42a78 100644 --- a/doc/html/gnome-xml-htmltree.html +++ b/doc/html/gnome-xml-htmltree.html @@ -4,7 +4,7 @@ >HTMLtree</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-xpath.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-HTMLTREE" ->HTMLtree</A -></H1 +>HTMLtree</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7499" +NAME="AEN8541" ></A ><H2 >Name</H2 ->HTMLtree -- </DIV +>HTMLtree — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7502" +NAME="AEN8544" ></A ><H2 >Synopsis</H2 @@ -194,7 +188,7 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7516" +NAME="AEN8558" ></A ><H2 >Description</H2 @@ -204,14 +198,14 @@ NAME="AEN7516" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7519" +NAME="AEN8561" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7521" +NAME="AEN8563" ></A ><H3 ><A @@ -227,7 +221,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_TEXT_NODE</PRE +>#define HTML_TEXT_NODE XML_TEXT_NODE</PRE ></TD ></TR ></TABLE @@ -237,7 +231,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7526" +NAME="AEN8568" ></A ><H3 ><A @@ -253,7 +247,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_ENTITY_REF_NODE</PRE +>#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE</PRE ></TD ></TR ></TABLE @@ -263,7 +257,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7531" +NAME="AEN8573" ></A ><H3 ><A @@ -279,7 +273,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define HTML_COMMENT_NODE</PRE +>#define HTML_COMMENT_NODE XML_COMMENT_NODE</PRE ></TD ></TR ></TABLE @@ -289,7 +283,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7536" +NAME="AEN8578" ></A ><H3 ><A @@ -348,7 +342,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -365,7 +359,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> OUT: the memory pointer</TD ></TR ><TR ><TD @@ -382,7 +376,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> OUT: the memory lenght</TD ></TR ></TABLE ><P @@ -392,7 +386,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7561" +NAME="AEN8603" ></A ><H3 ><A @@ -449,7 +443,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the FILE*</TD ></TR ><TR ><TD @@ -466,7 +460,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ></TABLE ><P @@ -476,7 +470,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7582" +NAME="AEN8624" ></A ><H3 ><A @@ -530,7 +524,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename</TD ></TR ><TR ><TD @@ -547,7 +541,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -562,7 +556,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the number of byte written or -1 in case of failure.</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-nanohttp.html b/doc/html/gnome-xml-nanohttp.html index 33baba36..eec26eb6 100644 --- a/doc/html/gnome-xml-nanohttp.html +++ b/doc/html/gnome-xml-nanohttp.html @@ -4,7 +4,7 @@ >nanohttp</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-xmlio.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-NANOHTTP" ->nanohttp</A -></H1 +>nanohttp</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7879" +NAME="AEN9080" ></A ><H2 >Name</H2 ->nanohttp -- </DIV +>nanohttp — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7882" +NAME="AEN9083" ></A ><H2 >Synopsis</H2 @@ -189,7 +183,7 @@ HREF="gnome-xml-nanohttp.html#XMLNANOHTTPCLOSE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7892" +NAME="AEN9093" ></A ><H2 >Description</H2 @@ -199,14 +193,14 @@ NAME="AEN7892" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7895" +NAME="AEN9096" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7897" +NAME="AEN9098" ></A ><H3 ><A @@ -259,7 +253,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> The URL to load</TD ></TR ><TR ><TD @@ -276,7 +270,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename where the content should be saved</TD ></TR ><TR ><TD @@ -293,7 +287,8 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if available the Content-Type information will be +returned at that location</TD ></TR ><TR ><TD @@ -308,7 +303,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>-1 in case of failure, 0 incase of success. The contentType, +if provided must be freed by the caller</TD ></TR ></TABLE ><P @@ -318,7 +314,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7924" +NAME="AEN9125" ></A ><H3 ><A @@ -379,7 +375,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> The URL to load</TD ></TR ><TR ><TD @@ -396,7 +392,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the HTTP method to use</TD ></TR ><TR ><TD @@ -413,7 +409,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the input string if any</TD ></TR ><TR ><TD @@ -430,7 +426,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the Content-Type information IN and OUT</TD ></TR ><TR ><TD @@ -447,7 +443,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the extra headers</TD ></TR ></TABLE ><P @@ -457,7 +453,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7956" +NAME="AEN9157" ></A ><H3 ><A @@ -509,7 +505,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> The URL to load</TD ></TR ><TR ><TD @@ -526,7 +522,8 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if available the Content-Type information will be +returned at that location</TD ></TR ></TABLE ><P @@ -536,7 +533,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7975" +NAME="AEN9176" ></A ><H3 ><A @@ -586,7 +583,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the HTTP context</TD ></TR ><TR ><TD @@ -601,7 +598,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the HTTP return code for the request.</TD ></TR ></TABLE ><P @@ -611,7 +608,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7994" +NAME="AEN9195" ></A ><H3 ><A @@ -674,7 +671,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the HTTP context</TD ></TR ><TR ><TD @@ -691,7 +688,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a buffer</TD ></TR ><TR ><TD @@ -708,7 +705,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer length</TD ></TR ><TR ><TD @@ -723,7 +720,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the number of byte read. 0 is an indication of an end of connection. +-1 indicates a parameter error.</TD ></TR ></TABLE ><P @@ -733,7 +731,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8023" +NAME="AEN9224" ></A ><H3 ><A @@ -785,7 +783,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the HTTP context</TD ></TR ><TR ><TD @@ -802,7 +800,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename where the content should be saved</TD ></TR ><TR ><TD @@ -817,7 +815,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>-1 in case of failure, 0 incase of success.</TD ></TR ></TABLE ><P @@ -827,7 +825,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8046" +NAME="AEN9247" ></A ><H3 ><A @@ -878,7 +876,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the HTTP context</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-parserinternals.html b/doc/html/gnome-xml-parserinternals.html index 6e654f58..7a031edc 100644 --- a/doc/html/gnome-xml-parserinternals.html +++ b/doc/html/gnome-xml-parserinternals.html @@ -4,7 +4,7 @@ >parserInternals</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-encoding.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-PARSERINTERNALS" ->parserInternals</A -></H1 +>parserInternals</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN8262" +NAME="AEN9524" ></A ><H2 >Name</H2 ->parserInternals -- </DIV +>parserInternals — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN8265" +NAME="AEN9527" ></A ><H2 >Synopsis</H2 @@ -212,7 +206,7 @@ HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG" HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR" >xmlParserCtxtPtr</A > <A -HREF="gnome-xml-parserinternals.html#XMLCREATEDOCPARSERCTXT" +HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT" >xmlCreateDocParserCtxt</A > (<A HREF="gnome-xml-tree.html#XMLCHAR" @@ -234,7 +228,7 @@ HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT" > (char *buffer, int size); void <A -HREF="gnome-xml-parserinternals.html#XMLFREEPARSERCTXT" +HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT" >xmlFreeParserCtxt</A > (<A HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR" @@ -888,7 +882,7 @@ HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8475" +NAME="AEN9737" ></A ><H2 >Description</H2 @@ -898,14 +892,14 @@ NAME="AEN8475" ><DIV CLASS="REFSECT1" ><A -NAME="AEN8478" +NAME="AEN9740" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN8480" +NAME="AEN9742" ></A ><H3 ><A @@ -921,7 +915,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MAX_NAMELEN</PRE +>#define XML_MAX_NAMELEN 1000</PRE ></TD ></TR ></TABLE @@ -931,7 +925,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8485" +NAME="AEN9747" ></A ><H3 ><A @@ -944,7 +938,7 @@ NAME="CHARVAL" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8489" +NAME="AEN9751" ></A ><H3 ><A @@ -1002,7 +996,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8503" +NAME="AEN9765" ></A ><H3 ><A @@ -1018,7 +1012,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define SKIPCHARVAL(p)</PRE +>#define SKIPCHARVAL(p) (p)++;</PRE ></TD ></TR ></TABLE @@ -1060,7 +1054,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8517" +NAME="AEN9779" ></A ><H3 ><A @@ -1118,7 +1112,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8531" +NAME="AEN9793" ></A ><H3 ><A @@ -1176,7 +1170,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8545" +NAME="AEN9807" ></A ><H3 ><A @@ -1234,7 +1228,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8559" +NAME="AEN9821" ></A ><H3 ><A @@ -1292,7 +1286,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8573" +NAME="AEN9835" ></A ><H3 ><A @@ -1350,7 +1344,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8587" +NAME="AEN9849" ></A ><H3 ><A @@ -1408,7 +1402,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8601" +NAME="AEN9863" ></A ><H3 ><A @@ -1466,7 +1460,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8615" +NAME="AEN9877" ></A ><H3 ><A @@ -1524,7 +1518,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8629" +NAME="AEN9891" ></A ><H3 ><A @@ -1582,7 +1576,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8643" +NAME="AEN9905" ></A ><H3 ><A @@ -1640,7 +1634,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8657" +NAME="AEN9919" ></A ><H3 ><A @@ -1698,7 +1692,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8671" +NAME="AEN9933" ></A ><H3 ><A @@ -1756,7 +1750,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8685" +NAME="AEN9947" ></A ><H3 ><A @@ -1837,7 +1831,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8706" +NAME="AEN9968" ></A ><H3 ><A @@ -1892,7 +1886,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename</TD ></TR ><TR ><TD @@ -1907,7 +1901,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new parser context or NULL</TD ></TR ></TABLE ><P @@ -1917,7 +1911,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8726" +NAME="AEN9988" ></A ><H3 ><A @@ -1971,7 +1965,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an pointer to a char array</TD ></TR ><TR ><TD @@ -1988,7 +1982,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the size of the array</TD ></TR ><TR ><TD @@ -2003,7 +1997,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new parser context or NULL</TD ></TR ></TABLE ><P @@ -2013,7 +2007,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8750" +NAME="AEN10012" ></A ><H3 ><A @@ -2077,7 +2071,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8766" +NAME="AEN10028" ></A ><H3 ><A @@ -2128,7 +2122,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlParserCtxtPtr or NULL</TD ></TR ></TABLE ><P @@ -2138,7 +2132,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8782" +NAME="AEN10044" ></A ><H3 ><A @@ -2196,7 +2190,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the parser context</TD ></TR ><TR ><TD @@ -2213,7 +2207,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the encoding value (number)</TD ></TR ></TABLE ><P @@ -2223,7 +2217,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8803" +NAME="AEN10065" ></A ><H3 ><A @@ -2283,7 +2277,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2300,7 +2294,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML entity pointer.</TD ></TR ></TABLE ><P @@ -2310,7 +2304,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8825" +NAME="AEN10087" ></A ><H3 ><A @@ -2370,7 +2364,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2387,7 +2381,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an Entity pointer</TD ></TR ><TR ><TD @@ -2402,7 +2396,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new input stream or NULL</TD ></TR ></TABLE ><P @@ -2412,7 +2406,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8851" +NAME="AEN10113" ></A ><H3 ><A @@ -2470,7 +2464,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2487,7 +2481,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser input fragment (entity, XML fragment ...).</TD ></TR ></TABLE ><P @@ -2497,7 +2491,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8872" +NAME="AEN10134" ></A ><H3 ><A @@ -2554,7 +2548,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2569,7 +2563,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the current xmlChar in the parser context</TD ></TR ></TABLE ><P @@ -2579,7 +2573,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8893" +NAME="AEN10155" ></A ><H3 ><A @@ -2632,7 +2626,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an xmlParserInputPtr</TD ></TR ></TABLE ><P @@ -2642,7 +2636,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8909" +NAME="AEN10171" ></A ><H3 ><A @@ -2699,7 +2693,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2716,7 +2710,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename to use as entity</TD ></TR ><TR ><TD @@ -2731,7 +2725,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new input stream or NULL in case of error</TD ></TR ></TABLE ><P @@ -2741,7 +2735,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8934" +NAME="AEN10196" ></A ><H3 ><A @@ -2807,7 +2801,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2824,7 +2818,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a xmlChar ** </TD ></TR ><TR ><TD @@ -2839,7 +2833,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the local part, and prefix is updated +to get the Prefix if any.</TD ></TR ></TABLE ><P @@ -2849,7 +2844,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8963" +NAME="AEN10225" ></A ><H3 ><A @@ -2910,7 +2905,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -2925,7 +2920,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the namespace name or NULL</TD ></TR ></TABLE ><P @@ -2935,7 +2930,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN8986" +NAME="AEN10248" ></A ><H3 ><A @@ -3001,7 +2996,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3018,7 +3013,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a xmlChar ** </TD ></TR ><TR ><TD @@ -3033,7 +3028,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the local part, and prefix is updated +to get the Prefix if any.</TD ></TR ></TABLE ><P @@ -3043,7 +3039,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9015" +NAME="AEN10277" ></A ><H3 ><A @@ -3103,7 +3099,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3118,7 +3114,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the namespace name</TD ></TR ></TABLE ><P @@ -3128,7 +3124,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9038" +NAME="AEN10300" ></A ><H3 ><A @@ -3185,7 +3181,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3200,7 +3196,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the string parser or NULL.</TD ></TR ></TABLE ><P @@ -3210,7 +3206,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9059" +NAME="AEN10321" ></A ><H3 ><A @@ -3238,7 +3234,7 @@ HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR" ><P >This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as -if ot was declared on the root of the Tree:-(</P +if it was declared on the root of the Tree:-(</P ><P >To be removed at next drop of binary compatibility</P ><P @@ -3269,7 +3265,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -3279,7 +3275,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9077" +NAME="AEN10339" ></A ><H3 ><A @@ -3343,7 +3339,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3358,7 +3354,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the Name parsed or NULL</TD ></TR ></TABLE ><P @@ -3368,7 +3364,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9101" +NAME="AEN10363" ></A ><H3 ><A @@ -3431,7 +3427,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3446,7 +3442,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the Name parsed or NULL</TD ></TR ></TABLE ><P @@ -3456,7 +3452,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9125" +NAME="AEN10387" ></A ><H3 ><A @@ -3516,7 +3512,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3531,7 +3527,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the Nmtoken parsed or NULL</TD ></TR ></TABLE ><P @@ -3541,7 +3537,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9148" +NAME="AEN10410" ></A ><H3 ><A @@ -3604,7 +3600,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3621,7 +3617,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if non-NULL store a copy of the original entity value</TD ></TR ><TR ><TD @@ -3636,7 +3632,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the EntityValue parsed with reference substitued or NULL</TD ></TR ></TABLE ><P @@ -3646,7 +3642,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9175" +NAME="AEN10437" ></A ><H3 ><A @@ -3680,6 +3676,58 @@ will be handled later in xmlStringGetNodeList</P >[10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"</P ><P +>3.3.3 Attribute-Value Normalization: +Before the value of an attribute is passed to the application or +checked for validity, the XML processor must normalize it as follows: +- a character reference is processed by appending the referenced +character to the attribute value +- an entity reference is processed by recursively processing the +replacement text of the entity +- a whitespace character (<GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +>, <GTKDOCLINK +HREF="XD" +>xD</GTKDOCLINK +>, <GTKDOCLINK +HREF="XA" +>xA</GTKDOCLINK +>, <GTKDOCLINK +HREF="X9" +>x9</GTKDOCLINK +>) is processed by +appending <GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +> to the normalized value, except that only a single +<GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +> is appended for a "<GTKDOCLINK +HREF="XD" +>xD</GTKDOCLINK +><GTKDOCLINK +HREF="XA" +>xA</GTKDOCLINK +>" sequence that is part of an external +parsed entity or the literal entity value of an internal parsed entity +- other characters are processed by appending them to the normalized value +If the declared value is not CDATA, then the XML processor must further +process the normalized attribute value by discarding any leading and +trailing space (<GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +>) characters, and by replacing sequences of space +(<GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +>) characters by a single space (<GTKDOCLINK +HREF="X20" +>x20</GTKDOCLINK +>) character. +All attributes for which no declaration has been read should be treated +by a non-validating parser as if declared CDATA.</P +><P ></P ><DIV CLASS="INFORMALTABLE" @@ -3707,7 +3755,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3722,7 +3770,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the AttValue parsed or NULL. The value has to be freed by the caller.</TD ></TR ></TABLE ><P @@ -3732,7 +3780,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9197" +NAME="AEN10471" ></A ><H3 ><A @@ -3790,7 +3838,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3805,7 +3853,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the SystemLiteral parsed or NULL</TD ></TR ></TABLE ><P @@ -3815,7 +3863,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9219" +NAME="AEN10493" ></A ><H3 ><A @@ -3873,7 +3921,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3888,7 +3936,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the PubidLiteral parsed or NULL.</TD ></TR ></TABLE ><P @@ -3898,7 +3946,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9241" +NAME="AEN10515" ></A ><H3 ><A @@ -3955,7 +4003,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -3972,7 +4020,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> int indicating whether we are within a CDATA section</TD ></TR ></TABLE ><P @@ -3982,7 +4030,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9262" +NAME="AEN10536" ></A ><H3 ><A @@ -4051,7 +4099,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4068,7 +4116,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a xmlChar** receiving PubidLiteral</TD ></TR ><TR ><TD @@ -4085,7 +4133,8 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> indicate whether we should restrict parsing to only +production [75], see NOTE below</TD ></TR ><TR ><TD @@ -4100,7 +4149,9 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>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 ></TR ></TABLE ><P @@ -4110,7 +4161,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9295" +NAME="AEN10569" ></A ><H3 ><A @@ -4167,7 +4218,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -4177,7 +4228,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9312" +NAME="AEN10586" ></A ><H3 ><A @@ -4235,7 +4286,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4250,7 +4301,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the PITarget name or NULL</TD ></TR ></TABLE ><P @@ -4260,7 +4311,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9334" +NAME="AEN10608" ></A ><H3 ><A @@ -4317,7 +4368,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -4327,7 +4378,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9352" +NAME="AEN10626" ></A ><H3 ><A @@ -4392,7 +4443,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -4402,7 +4453,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9372" +NAME="AEN10646" ></A ><H3 ><A @@ -4470,7 +4521,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -4480,7 +4531,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9395" +NAME="AEN10669" ></A ><H3 ><A @@ -4576,7 +4627,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4593,7 +4644,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> Receive a possible fixed default value for the attribute</TD ></TR ><TR ><TD @@ -4608,7 +4659,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED +or XML_ATTRIBUTE_FIXED. </TD ></TR ></TABLE ><P @@ -4618,7 +4670,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9432" +NAME="AEN10706" ></A ><H3 ><A @@ -4682,7 +4734,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4697,7 +4749,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the notation attribute tree built while parsing</TD ></TR ></TABLE ><P @@ -4707,7 +4759,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9456" +NAME="AEN10730" ></A ><H3 ><A @@ -4769,7 +4821,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4784,7 +4836,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the enumeration attribute tree built while parsing</TD ></TR ></TABLE ><P @@ -4794,7 +4846,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9479" +NAME="AEN10753" ></A ><H3 ><A @@ -4855,7 +4907,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -4872,7 +4924,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the enumeration tree built while parsing</TD ></TR ><TR ><TD @@ -4887,7 +4939,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD ></TR ></TABLE ><P @@ -4897,7 +4949,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9506" +NAME="AEN10780" ></A ><H3 ><A @@ -4959,13 +5011,13 @@ HREF="REQUIRED" ><P >[ VC: IDREF ] Values of type IDREF must match the Name production, and values -of type IDREFS must match Names; TODO each IDREF Name must match the value +of type IDREFS must match Names; each IDREF Name must match the value of an ID attribute on some element in the XML document; i.e. IDREF values must match the value of some ID attribute.</P ><P >[ VC: Entity Name ] Values of type ENTITY must match the Name production, values -of type ENTITIES must match Names; TODO each Entity Name must match the +of type ENTITIES must match Names; each Entity Name must match the name of an unparsed entity declared in the DTD. </P ><P >[ VC: Name Token ] @@ -4999,7 +5051,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5016,7 +5068,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the enumeration tree built while parsing</TD ></TR ><TR ><TD @@ -5031,7 +5083,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the attribute type</TD ></TR ></TABLE ><P @@ -5041,7 +5093,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9544" +NAME="AEN10818" ></A ><H3 ><A @@ -5098,7 +5150,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -5108,7 +5160,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9562" +NAME="AEN10836" ></A ><H3 ><A @@ -5181,7 +5233,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5196,7 +5248,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the list of the xmlElementContentPtr describing the element choices</TD ></TR ></TABLE ><P @@ -5206,7 +5258,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9588" +NAME="AEN10862" ></A ><H3 ><A @@ -5283,7 +5335,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5298,7 +5350,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the tree of xmlElementContentPtr describing the element +hierarchy.</TD ></TR ></TABLE ><P @@ -5308,7 +5361,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9614" +NAME="AEN10888" ></A ><H3 ><A @@ -5372,7 +5425,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5389,7 +5442,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the name of the element being defined.</TD ></TR ><TR ><TD @@ -5406,7 +5459,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the Element Content pointer will be stored here if any</TD ></TR ><TR ><TD @@ -5421,7 +5474,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the type of element content XML_ELEMENT_TYPE_xxx</TD ></TR ></TABLE ><P @@ -5431,7 +5484,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9645" +NAME="AEN10919" ></A ><H3 ><A @@ -5489,7 +5542,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5504,7 +5557,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the type of the element, or -1 in case of error</TD ></TR ></TABLE ><P @@ -5514,7 +5567,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9667" +NAME="AEN10941" ></A ><H3 ><A @@ -5583,7 +5636,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -5593,7 +5646,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9686" +NAME="AEN10960" ></A ><H3 ><A @@ -5656,7 +5709,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5671,7 +5724,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the value parsed (as an int), 0 in case of error</TD ></TR ></TABLE ><P @@ -5681,7 +5734,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9709" +NAME="AEN10983" ></A ><H3 ><A @@ -5757,7 +5810,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -5772,7 +5825,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlEntityPtr if found, or NULL otherwise.</TD ></TR ></TABLE ><P @@ -5782,7 +5835,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9733" +NAME="AEN11007" ></A ><H3 ><A @@ -5846,7 +5899,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -5856,7 +5909,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9752" +NAME="AEN11026" ></A ><H3 ><A @@ -5932,7 +5985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -5942,7 +5995,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9773" +NAME="AEN11047" ></A ><H3 ><A @@ -6002,7 +6055,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -6012,7 +6065,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9791" +NAME="AEN11065" ></A ><H3 ><A @@ -6095,7 +6148,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6112,7 +6165,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a xmlChar ** used to store the value of the attribute</TD ></TR ><TR ><TD @@ -6127,7 +6180,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the attribute name, and the value in *value.</TD ></TR ></TABLE ><P @@ -6137,7 +6190,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9825" +NAME="AEN11099" ></A ><H3 ><A @@ -6185,6 +6238,8 @@ empty-element tag. </P ><P >[NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'</P ><P +>Returne the element name parsed</P +><P ></P ><DIV CLASS="INFORMALTABLE" @@ -6212,7 +6267,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6237,7 +6292,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9853" +NAME="AEN11128" ></A ><H3 ><A @@ -6296,7 +6351,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -6306,7 +6361,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9872" +NAME="AEN11147" ></A ><H3 ><A @@ -6367,7 +6422,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -6377,7 +6432,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9892" +NAME="AEN11167" ></A ><H3 ><A @@ -6432,7 +6487,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -6442,7 +6497,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9909" +NAME="AEN11184" ></A ><H3 ><A @@ -6514,7 +6569,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -6524,7 +6579,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9928" +NAME="AEN11203" ></A ><H3 ><A @@ -6582,7 +6637,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6597,7 +6652,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the string giving the XML version number, or NULL</TD ></TR ></TABLE ><P @@ -6607,7 +6662,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9950" +NAME="AEN11225" ></A ><H3 ><A @@ -6667,7 +6722,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6682,7 +6737,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the version string, e.g. "1.0"</TD ></TR ></TABLE ><P @@ -6692,7 +6747,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9973" +NAME="AEN11248" ></A ><H3 ><A @@ -6750,7 +6805,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6765,7 +6820,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the encoding name value or NULL</TD ></TR ></TABLE ><P @@ -6775,7 +6830,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN9995" +NAME="AEN11270" ></A ><H3 ><A @@ -6835,7 +6890,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6850,7 +6905,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the encoding value or NULL</TD ></TR ></TABLE ><P @@ -6860,7 +6915,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10018" +NAME="AEN11293" ></A ><H3 ><A @@ -6930,7 +6985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -6945,7 +7000,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if standalone, 0 otherwise</TD ></TR ></TABLE ><P @@ -6955,7 +7010,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10040" +NAME="AEN11315" ></A ><H3 ><A @@ -7010,7 +7065,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -7020,7 +7075,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10057" +NAME="AEN11332" ></A ><H3 ><A @@ -7075,7 +7130,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ></TABLE ><P @@ -7085,7 +7140,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10074" +NAME="AEN11349" ></A ><H3 ><A @@ -7150,7 +7205,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -7167,7 +7222,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the external identifier</TD ></TR ><TR ><TD @@ -7184,7 +7239,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the system identifier (or URL)</TD ></TR ></TABLE ><P @@ -7194,7 +7249,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10102" +NAME="AEN11377" ></A ><H3 ><A @@ -7210,7 +7265,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_NONE</PRE +>#define XML_SUBSTITUTE_NONE 0</PRE ></TD ></TR ></TABLE @@ -7220,7 +7275,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10107" +NAME="AEN11382" ></A ><H3 ><A @@ -7236,7 +7291,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_REF</PRE +>#define XML_SUBSTITUTE_REF 1</PRE ></TD ></TR ></TABLE @@ -7246,7 +7301,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10112" +NAME="AEN11387" ></A ><H3 ><A @@ -7262,7 +7317,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_PEREF</PRE +>#define XML_SUBSTITUTE_PEREF 2</PRE ></TD ></TR ></TABLE @@ -7272,7 +7327,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10117" +NAME="AEN11392" ></A ><H3 ><A @@ -7288,7 +7343,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_SUBSTITUTE_BOTH</PRE +>#define XML_SUBSTITUTE_BOTH 3</PRE ></TD ></TR ></TABLE @@ -7298,7 +7353,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10122" +NAME="AEN11397" ></A ><H3 ><A @@ -7370,7 +7425,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the parser context</TD ></TR ><TR ><TD @@ -7387,7 +7442,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the len to decode (in bytes !), -1 for no size limit</TD ></TR ><TR ><TD @@ -7404,7 +7459,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD ></TR ><TR ><TD @@ -7421,7 +7476,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an end marker xmlChar, 0 if none</TD ></TR ><TR ><TD @@ -7438,7 +7493,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an end marker xmlChar, 0 if none</TD ></TR ><TR ><TD @@ -7455,7 +7510,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an end marker xmlChar, 0 if none</TD ></TR ><TR ><TD @@ -7470,7 +7525,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>A newly allocated string with the substitution done. The caller +must deallocate it !</TD ></TR ></TABLE ><P @@ -7480,7 +7536,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10167" +NAME="AEN11442" ></A ><H3 ><A @@ -7577,7 +7633,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10191" +NAME="AEN11466" ></A ><H3 ><A @@ -7656,7 +7712,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10211" +NAME="AEN11486" ></A ><H3 ><A @@ -7753,7 +7809,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10235" +NAME="AEN11510" ></A ><H3 ><A diff --git a/doc/html/gnome-xml-tree.html b/doc/html/gnome-xml-tree.html index 268f957c..374dab6c 100644 --- a/doc/html/gnome-xml-tree.html +++ b/doc/html/gnome-xml-tree.html @@ -4,7 +4,7 @@ >tree</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-entities.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-TREE" ->tree</A -></H1 +>tree</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN2831" +NAME="AEN2983" ></A ><H2 >Name</H2 ->tree -- </DIV +>tree — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN2834" +NAME="AEN2986" ></A ><H2 >Synopsis</H2 @@ -160,6 +154,10 @@ HREF="gnome-xml-tree.html#CHAR" HREF="gnome-xml-tree.html#BAD-CAST" >BAD_CAST</A > +struct <A +HREF="gnome-xml-tree.html#XMLNOTATION" +>xmlNotation</A +>; typedef <A HREF="gnome-xml-tree.html#XMLNOTATIONPTR" >xmlNotationPtr</A @@ -172,10 +170,18 @@ enum <A HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT" >xmlAttributeDefault</A >; +struct <A +HREF="gnome-xml-tree.html#XMLENUMERATION" +>xmlEnumeration</A +>; typedef <A HREF="gnome-xml-tree.html#XMLENUMERATIONPTR" >xmlEnumerationPtr</A >; +struct <A +HREF="gnome-xml-tree.html#XMLATTRIBUTE" +>xmlAttribute</A +>; typedef <A HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" >xmlAttributePtr</A @@ -188,6 +194,10 @@ enum <A HREF="gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR" >xmlElementContentOccur</A >; +struct <A +HREF="gnome-xml-tree.html#XMLELEMENTCONTENT" +>xmlElementContent</A +>; typedef <A HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR" >xmlElementContentPtr</A @@ -196,6 +206,10 @@ enum <A HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL" >xmlElementTypeVal</A >; +struct <A +HREF="gnome-xml-tree.html#XMLELEMENT" +>xmlElement</A +>; typedef <A HREF="gnome-xml-tree.html#XMLELEMENTPTR" >xmlElementPtr</A @@ -204,26 +218,58 @@ enum <A HREF="gnome-xml-tree.html#XMLNSTYPE" >xmlNsType</A >; +struct <A +HREF="gnome-xml-tree.html#XMLNS" +>xmlNs</A +>; typedef <A HREF="gnome-xml-tree.html#XMLNSPTR" >xmlNsPtr</A >; +struct <A +HREF="gnome-xml-tree.html#XMLDTD" +>xmlDtd</A +>; typedef <A HREF="gnome-xml-tree.html#XMLDTDPTR" >xmlDtdPtr</A >; +struct <A +HREF="gnome-xml-tree.html#XMLATTR" +>xmlAttr</A +>; typedef <A HREF="gnome-xml-tree.html#XMLATTRPTR" >xmlAttrPtr</A >; +struct <A +HREF="gnome-xml-tree.html#XMLID" +>xmlID</A +>; typedef <A HREF="gnome-xml-tree.html#XMLIDPTR" >xmlIDPtr</A >; +struct <A +HREF="gnome-xml-tree.html#XMLREF" +>xmlRef</A +>; typedef <A HREF="gnome-xml-tree.html#XMLREFPTR" >xmlRefPtr</A >; +enum <A +HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME" +>xmlBufferAllocationScheme</A +>; +struct <A +HREF="gnome-xml-tree.html#XMLBUFFER" +>xmlBuffer</A +>; +typedef <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +>; struct <A HREF="gnome-xml-tree.html#XMLNODE" >xmlNode</A @@ -240,14 +286,6 @@ typedef <A HREF="gnome-xml-tree.html#XMLDOCPTR" >xmlDocPtr</A >; -struct <A -HREF="gnome-xml-tree.html#XMLBUFFER" ->xmlBuffer</A ->; -typedef <A -HREF="gnome-xml-tree.html#XMLBUFFERPTR" ->xmlBufferPtr</A ->; extern xmlNsPtr <A HREF="gnome-xml-tree.html#BASEDTD" >baseDTD</A @@ -260,6 +298,10 @@ extern int <A HREF="gnome-xml-tree.html#XMLINDENTTREEOUTPUT" >xmlIndentTreeOutput</A >; +extern xmlBufferAllocationScheme <A +HREF="gnome-xml-tree.html#XMLBUFFERALLOCSCHEME" +>xmlBufferAllocScheme</A +>; <A HREF="gnome-xml-tree.html#XMLBUFFERPTR" >xmlBufferPtr</A @@ -267,6 +309,16 @@ HREF="gnome-xml-tree.html#XMLBUFFERPTR" HREF="gnome-xml-tree.html#XMLBUFFERCREATE" >xmlBufferCreate</A > (void); +<A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> <A +HREF="gnome-xml-tree.html#XMLBUFFERCREATESIZE" +>xmlBufferCreateSize</A +> (<GTKDOCLINK +HREF="SIZE-T" +>size_t</GTKDOCLINK +> size); void <A HREF="gnome-xml-tree.html#XMLBUFFERFREE" >xmlBufferFree</A @@ -331,6 +383,41 @@ HREF="gnome-xml-tree.html#XMLBUFFEREMPTY" HREF="gnome-xml-tree.html#XMLBUFFERPTR" >xmlBufferPtr</A > buf); +const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* <A +HREF="gnome-xml-tree.html#XMLBUFFERCONTENT" +>xmlBufferContent</A +> (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf); +int <A +HREF="gnome-xml-tree.html#XMLBUFFERUSE" +>xmlBufferUse</A +> (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf); +void <A +HREF="gnome-xml-tree.html#XMLBUFFERSETALLOCATIONSCHEME" +>xmlBufferSetAllocationScheme</A +> (<A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf, + <A +HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME" +>xmlBufferAllocationScheme</A +> scheme); +int <A +HREF="gnome-xml-tree.html#XMLBUFFERLENGTH" +>xmlBufferLength</A +> (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf); <A HREF="gnome-xml-tree.html#XMLDTDPTR" >xmlDtdPtr</A @@ -589,6 +676,28 @@ HREF="gnome-xml-tree.html#XMLCHAR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A +HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE" +>xmlNewDocRawNode</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNSPTR" +>xmlNsPtr</A +> ns, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *content); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A HREF="gnome-xml-tree.html#XMLNEWNODE" >xmlNewNode</A > (<A @@ -625,6 +734,28 @@ HREF="gnome-xml-tree.html#XMLCHAR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A +HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD" +>xmlNewTextChild</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> parent, + <A +HREF="gnome-xml-tree.html#XMLNSPTR" +>xmlNsPtr</A +> ns, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *content); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A HREF="gnome-xml-tree.html#XMLNEWDOCTEXT" >xmlNewDocText</A > (<A @@ -763,6 +894,16 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A +HREF="gnome-xml-tree.html#XMLDOCGETROOTELEMENT" +>xmlDocGetRootElement</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc); +<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> <A HREF="gnome-xml-tree.html#XMLGETLASTCHILD" >xmlGetLastChild</A > (<A @@ -780,6 +921,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 @@ -794,6 +960,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 @@ -804,6 +984,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 @@ -851,6 +1059,13 @@ HREF="gnome-xml-tree.html#XMLFREENODE" HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > cur); +int <A +HREF="gnome-xml-tree.html#XMLREMOVEPROP" +>xmlRemoveProp</A +> (<A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> cur); <A HREF="gnome-xml-tree.html#XMLNSPTR" >xmlNsPtr</A @@ -965,6 +1180,24 @@ HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *name); <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* <A +HREF="gnome-xml-tree.html#XMLGETNSPROP" +>xmlGetNsProp</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> node, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *nameSpace); +<A HREF="gnome-xml-tree.html#XMLNODEPTR" >xmlNodePtr</A > <A @@ -1085,12 +1318,19 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *lang); -int <A -HREF="gnome-xml-tree.html#XMLREMOVEPROP" ->xmlRemoveProp</A -> (<A -HREF="gnome-xml-tree.html#XMLATTRPTR" ->xmlAttrPtr</A +<A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* <A +HREF="gnome-xml-tree.html#XMLNODEGETBASE" +>xmlNodeGetBase</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A > cur); int <A HREF="gnome-xml-tree.html#XMLREMOVENODE" @@ -1152,6 +1392,21 @@ HREF="FILE" HREF="gnome-xml-tree.html#XMLDOCPTR" >xmlDocPtr</A > cur); +void <A +HREF="gnome-xml-tree.html#XMLELEMDUMP" +>xmlElemDump</A +> (<GTKDOCLINK +HREF="FILE" +>FILE</GTKDOCLINK +> *f, + <A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem); int <A HREF="gnome-xml-tree.html#XMLSAVEFILE" >xmlSaveFile</A @@ -1190,7 +1445,7 @@ HREF="gnome-xml-tree.html#XMLSETCOMPRESSMODE" ><DIV CLASS="REFSECT1" ><A -NAME="AEN3122" +NAME="AEN3346" ></A ><H2 >Description</H2 @@ -1200,14 +1455,14 @@ NAME="AEN3122" ><DIV CLASS="REFSECT1" ><A -NAME="AEN3125" +NAME="AEN3349" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN3127" +NAME="AEN3351" ></A ><H3 ><A @@ -1247,7 +1502,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3132" +NAME="AEN3356" ></A ><H3 ><A @@ -1260,7 +1515,7 @@ NAME="XMLCHAR" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3136" +NAME="AEN3360" ></A ><H3 ><A @@ -1276,7 +1531,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define CHAR</PRE +>#define CHAR xmlChar</PRE ></TD ></TR ></TABLE @@ -1286,7 +1541,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3141" +NAME="AEN3365" ></A ><H3 ><A @@ -1302,7 +1557,37 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define BAD_CAST</PRE +>#define BAD_CAST (xmlChar *)</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3370" +></A +><H3 +><A +NAME="XMLNOTATION" +></A +>struct xmlNotation</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlNotation { + const xmlChar *name; /* Notation name */ + const xmlChar *PublicID; /* Public identifier, if any */ + const xmlChar *SystemID; /* System identifier, if any */ +};</PRE ></TD ></TR ></TABLE @@ -1312,20 +1597,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3146" +NAME="AEN3375" ></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="AEN3150" +NAME="AEN3380" ></A ><H3 ><A @@ -1362,7 +1660,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3155" +NAME="AEN3385" ></A ><H3 ><A @@ -1393,33 +1691,123 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3160" +NAME="AEN3390" +></A +><H3 +><A +NAME="XMLENUMERATION" +></A +>struct xmlEnumeration</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlEnumeration { + struct _xmlEnumeration *next; /* next one */ + const xmlChar *name; /* Enumeration name */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3395" ></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="AEN3400" +></A +><H3 +><A +NAME="XMLATTRIBUTE" +></A +>struct xmlAttribute</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlAttribute { + const xmlChar *elem; /* Element holding the attribute */ + const xmlChar *name; /* Attribute name */ + struct _xmlAttribute *next; /* list of attributes of an element */ + xmlAttributeType type; /* The type */ + xmlAttributeDefault def; /* the default */ + const xmlChar *defaultValue;/* or the default value */ + xmlEnumerationPtr tree; /* or the enumeration tree if any */ + const xmlChar *prefix; /* the namespace prefix if any */ +};</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3164" +NAME="AEN3405" ></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="AEN3168" +NAME="AEN3410" ></A ><H3 ><A @@ -1450,7 +1838,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3173" +NAME="AEN3415" ></A ><H3 ><A @@ -1481,20 +1869,65 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3178" +NAME="AEN3420" +></A +><H3 +><A +NAME="XMLELEMENTCONTENT" +></A +>struct xmlElementContent</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlElementContent { + xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */ + xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */ + const xmlChar *name; /* Element name */ + struct _xmlElementContent *c1; /* first child */ + struct _xmlElementContent *c2; /* second child */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3425" ></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="AEN3182" +NAME="AEN3430" ></A ><H3 ><A @@ -1525,20 +1958,64 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3187" +NAME="AEN3435" +></A +><H3 +><A +NAME="XMLELEMENT" +></A +>struct xmlElement</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlElement { + const xmlChar *name; /* Element name */ + xmlElementTypeVal type; /* The type */ + xmlElementContentPtr content; /* the allowed element content */ + xmlAttributePtr attributes; /* List of the declared attributes */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3440" ></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="AEN3191" +NAME="AEN3445" ></A ><H3 ><A @@ -1567,72 +2044,388 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3196" +NAME="AEN3450" +></A +><H3 +><A +NAME="XMLNS" +></A +>struct xmlNs</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlNs { + struct _xmlNs *next; /* next Ns link for this node */ + xmlNsType type; /* global or local */ + const xmlChar *href; /* URL for the namespace */ + const xmlChar *prefix; /* prefix for the namespace */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3455" ></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="AEN3460" +></A +><H3 +><A +NAME="XMLDTD" +></A +>struct xmlDtd</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlDtd { + const xmlChar *name; /* Name of the DTD */ + const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */ + const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */ + void *notations; /* Hash table for notations if any */ + void *elements; /* Hash table for elements if any */ + void *attributes; /* Hash table for attributes if any */ + void *entities; /* Hash table for entities if any */ + /* struct xmlDtd *next; * next link for this document */ +};</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3200" +NAME="AEN3465" ></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="AEN3204" +NAME="AEN3470" +></A +><H3 +><A +NAME="XMLATTR" +></A +>struct xmlAttr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlAttr { +#ifndef XML_WITHOUT_CORBA + void *_private; /* for Corba, must be first ! */ + void *vepv; /* for Corba, must be next ! */ +#endif + xmlElementType type; /* XML_ATTRIBUTE_NODE, must be third ! */ + struct _xmlNode *node; /* attr->node link */ + struct _xmlAttr *next; /* attribute list link */ + const xmlChar *name; /* the name of the property */ + struct _xmlNode *val; /* the value of the property */ + xmlNs *ns; /* pointer to the associated namespace */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3475" ></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="AEN3480" +></A +><H3 +><A +NAME="XMLID" +></A +>struct xmlID</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlID { + struct _xmlID *next; /* next ID */ + const xmlChar *value; /* The ID name */ + xmlAttrPtr attr; /* The attribut holding it */ +};</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3208" +NAME="AEN3485" ></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="AEN3490" +></A +><H3 +><A +NAME="XMLREF" +></A +>struct xmlRef</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlRef { + struct _xmlRef *next; /* next Ref */ + const xmlChar *value; /* The Ref name */ + xmlAttrPtr attr; /* The attribut holding it */ +};</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3212" +NAME="AEN3495" ></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="AEN3216" +NAME="AEN3500" +></A +><H3 +><A +NAME="XMLBUFFERALLOCATIONSCHEME" +></A +>enum xmlBufferAllocationScheme</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef enum { + XML_BUFFER_ALLOC_DOUBLEIT, + XML_BUFFER_ALLOC_EXACT +} xmlBufferAllocationScheme;</PRE +></TD +></TR +></TABLE +><P +>Sets the allocation scheme for this buffer</P +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3506" +></A +><H3 +><A +NAME="XMLBUFFER" +></A +>struct xmlBuffer</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlBuffer { + xmlChar *content; /* The buffer content UTF8 */ + unsigned int use; /* The buffer size used */ + unsigned int size; /* The buffer size */ + xmlBufferAllocationScheme alloc; /* The realloc method */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3511" +></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 +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3516" ></A ><H3 ><A @@ -1679,20 +2472,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3221" +NAME="AEN3521" ></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="AEN3225" +NAME="AEN3526" ></A ><H3 ><A @@ -1735,26 +2541,39 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3230" +NAME="AEN3531" ></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="AEN3234" +NAME="AEN3536" ></A ><H3 ><A -NAME="XMLBUFFER" +NAME="BASEDTD" ></A ->struct xmlBuffer</H3 +>baseDTD</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -1764,12 +2583,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->struct xmlBuffer { - xmlChar *content; /* The buffer content UTF8 */ - unsigned int use; /* The buffer size used */ - unsigned int size; /* The buffer size */ - xmlBufferAllocationScheme alloc; /* The realloc method */ -};</PRE +>extern xmlNsPtr baseDTD;</PRE ></TD ></TR ></TABLE @@ -1779,26 +2593,39 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3239" +NAME="AEN3541" ></A ><H3 ><A -NAME="XMLBUFFERPTR" +NAME="OLDXMLWDCOMPATIBILITY" ></A ->xmlBufferPtr</H3 +>oldXMLWDcompatibility</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */</PRE +></TD +></TR +></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3243" +NAME="AEN3546" ></A ><H3 ><A -NAME="BASEDTD" +NAME="XMLINDENTTREEOUTPUT" ></A ->baseDTD</H3 +>xmlIndentTreeOutput</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -1808,7 +2635,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->extern xmlNsPtr baseDTD;</PRE +>extern int xmlIndentTreeOutput; /* try to indent the tree dumps */</PRE ></TD ></TR ></TABLE @@ -1818,13 +2645,13 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3248" +NAME="AEN3551" ></A ><H3 ><A -NAME="OLDXMLWDCOMPATIBILITY" +NAME="XMLBUFFERALLOCSCHEME" ></A ->oldXMLWDcompatibility</H3 +>xmlBufferAllocScheme</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -1834,7 +2661,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */</PRE +>extern xmlBufferAllocationScheme xmlBufferAllocScheme; /* alloc scheme to use */</PRE ></TD ></TR ></TABLE @@ -1844,13 +2671,13 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3253" +NAME="AEN3556" ></A ><H3 ><A -NAME="XMLINDENTTREEOUTPUT" +NAME="XMLBUFFERCREATE" ></A ->xmlIndentTreeOutput</H3 +>xmlBufferCreate ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -1860,23 +2687,58 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->extern int xmlIndentTreeOutput; /* try to indent the tree dumps */</PRE +><A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> xmlBufferCreate (void);</PRE ></TD ></TR ></TABLE ><P +>routine to create an XML buffer.</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" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the new structure.</TD +></TR +></TABLE +><P +></P +></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3258" +NAME="AEN3572" ></A ><H3 ><A -NAME="XMLBUFFERCREATE" +NAME="XMLBUFFERCREATESIZE" ></A ->xmlBufferCreate ()</H3 +>xmlBufferCreateSize ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -1889,7 +2751,10 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLBUFFERPTR" >xmlBufferPtr</A -> xmlBufferCreate (void);</PRE +> xmlBufferCreateSize (<GTKDOCLINK +HREF="SIZE-T" +>size_t</GTKDOCLINK +> size);</PRE ></TD ></TR ></TABLE @@ -1913,6 +2778,23 @@ CLASS="CALSTABLE" WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>size</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> initial size of buffer</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I @@ -1921,7 +2803,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new structure.</TD ></TR ></TABLE ><P @@ -1931,7 +2813,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3274" +NAME="AEN3593" ></A ><H3 ><A @@ -1984,7 +2866,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to free</TD ></TR ></TABLE ><P @@ -1994,7 +2876,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3290" +NAME="AEN3609" ></A ><H3 ><A @@ -2051,7 +2933,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the file output</TD ></TR ><TR ><TD @@ -2068,7 +2950,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to dump</TD ></TR ><TR ><TD @@ -2083,7 +2965,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the number of xmlChar written</TD ></TR ></TABLE ><P @@ -2093,7 +2975,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3315" +NAME="AEN3634" ></A ><H3 ><A @@ -2122,7 +3004,8 @@ HREF="gnome-xml-tree.html#XMLCHAR" ></TR ></TABLE ><P ->Add a string range to an XML buffer.</P +>Add a string range to an XML buffer. if len == -1, the lenght of +str is recomputed.</P ><P ></P ><DIV @@ -2151,7 +3034,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to dump</TD ></TR ><TR ><TD @@ -2168,7 +3051,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the xmlChar string</TD ></TR ><TR ><TD @@ -2185,7 +3068,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the number of xmlChar to add</TD ></TR ></TABLE ><P @@ -2195,7 +3078,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3340" +NAME="AEN3659" ></A ><H3 ><A @@ -2252,7 +3135,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to dump</TD ></TR ><TR ><TD @@ -2269,7 +3152,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the xmlChar string</TD ></TR ></TABLE ><P @@ -2279,7 +3162,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3361" +NAME="AEN3680" ></A ><H3 ><A @@ -2333,7 +3216,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to dump</TD ></TR ><TR ><TD @@ -2350,7 +3233,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the C char string</TD ></TR ></TABLE ><P @@ -2360,7 +3243,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3381" +NAME="AEN3700" ></A ><H3 ><A @@ -2414,7 +3297,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the buffer to dump</TD ></TR ><TR ><TD @@ -2431,7 +3314,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the number of xmlChar to remove</TD ></TR ><TR ><TD @@ -2446,7 +3329,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the number of xmlChar removed, or -1 in case of failure.</TD ></TR ></TABLE ><P @@ -2456,7 +3339,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3405" +NAME="AEN3724" ></A ><H3 ><A @@ -2509,8 +3392,325 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" +> the buffer</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3740" +></A +><H3 +><A +NAME="XMLBUFFERCONTENT" +></A +>xmlBufferContent ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* xmlBufferContent (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf);</PRE +></TD +></TR +></TABLE +><P +></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 +>buf</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the buffer to resize</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the internal content</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3761" +></A +><H3 +><A +NAME="XMLBUFFERUSE" +></A +>xmlBufferUse ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xmlBufferUse (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf);</PRE +></TD +></TR +></TABLE +><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 +>buf</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="AEN3780" +></A +><H3 +><A +NAME="XMLBUFFERSETALLOCATIONSCHEME" +></A +>xmlBufferSetAllocationScheme ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlBufferSetAllocationScheme (<A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf, + <A +HREF="gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME" +>xmlBufferAllocationScheme</A +> scheme);</PRE +></TD +></TR +></TABLE +><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 +>buf</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>scheme</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN3800" +></A +><H3 +><A +NAME="XMLBUFFERLENGTH" +></A +>xmlBufferLength ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xmlBufferLength (const <A +HREF="gnome-xml-tree.html#XMLBUFFERPTR" +>xmlBufferPtr</A +> buf);</PRE +></TD +></TR +></TABLE +><P +></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 +>buf</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the buffer </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the length of data in the internal content</TD +></TR ></TABLE ><P ></P @@ -2519,7 +3719,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3421" +NAME="AEN3820" ></A ><H3 ><A @@ -2587,7 +3787,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document pointer</TD ></TR ><TR ><TD @@ -2604,7 +3804,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the DTD name</TD ></TR ><TR ><TD @@ -2621,7 +3821,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the external ID</TD ></TR ><TR ><TD @@ -2638,7 +3838,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the system ID</TD ></TR ><TR ><TD @@ -2653,7 +3853,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new DTD structure</TD ></TR ></TABLE ><P @@ -2663,7 +3863,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3457" +NAME="AEN3856" ></A ><H3 ><A @@ -2731,7 +3931,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document pointer</TD ></TR ><TR ><TD @@ -2748,7 +3948,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the DTD name</TD ></TR ><TR ><TD @@ -2765,7 +3965,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the external ID</TD ></TR ><TR ><TD @@ -2782,7 +3982,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the system ID</TD ></TR ><TR ><TD @@ -2797,7 +3997,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new DTD structure</TD ></TR ></TABLE ><P @@ -2807,7 +4007,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3493" +NAME="AEN3892" ></A ><H3 ><A @@ -2860,7 +4060,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the DTD structure to free up</TD ></TR ></TABLE ><P @@ -2870,7 +4070,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3509" +NAME="AEN3908" ></A ><H3 ><A @@ -2905,7 +4105,9 @@ HREF="gnome-xml-tree.html#XMLCHAR" ></TR ></TABLE ><P ->Creation of a Namespace, the old way using PI and without scoping, to AVOID.</P +>Creation of a Namespace, the old way using PI and without scoping +DEPRECATED !!! +Will be removed at next major release !</P ><P ></P ><DIV @@ -2934,7 +4136,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document carrying the namespace</TD ></TR ><TR ><TD @@ -2951,7 +4153,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the URI associated</TD ></TR ><TR ><TD @@ -2968,7 +4170,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the prefix for the namespace</TD ></TR ><TR ><TD @@ -2983,7 +4185,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL this functionnality had been removed</TD ></TR ></TABLE ><P @@ -2993,7 +4195,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3540" +NAME="AEN3939" ></A ><H3 ><A @@ -3028,7 +4230,9 @@ HREF="gnome-xml-tree.html#XMLCHAR" ></TR ></TABLE ><P ->Creation of a new Namespace.</P +>Creation of a new Namespace. This function will refuse to create +a namespace with a similar prefix than an existing one present on this +node.</P ><P ></P ><DIV @@ -3057,7 +4261,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element carrying the namespace</TD ></TR ><TR ><TD @@ -3074,7 +4278,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the URI associated</TD ></TR ><TR ><TD @@ -3091,7 +4295,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the prefix for the namespace</TD ></TR ><TR ><TD @@ -3106,7 +4310,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>returns a new namespace pointer or NULL</TD ></TR ></TABLE ><P @@ -3116,7 +4320,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3571" +NAME="AEN3970" ></A ><H3 ><A @@ -3169,7 +4373,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the namespace pointer</TD ></TR ></TABLE ><P @@ -3179,7 +4383,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3587" +NAME="AEN3986" ></A ><H3 ><A @@ -3235,7 +4439,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> xmlChar string giving the version of XML "1.0"</TD ></TR ><TR ><TD @@ -3250,7 +4454,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a new document</TD ></TR ></TABLE ><P @@ -3260,7 +4464,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3608" +NAME="AEN4007" ></A ><H3 ><A @@ -3313,7 +4517,8 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the document +@: </TD ></TR ></TABLE ><P @@ -3323,7 +4528,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3624" +NAME="AEN4023" ></A ><H3 ><A @@ -3387,7 +4592,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -3404,7 +4609,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the name of the attribute</TD ></TR ><TR ><TD @@ -3421,7 +4626,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value of the attribute</TD ></TR ><TR ><TD @@ -3436,7 +4641,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the attribute</TD ></TR ></TABLE ><P @@ -3446,7 +4651,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3655" +NAME="AEN4054" ></A ><H3 ><A @@ -3510,7 +4715,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the holding node</TD ></TR ><TR ><TD @@ -3527,7 +4732,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the name of the attribute</TD ></TR ><TR ><TD @@ -3544,7 +4749,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value of the attribute</TD ></TR ><TR ><TD @@ -3559,7 +4764,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the attribute</TD ></TR ></TABLE ><P @@ -3569,7 +4774,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3686" +NAME="AEN4085" ></A ><H3 ><A @@ -3637,7 +4842,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the holding node</TD ></TR ><TR ><TD @@ -3654,7 +4859,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the namespace</TD ></TR ><TR ><TD @@ -3671,7 +4876,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the name of the attribute</TD ></TR ><TR ><TD @@ -3688,7 +4893,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value of the attribute</TD ></TR ><TR ><TD @@ -3703,7 +4908,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the attribute</TD ></TR ></TABLE ><P @@ -3713,7 +4918,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3722" +NAME="AEN4121" ></A ><H3 ><A @@ -3766,7 +4971,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first property in the list</TD ></TR ></TABLE ><P @@ -3776,7 +4981,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3738" +NAME="AEN4137" ></A ><H3 ><A @@ -3800,7 +5005,7 @@ HREF="gnome-xml-tree.html#XMLATTRPTR" ></TR ></TABLE ><P ->Free one property, all the childs are freed too.</P +>Free one attribute, all the content is freed too</P ><P ></P ><DIV @@ -3829,7 +5034,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an attribute</TD ></TR ></TABLE ><P @@ -3839,7 +5044,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3754" +NAME="AEN4153" ></A ><H3 ><A @@ -3899,7 +5104,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element where the attribute will be grafted</TD ></TR ><TR ><TD @@ -3916,7 +5121,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute</TD ></TR ><TR ><TD @@ -3931,7 +5136,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlAttrPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -3941,7 +5146,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3780" +NAME="AEN4179" ></A ><H3 ><A @@ -4001,7 +5206,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element where the attributes will be grafted</TD ></TR ><TR ><TD @@ -4018,7 +5223,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first attribute</TD ></TR ><TR ><TD @@ -4033,7 +5238,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlAttrPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -4043,7 +5248,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3806" +NAME="AEN4205" ></A ><H3 ><A @@ -4099,7 +5304,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the dtd</TD ></TR ><TR ><TD @@ -4114,7 +5319,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlDtdPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -4124,7 +5329,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3827" +NAME="AEN4226" ></A ><H3 ><A @@ -4182,7 +5387,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -4199,7 +5404,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if 1 do a recursive copy.</TD ></TR ><TR ><TD @@ -4214,7 +5419,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlDocPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -4224,7 +5429,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3852" +NAME="AEN4251" ></A ><H3 ><A @@ -4274,6 +5479,176 @@ CLASS="PARAMETER" >content</I ></TT > +are optionnal (NULL). +NOTE: <TT +CLASS="PARAMETER" +><I +>content</I +></TT +> is supposed to be a piece of XML CDATA, so it allow entities +references, but XML special chars need to be escaped first by using +<A +HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT" +>xmlEncodeEntitiesReentrant</A +>(). Use <A +HREF="gnome-xml-tree.html#XMLNEWDOCRAWNODE" +>xmlNewDocRawNode</A +>() if you don't +need entities support.</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" +> the document</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ns</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> namespace if any</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" +> the node name</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>content</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the XML text content if any</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>a pointer to the new node object.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4292" +></A +><H3 +><A +NAME="XMLNEWDOCRAWNODE" +></A +>xmlNewDocRawNode ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlNewDocRawNode (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNSPTR" +>xmlNsPtr</A +> ns, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *content);</PRE +></TD +></TR +></TABLE +><P +>Creation of a new node element within a document. <TT +CLASS="PARAMETER" +><I +>ns</I +></TT +> and <TT +CLASS="PARAMETER" +><I +>content</I +></TT +> are optionnal (NULL).</P ><P ></P @@ -4303,7 +5678,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -4320,7 +5695,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> namespace if any</TD ></TR ><TR ><TD @@ -4337,7 +5712,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node name</TD ></TR ><TR ><TD @@ -4354,7 +5729,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text content if any</TD ></TR ><TR ><TD @@ -4369,7 +5744,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4379,7 +5754,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3890" +NAME="AEN4330" ></A ><H3 ><A @@ -4451,7 +5826,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> namespace if any</TD ></TR ><TR ><TD @@ -4468,7 +5843,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node name</TD ></TR ><TR ><TD @@ -4483,7 +5858,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4493,7 +5868,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3918" +NAME="AEN4358" ></A ><H3 ><A @@ -4549,7 +5924,22 @@ CLASS="PARAMETER" >content</I ></TT > parameters are optionnal (NULL). If content is non NULL, -a child list containing the TEXTs and ENTITY_REFs node will be created.</P +a child list containing the TEXTs and ENTITY_REFs node will be created. +NOTE: <TT +CLASS="PARAMETER" +><I +>content</I +></TT +> is supposed to be a piece of XML CDATA, so it allow entities +references, but XML special chars need to be escaped first by using +<A +HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT" +>xmlEncodeEntitiesReentrant</A +>(). Use <A +HREF="gnome-xml-tree.html#XMLNEWTEXTCHILD" +>xmlNewTextChild</A +>() if entities +support is not needed.</P ><P ></P ><DIV @@ -4578,7 +5968,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the parent node</TD ></TR ><TR ><TD @@ -4595,7 +5985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a namespace if any</TD ></TR ><TR ><TD @@ -4612,7 +6002,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the name of the child</TD ></TR ><TR ><TD @@ -4629,7 +6019,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML content of the child if any.</TD ></TR ><TR ><TD @@ -4644,7 +6034,168 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4400" +></A +><H3 +><A +NAME="XMLNEWTEXTCHILD" +></A +>xmlNewTextChild ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlNewTextChild (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> parent, + <A +HREF="gnome-xml-tree.html#XMLNSPTR" +>xmlNsPtr</A +> ns, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *content);</PRE +></TD +></TR +></TABLE +><P +>Creation of a new child element, added at the end of <TT +CLASS="PARAMETER" +><I +>parent</I +></TT +> childs list. +<TT +CLASS="PARAMETER" +><I +>ns</I +></TT +> and <TT +CLASS="PARAMETER" +><I +>content</I +></TT +> parameters are optionnal (NULL). If content is non NULL, +a child TEXT node will be created containing the string content.</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 +>parent</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the parent node</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ns</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a namespace if any</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" +> the name of the child</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>content</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the text content of the child if any.</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4654,7 +6205,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3957" +NAME="AEN4439" ></A ><H3 ><A @@ -4714,7 +6265,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -4731,7 +6282,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text content</TD ></TR ><TR ><TD @@ -4746,7 +6297,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4756,7 +6307,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN3983" +NAME="AEN4465" ></A ><H3 ><A @@ -4812,7 +6363,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text content</TD ></TR ><TR ><TD @@ -4827,7 +6378,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4837,7 +6388,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4004" +NAME="AEN4486" ></A ><H3 ><A @@ -4897,7 +6448,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the processing instruction name</TD ></TR ><TR ><TD @@ -4914,7 +6465,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the PI content</TD ></TR ><TR ><TD @@ -4929,7 +6480,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -4939,7 +6490,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4030" +NAME="AEN4512" ></A ><H3 ><A @@ -5001,7 +6552,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5018,7 +6569,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text content</TD ></TR ><TR ><TD @@ -5035,7 +6586,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text len.</TD ></TR ><TR ><TD @@ -5050,7 +6601,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5060,7 +6611,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4060" +NAME="AEN4542" ></A ><H3 ><A @@ -5117,7 +6668,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text content</TD ></TR ><TR ><TD @@ -5134,7 +6685,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the text len.</TD ></TR ><TR ><TD @@ -5149,7 +6700,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5159,7 +6710,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4085" +NAME="AEN4567" ></A ><H3 ><A @@ -5219,7 +6770,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5236,7 +6787,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the comment content</TD ></TR ><TR ><TD @@ -5251,7 +6802,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5261,7 +6812,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4111" +NAME="AEN4593" ></A ><H3 ><A @@ -5317,7 +6868,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the comment content</TD ></TR ><TR ><TD @@ -5332,7 +6883,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5342,7 +6893,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4132" +NAME="AEN4614" ></A ><H3 ><A @@ -5403,7 +6954,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5420,7 +6971,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the CData block content content</TD ></TR ><TR ><TD @@ -5437,7 +6988,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the length of the block</TD ></TR ><TR ><TD @@ -5452,7 +7003,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5462,7 +7013,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4162" +NAME="AEN4644" ></A ><H3 ><A @@ -5522,7 +7073,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5539,7 +7090,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the reference name, or the reference string with & and ;</TD ></TR ><TR ><TD @@ -5554,7 +7105,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new node object.</TD ></TR ></TABLE ><P @@ -5564,7 +7115,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4188" +NAME="AEN4670" ></A ><H3 ><A @@ -5621,7 +7172,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ><TR ><TD @@ -5638,7 +7189,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if 1 do a recursive copy.</TD ></TR ><TR ><TD @@ -5653,7 +7204,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlNodePtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -5663,7 +7214,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4213" +NAME="AEN4695" ></A ><H3 ><A @@ -5719,7 +7270,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first node in the list.</TD ></TR ><TR ><TD @@ -5734,7 +7285,89 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlNodePtr, or NULL in case of error.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4716" +></A +><H3 +><A +NAME="XMLDOCGETROOTELEMENT" +></A +>xmlDocGetRootElement ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> xmlDocGetRootElement (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc);</PRE +></TD +></TR +></TABLE +><P +>Get 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" +> the document</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the xmlNodePtr for the root or NULL</TD ></TR ></TABLE ><P @@ -5744,7 +7377,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4234" +NAME="AEN4737" ></A ><H3 ><A @@ -5800,7 +7433,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the parent node</TD ></TR ><TR ><TD @@ -5815,7 +7448,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the last child or NULL if none.</TD ></TR ></TABLE ><P @@ -5825,7 +7458,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4255" +NAME="AEN4758" ></A ><H3 ><A @@ -5878,7 +7511,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ><TR ><TD @@ -5893,7 +7526,195 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 yes, 0 no</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4778" +></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" +> the document</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" +> the new document root element</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the old root element if any was found</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4804" +></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" +> the node being changed</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" +> the new tag name</TD ></TR ></TABLE ><P @@ -5903,7 +7724,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4275" +NAME="AEN4825" ></A ><H3 ><A @@ -5968,7 +7789,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the parent node</TD ></TR ><TR ><TD @@ -5985,7 +7806,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the child node</TD ></TR ><TR ><TD @@ -6000,7 +7821,111 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the child or NULL in case of error.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4852" +></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" +> the old node</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" +> the node</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the old node</TD ></TR ></TABLE ><P @@ -6010,7 +7935,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4302" +NAME="AEN4878" ></A ><H3 ><A @@ -6041,12 +7966,133 @@ 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" +> the child node</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" +> the new node</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the new element or NULL in case of error.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4906" +></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 @@ -6075,7 +8121,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the child node</TD ></TR ><TR ><TD @@ -6092,7 +8138,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the new node</TD ></TR ><TR ><TD @@ -6107,7 +8153,121 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new element or NULL in case of error.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN4934" +></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 +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" +> the child node</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" +> the new node</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the new element or NULL in case of error.</TD ></TR ></TABLE ><P @@ -6117,7 +8277,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4329" +NAME="AEN4962" ></A ><H3 ><A @@ -6170,7 +8330,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ></TABLE ><P @@ -6180,7 +8340,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4345" +NAME="AEN4978" ></A ><H3 ><A @@ -6240,7 +8400,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first text node</TD ></TR ><TR ><TD @@ -6257,7 +8417,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the second text node being merged</TD ></TR ><TR ><TD @@ -6272,7 +8432,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the first text node augmented</TD ></TR ></TABLE ><P @@ -6282,7 +8442,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4371" +NAME="AEN5004" ></A ><H3 ><A @@ -6340,7 +8500,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ><TR ><TD @@ -6357,7 +8517,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the content</TD ></TR ><TR ><TD @@ -6374,7 +8534,12 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> <TT +CLASS="PARAMETER" +><I +>content</I +></TT +> lenght</TD ></TR ></TABLE ><P @@ -6384,7 +8549,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4396" +NAME="AEN5030" ></A ><H3 ><A @@ -6438,7 +8603,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first node in the list</TD ></TR ></TABLE ><P @@ -6448,7 +8613,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4412" +NAME="AEN5046" ></A ><H3 ><A @@ -6501,7 +8666,86 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN5062" +></A +><H3 +><A +NAME="XMLREMOVEPROP" +></A +>xmlRemoveProp ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xmlRemoveProp (<A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> cur);</PRE +></TD +></TR +></TABLE +><P +>Unlink and free one attribute, all the content is freed too +Note this doesn't work for namespace definition attributes</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" +> an attribute</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>0 if success and -1 in case of error.</TD ></TR ></TABLE ><P @@ -6511,7 +8755,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4428" +NAME="AEN5082" ></A ><H3 ><A @@ -6583,7 +8827,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -6600,7 +8844,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the current node</TD ></TR ><TR ><TD @@ -6617,7 +8861,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the namespace string</TD ></TR ><TR ><TD @@ -6632,7 +8876,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the namespace pointer or NULL.</TD ></TR ></TABLE ><P @@ -6642,7 +8886,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4460" +NAME="AEN5114" ></A ><H3 ><A @@ -6707,7 +8951,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -6724,7 +8968,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the current node</TD ></TR ><TR ><TD @@ -6741,7 +8985,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the namespace value</TD ></TR ><TR ><TD @@ -6756,7 +9000,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the namespace pointer or NULL.</TD ></TR ></TABLE ><P @@ -6766,7 +9010,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4491" +NAME="AEN5145" ></A ><H3 ><A @@ -6826,7 +9070,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -6843,7 +9087,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the current node</TD ></TR ><TR ><TD @@ -6858,7 +9102,9 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>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 ></TR ></TABLE ><P @@ -6868,7 +9114,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4517" +NAME="AEN5171" ></A ><H3 ><A @@ -6925,7 +9171,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a node in the document</TD ></TR ><TR ><TD @@ -6942,7 +9188,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a namespace pointer</TD ></TR ></TABLE ><P @@ -6952,7 +9198,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4538" +NAME="AEN5192" ></A ><H3 ><A @@ -7008,7 +9254,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the namespace</TD ></TR ><TR ><TD @@ -7023,7 +9269,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlNsPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -7033,7 +9279,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4559" +NAME="AEN5213" ></A ><H3 ><A @@ -7089,7 +9335,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the first namespace</TD ></TR ><TR ><TD @@ -7104,7 +9350,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a new xmlNsPtr, or NULL in case of error.</TD ></TR ></TABLE ><P @@ -7114,7 +9360,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4580" +NAME="AEN5234" ></A ><H3 ><A @@ -7178,7 +9424,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ><TR ><TD @@ -7195,7 +9441,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute name</TD ></TR ><TR ><TD @@ -7212,7 +9458,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute value</TD ></TR ><TR ><TD @@ -7227,7 +9473,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the attribute pointer.</TD ></TR ></TABLE ><P @@ -7237,7 +9483,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4611" +NAME="AEN5265" ></A ><H3 ><A @@ -7269,7 +9515,12 @@ HREF="gnome-xml-tree.html#XMLCHAR" ></TABLE ><P >Search and get the value of an attribute associated to a node -This does the entity substitution.</P +This does the entity substitution. +This function looks in DTD attribute declaration for <GTKDOCLINK +HREF="FIXED" +>FIXED</GTKDOCLINK +> or +default declaration values unless DTD use has been turned off.</P ><P ></P ><DIV @@ -7298,7 +9549,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node</TD ></TR ><TR ><TD @@ -7315,7 +9566,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute name</TD ></TR ><TR ><TD @@ -7330,7 +9581,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the attribute value or NULL if not found. +It's up to the caller to free the memory.</TD ></TR ></TABLE ><P @@ -7340,7 +9592,138 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4637" +NAME="AEN5292" +></A +><H3 +><A +NAME="XMLGETNSPROP" +></A +>xmlGetNsProp ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* xmlGetNsProp (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> node, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *name, + const <A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +> *nameSpace);</PRE +></TD +></TR +></TABLE +><P +>Search and get the value of an attribute associated to a node +This attribute has to be anchored in the namespace specified. +This does the entity substitution. +This function looks in DTD attribute declaration for <GTKDOCLINK +HREF="FIXED" +>FIXED</GTKDOCLINK +> or +default declaration values unless DTD use has been turned off.</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 +>node</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the node</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" +> the attribute name</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>nameSpace</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the URI of the namespace</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +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 +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN5324" ></A ><H3 ><A @@ -7401,7 +9784,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -7418,7 +9801,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value of the attribute</TD ></TR ><TR ><TD @@ -7433,7 +9816,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the first child</TD ></TR ></TABLE ><P @@ -7443,7 +9826,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4663" +NAME="AEN5350" ></A ><H3 ><A @@ -7505,7 +9888,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -7522,7 +9905,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value of the text</TD ></TR ><TR ><TD @@ -7539,7 +9922,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the length of the string value</TD ></TR ><TR ><TD @@ -7554,7 +9937,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the first child</TD ></TR ></TABLE ><P @@ -7564,7 +9947,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4693" +NAME="AEN5380" ></A ><H3 ><A @@ -7626,7 +10009,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -7643,7 +10026,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a Node list</TD ></TR ><TR ><TD @@ -7660,7 +10043,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> should we replace entity contents or show their external form</TD ></TR ><TR ><TD @@ -7675,7 +10058,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the string copy, the calller must free it.</TD ></TR ></TABLE ><P @@ -7685,7 +10068,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4723" +NAME="AEN5410" ></A ><H3 ><A @@ -7742,7 +10125,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being modified</TD ></TR ><TR ><TD @@ -7759,7 +10142,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the new value of the content</TD ></TR ></TABLE ><P @@ -7769,7 +10152,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4744" +NAME="AEN5431" ></A ><H3 ><A @@ -7827,7 +10210,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being modified</TD ></TR ><TR ><TD @@ -7844,7 +10227,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the new value of the content</TD ></TR ><TR ><TD @@ -7861,7 +10244,12 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the size of <TT +CLASS="PARAMETER" +><I +>content</I +></TT +></TD ></TR ></TABLE ><P @@ -7871,7 +10259,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4769" +NAME="AEN5457" ></A ><H3 ><A @@ -7928,7 +10316,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being modified</TD ></TR ><TR ><TD @@ -7945,7 +10333,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra content</TD ></TR ></TABLE ><P @@ -7955,7 +10343,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4790" +NAME="AEN5478" ></A ><H3 ><A @@ -8013,7 +10401,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being modified</TD ></TR ><TR ><TD @@ -8030,7 +10418,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra content</TD ></TR ><TR ><TD @@ -8047,7 +10435,12 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the size of <TT +CLASS="PARAMETER" +><I +>content</I +></TT +></TD ></TR ></TABLE ><P @@ -8057,7 +10450,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4815" +NAME="AEN5504" ></A ><H3 ><A @@ -8116,7 +10509,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being read</TD ></TR ><TR ><TD @@ -8131,7 +10524,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a new xmlChar * or NULL if no content is available. +It's up to the caller to free the memory.</TD ></TR ></TABLE ><P @@ -8141,7 +10535,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4836" +NAME="AEN5525" ></A ><H3 ><A @@ -8198,7 +10592,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being checked</TD ></TR ><TR ><TD @@ -8213,7 +10607,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the lang value, or NULL if not found +It's up to the caller to free the memory.</TD ></TR ></TABLE ><P @@ -8223,7 +10618,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4857" +NAME="AEN5546" ></A ><H3 ><A @@ -8251,8 +10646,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 @@ -8281,7 +10676,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being changed</TD ></TR ><TR ><TD @@ -8298,7 +10693,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the langage description</TD ></TR ></TABLE ><P @@ -8308,13 +10703,13 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4878" +NAME="AEN5567" ></A ><H3 ><A -NAME="XMLREMOVEPROP" +NAME="XMLNODEGETBASE" ></A ->xmlRemoveProp ()</H3 +>xmlNodeGetBase ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -8324,16 +10719,23 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlRemoveProp (<A -HREF="gnome-xml-tree.html#XMLATTRPTR" ->xmlAttrPtr</A +><A +HREF="gnome-xml-tree.html#XMLCHAR" +>xmlChar</A +>* xmlNodeGetBase (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A > cur);</PRE ></TD ></TR ></TABLE ><P ->Unlink and free one attribute, all the content is freed too -Note this doesn't work for namespace definition attributes</P +>Searches for the BASE URL. The code should work on both XML +and HTML document even if base mechanisms are completely different.</P ><P ></P ><DIV @@ -8355,6 +10757,23 @@ VALIGN="TOP" ><TT CLASS="PARAMETER" ><I +>doc</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the document the node pertains to</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I >cur</I ></TT > :</TD @@ -8362,7 +10781,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the node being checked</TD ></TR ><TR ><TD @@ -8377,7 +10796,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the base URL, or NULL if not found +It's up to the caller to free the memory.</TD ></TR ></TABLE ><P @@ -8387,7 +10807,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4898" +NAME="AEN5593" ></A ><H3 ><A @@ -8463,7 +10883,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4917" +NAME="AEN5612" ></A ><H3 ><A @@ -8521,7 +10941,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer</TD ></TR ><TR ><TD @@ -8538,7 +10958,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the string to add</TD ></TR ></TABLE ><P @@ -8548,7 +10968,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4938" +NAME="AEN5633" ></A ><H3 ><A @@ -8603,7 +11023,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer output</TD ></TR ><TR ><TD @@ -8620,7 +11040,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the string to add</TD ></TR ></TABLE ><P @@ -8630,7 +11050,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4958" +NAME="AEN5653" ></A ><H3 ><A @@ -8689,7 +11109,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer output</TD ></TR ><TR ><TD @@ -8706,7 +11126,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the string to add</TD ></TR ></TABLE ><P @@ -8716,7 +11136,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN4979" +NAME="AEN5674" ></A ><H3 ><A @@ -8775,7 +11195,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -8792,7 +11212,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> OUT: the memory pointer</TD ></TR ><TR ><TD @@ -8809,7 +11229,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> OUT: the memory lenght</TD ></TR ></TABLE ><P @@ -8819,7 +11239,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5004" +NAME="AEN5699" ></A ><H3 ><A @@ -8876,6 +11296,94 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" +> the FILE*</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" +> the document</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN5720" +></A +><H3 +><A +NAME="XMLELEMDUMP" +></A +>xmlElemDump ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlElemDump (<GTKDOCLINK +HREF="FILE" +>FILE</GTKDOCLINK +> *f, + <A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> cur, + <A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> elem);</PRE +></TD +></TR +></TABLE +><P +>Dump an XML/HTML node, recursive behaviour,children are printed too.</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 +>f</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" > </TD ></TR ><TR @@ -8893,6 +11401,23 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" +> the current node</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 ></TABLE @@ -8903,7 +11428,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5025" +NAME="AEN5746" ></A ><H3 ><A @@ -8929,7 +11454,13 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" ></TABLE ><P >Dump an XML document to a file. Will use compression if -compiled in and enabled.</P +compiled in and enabled. If <TT +CLASS="PARAMETER" +><I +>filename</I +></TT +> is "-" the stdout file is +used.</P ><P ></P ><DIV @@ -8958,7 +11489,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the filename</TD ></TR ><TR ><TD @@ -8975,7 +11506,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -8990,7 +11521,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the number of file written or -1 in case of failure.</TD ></TR ></TABLE ><P @@ -9000,7 +11531,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5049" +NAME="AEN5771" ></A ><H3 ><A @@ -9053,7 +11584,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -9068,7 +11599,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 (uncompressed) to 9 (max compression)</TD ></TR ></TABLE ><P @@ -9078,7 +11609,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5069" +NAME="AEN5791" ></A ><H3 ><A @@ -9133,7 +11664,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -9150,7 +11681,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the compression ratio</TD ></TR ></TABLE ><P @@ -9160,7 +11691,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5089" +NAME="AEN5811" ></A ><H3 ><A @@ -9208,7 +11739,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 (uncompressed) to 9 (max compression)</TD ></TR ></TABLE ><P @@ -9218,7 +11749,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5104" +NAME="AEN5826" ></A ><H3 ><A @@ -9269,7 +11800,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the compression ratio</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-valid.html b/doc/html/gnome-xml-valid.html index 53cf7d87..5982090a 100644 --- a/doc/html/gnome-xml-valid.html +++ b/doc/html/gnome-xml-valid.html @@ -4,7 +4,7 @@ >valid</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-xml-error.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-VALID" ->valid</A -></H1 +>valid</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN5545" +NAME="AEN6288" ></A ><H2 >Name</H2 ->valid -- </DIV +>valid — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN5548" +NAME="AEN6291" ></A ><H2 >Synopsis</H2 @@ -156,10 +150,22 @@ HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC" >) (void *ctx, const char *msg, ...); +struct <A +HREF="gnome-xml-valid.html#XMLVALIDCTXT" +>xmlValidCtxt</A +>; +typedef <A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A +>; #define <A HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE" >XML_MIN_NOTATION_TABLE</A > +struct <A +HREF="gnome-xml-valid.html#XMLNOTATIONTABLE" +>xmlNotationTable</A +>; typedef <A HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" >xmlNotationTablePtr</A @@ -168,6 +174,10 @@ HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR" HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE" >XML_MIN_ELEMENT_TABLE</A > +struct <A +HREF="gnome-xml-valid.html#XMLELEMENTTABLE" +>xmlElementTable</A +>; typedef <A HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" >xmlElementTablePtr</A @@ -176,6 +186,10 @@ HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR" HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE" >XML_MIN_ATTRIBUTE_TABLE</A > +struct <A +HREF="gnome-xml-valid.html#XMLATTRIBUTETABLE" +>xmlAttributeTable</A +>; typedef <A HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" >xmlAttributeTablePtr</A @@ -184,6 +198,10 @@ HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR" HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE" >XML_MIN_ID_TABLE</A > +struct <A +HREF="gnome-xml-valid.html#XMLIDTABLE" +>xmlIDTable</A +>; typedef <A HREF="gnome-xml-valid.html#XMLIDTABLEPTR" >xmlIDTablePtr</A @@ -192,6 +210,10 @@ HREF="gnome-xml-valid.html#XMLIDTABLEPTR" HREF="gnome-xml-valid.html#XML-MIN-REF-TABLE" >XML_MIN_REF_TABLE</A > +struct <A +HREF="gnome-xml-valid.html#XMLREFTABLE" +>xmlRefTable</A +>; typedef <A HREF="gnome-xml-valid.html#XMLREFTABLEPTR" >xmlRefTablePtr</A @@ -202,9 +224,9 @@ HREF="gnome-xml-tree.html#XMLNOTATIONPTR" > <A HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL" >xmlAddNotationDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -287,9 +309,9 @@ HREF="gnome-xml-tree.html#XMLELEMENTPTR" > <A HREF="gnome-xml-valid.html#XMLADDELEMENTDECL" >xmlAddElementDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -368,9 +390,9 @@ HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" > <A HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL" >xmlAddAttributeDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -434,9 +456,9 @@ HREF="gnome-xml-tree.html#XMLIDPTR" > <A HREF="gnome-xml-valid.html#XMLADDID" >xmlAddID</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -496,15 +518,26 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" HREF="gnome-xml-tree.html#XMLATTRPTR" >xmlAttrPtr</A > attr); +int <A +HREF="gnome-xml-valid.html#XMLREMOVEID" +>xmlRemoveID</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> attr); <A HREF="gnome-xml-tree.html#XMLREFPTR" >xmlRefPtr</A > <A HREF="gnome-xml-valid.html#XMLADDREF" >xmlAddRef</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -551,11 +584,22 @@ HREF="gnome-xml-tree.html#XMLATTRPTR" >xmlAttrPtr</A > attr); int <A +HREF="gnome-xml-valid.html#XMLREMOVEREF" +>xmlRemoveRef</A +> (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> attr); +int <A HREF="gnome-xml-valid.html#XMLVALIDATEROOT" >xmlValidateRoot</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -564,9 +608,9 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL" >xmlValidateElementDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -579,9 +623,9 @@ HREF="gnome-xml-tree.html#XMLELEMENTPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL" >xmlValidateAttributeDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -605,9 +649,9 @@ HREF="gnome-xml-tree.html#XMLCHAR" int <A HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL" >xmlValidateNotationDecl</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -620,9 +664,9 @@ HREF="gnome-xml-tree.html#XMLNOTATIONPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEDTD" >xmlValidateDtd</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -635,9 +679,9 @@ HREF="gnome-xml-tree.html#XMLDTDPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT" >xmlValidateDocument</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -646,9 +690,9 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT" >xmlValidateElement</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -661,9 +705,9 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT" >xmlValidateOneElement</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -676,9 +720,9 @@ HREF="gnome-xml-tree.html#XMLNODEPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE" >xmlValidateOneAttribute</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -699,9 +743,9 @@ HREF="gnome-xml-tree.html#XMLCHAR" int <A HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL" >xmlValidateDocumentFinal</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -710,9 +754,9 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" int <A HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE" >xmlValidateNotationUse</A -> (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -798,9 +842,9 @@ HREF="gnome-xml-tree.html#XMLCHAR" int <A HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN" >xmlValidGetPotentialChildren</A -> (<GTKDOCLINK -HREF="XMLELEMENTCONTENT" ->xmlElementContent</GTKDOCLINK +> (<A +HREF="gnome-xml-tree.html#XMLELEMENTCONTENT" +>xmlElementContent</A > *ctree, const <A HREF="gnome-xml-tree.html#XMLCHAR" @@ -815,7 +859,7 @@ HREF="gnome-xml-tree.html#XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5731" +NAME="AEN6487" ></A ><H2 >Description</H2 @@ -825,14 +869,14 @@ NAME="AEN5731" ><DIV CLASS="REFSECT1" ><A -NAME="AEN5734" +NAME="AEN6490" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN5736" +NAME="AEN6492" ></A ><H3 ><A @@ -926,7 +970,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5758" +NAME="AEN6514" ></A ><H3 ><A @@ -1020,7 +1064,63 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5780" +NAME="AEN6536" +></A +><H3 +><A +NAME="XMLVALIDCTXT" +></A +>struct xmlValidCtxt</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlValidCtxt { + void *userData; /* user specific data block */ + xmlValidityErrorFunc error; /* the callback in case of errors */ + xmlValidityWarningFunc warning; /* the callback in case of warning */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6541" +></A +><H3 +><A +NAME="XMLVALIDCTXTPTR" +></A +>xmlValidCtxtPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6546" ></A ><H3 ><A @@ -1036,7 +1136,37 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_NOTATION_TABLE</PRE +>#define XML_MIN_NOTATION_TABLE 32</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6551" +></A +><H3 +><A +NAME="XMLNOTATIONTABLE" +></A +>struct xmlNotationTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlNotationTable { + int nb_notations; /* number of notations stored */ + int max_notations; /* maximum number of notations */ + xmlNotationPtr *table; /* the table of attributes */ +};</PRE ></TD ></TR ></TABLE @@ -1046,20 +1176,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5785" +NAME="AEN6556" ></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="AEN5789" +NAME="AEN6561" ></A ><H3 ><A @@ -1075,7 +1218,37 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ELEMENT_TABLE</PRE +>#define XML_MIN_ELEMENT_TABLE 32</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6566" +></A +><H3 +><A +NAME="XMLELEMENTTABLE" +></A +>struct xmlElementTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlElementTable { + int nb_elements; /* number of elements stored */ + int max_elements; /* maximum number of elements */ + xmlElementPtr *table; /* the table of elements */ +};</PRE ></TD ></TR ></TABLE @@ -1085,20 +1258,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5794" +NAME="AEN6571" ></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="AEN5798" +NAME="AEN6576" ></A ><H3 ><A @@ -1114,7 +1300,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ATTRIBUTE_TABLE</PRE +>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE ></TD ></TR ></TABLE @@ -1124,20 +1310,63 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5803" +NAME="AEN6581" +></A +><H3 +><A +NAME="XMLATTRIBUTETABLE" +></A +>struct xmlAttributeTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlAttributeTable { + int nb_attributes; /* number of attributes stored */ + int max_attributes; /* maximum number of attributes */ + xmlAttributePtr *table; /* the table of attributes */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6586" ></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="AEN5807" +NAME="AEN6591" ></A ><H3 ><A @@ -1153,7 +1382,37 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_ID_TABLE</PRE +>#define XML_MIN_ID_TABLE 32</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6596" +></A +><H3 +><A +NAME="XMLIDTABLE" +></A +>struct xmlIDTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlIDTable { + int nb_ids; /* number of ids stored */ + int max_ids; /* maximum number of ids */ + xmlIDPtr *table; /* the table of ids */ +};</PRE ></TD ></TR ></TABLE @@ -1163,20 +1422,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5812" +NAME="AEN6601" ></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="AEN5816" +NAME="AEN6606" ></A ><H3 ><A @@ -1192,7 +1464,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XML_MIN_REF_TABLE</PRE +>#define XML_MIN_REF_TABLE 32</PRE ></TD ></TR ></TABLE @@ -1202,20 +1474,63 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5821" +NAME="AEN6611" +></A +><H3 +><A +NAME="XMLREFTABLE" +></A +>struct xmlRefTable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlRefTable { + int nb_refs; /* number of refs stored */ + int max_refs; /* maximum number of refs */ + xmlRefPtr *table; /* the table of refs */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN6616" ></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="AEN5825" +NAME="AEN6621" ></A ><H3 ><A @@ -1234,9 +1549,9 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLNOTATIONPTR" >xmlNotationPtr</A -> xmlAddNotationDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> xmlAddNotationDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -1287,7 +1602,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -1304,7 +1619,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the DTD</TD ></TR ><TR ><TD @@ -1321,7 +1636,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -1338,7 +1653,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the public identifier or NULL</TD ></TR ><TR ><TD @@ -1355,7 +1670,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the system identifier or NULL</TD ></TR ><TR ><TD @@ -1370,7 +1685,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the entity</TD ></TR ></TABLE ><P @@ -1380,7 +1695,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5866" +NAME="AEN6662" ></A ><H3 ><A @@ -1436,7 +1751,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> A notation table</TD ></TR ><TR ><TD @@ -1451,7 +1766,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new xmlNotationTablePtr or NULL in case of error.</TD ></TR ></TABLE ><P @@ -1461,7 +1776,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5887" +NAME="AEN6683" ></A ><H3 ><A @@ -1514,7 +1829,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An notation table</TD ></TR ></TABLE ><P @@ -1524,7 +1839,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5903" +NAME="AEN6699" ></A ><H3 ><A @@ -1581,7 +1896,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer output</TD ></TR ><TR ><TD @@ -1598,7 +1913,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> A notation table</TD ></TR ></TABLE ><P @@ -1608,7 +1923,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5924" +NAME="AEN6720" ></A ><H3 ><A @@ -1668,7 +1983,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the subelement name or NULL</TD ></TR ><TR ><TD @@ -1685,7 +2000,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the type of element content decl</TD ></TR ><TR ><TD @@ -1700,7 +2015,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the new element content structure</TD ></TR ></TABLE ><P @@ -1710,7 +2025,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5950" +NAME="AEN6746" ></A ><H3 ><A @@ -1766,7 +2081,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An element content pointer.</TD ></TR ><TR ><TD @@ -1781,7 +2096,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new xmlElementContentPtr or NULL in case of error.</TD ></TR ></TABLE ><P @@ -1791,7 +2106,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5971" +NAME="AEN6767" ></A ><H3 ><A @@ -1844,7 +2159,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element content tree to free</TD ></TR ></TABLE ><P @@ -1854,7 +2169,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN5987" +NAME="AEN6783" ></A ><H3 ><A @@ -1873,9 +2188,9 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLELEMENTPTR" >xmlElementPtr</A -> xmlAddElementDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> xmlAddElementDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -1926,7 +2241,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -1943,7 +2258,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the DTD</TD ></TR ><TR ><TD @@ -1960,7 +2275,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the entity name</TD ></TR ><TR ><TD @@ -1977,7 +2292,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element type</TD ></TR ><TR ><TD @@ -1994,7 +2309,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element content tree or NULL</TD ></TR ><TR ><TD @@ -2009,7 +2324,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the entity</TD ></TR ></TABLE ><P @@ -2019,7 +2334,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6028" +NAME="AEN6824" ></A ><H3 ><A @@ -2075,7 +2390,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An element table</TD ></TR ><TR ><TD @@ -2090,7 +2405,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new xmlElementTablePtr or NULL in case of error.</TD ></TR ></TABLE ><P @@ -2100,7 +2415,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6049" +NAME="AEN6845" ></A ><H3 ><A @@ -2153,7 +2468,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An element table</TD ></TR ></TABLE ><P @@ -2163,7 +2478,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6065" +NAME="AEN6861" ></A ><H3 ><A @@ -2220,7 +2535,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer output</TD ></TR ><TR ><TD @@ -2237,7 +2552,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An element table</TD ></TR ></TABLE ><P @@ -2247,7 +2562,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6086" +NAME="AEN6882" ></A ><H3 ><A @@ -2303,7 +2618,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the enumeration name or NULL</TD ></TR ><TR ><TD @@ -2318,7 +2633,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlEnumerationPtr just created or NULL in case +of error.</TD ></TR ></TABLE ><P @@ -2328,7 +2644,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6107" +NAME="AEN6903" ></A ><H3 ><A @@ -2381,7 +2697,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the tree to free.</TD ></TR ></TABLE ><P @@ -2391,7 +2707,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6123" +NAME="AEN6919" ></A ><H3 ><A @@ -2447,7 +2763,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the tree to copy.</TD ></TR ><TR ><TD @@ -2462,7 +2778,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlEnumerationPtr just created or NULL in case +of error.</TD ></TR ></TABLE ><P @@ -2472,7 +2789,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6144" +NAME="AEN6940" ></A ><H3 ><A @@ -2491,9 +2808,9 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR" >xmlAttributePtr</A -> xmlAddAttributeDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> xmlAddAttributeDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDTDPTR" @@ -2556,7 +2873,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -2573,7 +2890,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the DTD</TD ></TR ><TR ><TD @@ -2590,7 +2907,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element name</TD ></TR ><TR ><TD @@ -2607,7 +2924,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute name</TD ></TR ><TR ><TD @@ -2624,7 +2941,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute type</TD ></TR ><TR ><TD @@ -2641,7 +2958,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute default type</TD ></TR ><TR ><TD @@ -2658,7 +2975,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute default value</TD ></TR ><TR ><TD @@ -2675,7 +2992,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> if it's an enumeration, the associated list</TD ></TR ><TR ><TD @@ -2690,7 +3007,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the entity</TD ></TR ></TABLE ><P @@ -2700,7 +3017,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6200" +NAME="AEN6996" ></A ><H3 ><A @@ -2756,7 +3073,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An attribute table</TD ></TR ><TR ><TD @@ -2771,7 +3088,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the new xmlAttributeTablePtr or NULL in case of error.</TD ></TR ></TABLE ><P @@ -2781,7 +3098,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6221" +NAME="AEN7017" ></A ><H3 ><A @@ -2834,7 +3151,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An attribute table</TD ></TR ></TABLE ><P @@ -2844,7 +3161,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6237" +NAME="AEN7033" ></A ><H3 ><A @@ -2901,7 +3218,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML buffer output</TD ></TR ><TR ><TD @@ -2918,7 +3235,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An attribute table</TD ></TR ></TABLE ><P @@ -2928,7 +3245,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6258" +NAME="AEN7054" ></A ><H3 ><A @@ -2947,9 +3264,9 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLIDPTR" >xmlIDPtr</A -> xmlAddID (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> xmlAddID (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -2996,7 +3313,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -3013,7 +3330,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the document</TD ></TR ><TR ><TD @@ -3030,7 +3347,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value name</TD ></TR ><TR ><TD @@ -3047,7 +3364,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute holding the ID</TD ></TR ><TR ><TD @@ -3062,7 +3379,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the new xmlIDPtr</TD ></TR ></TABLE ><P @@ -3072,7 +3389,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6294" +NAME="AEN7090" ></A ><H3 ><A @@ -3151,7 +3468,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6314" +NAME="AEN7110" ></A ><H3 ><A @@ -3204,7 +3521,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An id table</TD ></TR ></TABLE ><P @@ -3214,7 +3531,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6330" +NAME="AEN7126" ></A ><H3 ><A @@ -3274,7 +3591,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the document</TD ></TR ><TR ><TD @@ -3291,7 +3608,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the ID value</TD ></TR ><TR ><TD @@ -3306,7 +3623,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD ></TR ></TABLE ><P @@ -3316,7 +3633,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6356" +NAME="AEN7152" ></A ><H3 ><A @@ -3379,7 +3696,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -3396,7 +3713,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element carrying the attribute</TD ></TR ><TR ><TD @@ -3413,7 +3730,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute</TD ></TR ><TR ><TD @@ -3428,7 +3745,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 or 1 depending on the lookup result</TD ></TR ></TABLE ><P @@ -3438,7 +3755,106 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6386" +NAME="AEN7182" +></A +><H3 +><A +NAME="XMLREMOVEID" +></A +>xmlRemoveID ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xmlRemoveID (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> attr);</PRE +></TD +></TR +></TABLE +><P +>Remove the given attribute from the ID table maintained internally.</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" +> the document</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>attr</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the attribute</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>-1 if the lookup failed and 0 otherwise</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN7207" ></A ><H3 ><A @@ -3457,9 +3873,9 @@ CLASS="PROGRAMLISTING" ><A HREF="gnome-xml-tree.html#XMLREFPTR" >xmlRefPtr</A -> xmlAddRef (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +> xmlAddRef (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -3506,7 +3922,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -3523,7 +3939,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> pointer to the document</TD ></TR ><TR ><TD @@ -3540,7 +3956,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the value name</TD ></TR ><TR ><TD @@ -3557,7 +3973,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute holding the Ref</TD ></TR ><TR ><TD @@ -3572,7 +3988,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>NULL if not, othervise the new xmlRefPtr</TD ></TR ></TABLE ><P @@ -3582,7 +3998,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6422" +NAME="AEN7243" ></A ><H3 ><A @@ -3661,7 +4077,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6442" +NAME="AEN7263" ></A ><H3 ><A @@ -3714,7 +4130,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> An ref table</TD ></TR ></TABLE ><P @@ -3724,7 +4140,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6458" +NAME="AEN7279" ></A ><H3 ><A @@ -3787,7 +4203,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -3804,7 +4220,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element carrying the attribute</TD ></TR ><TR ><TD @@ -3821,7 +4237,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute</TD ></TR ><TR ><TD @@ -3836,7 +4252,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 or 1 depending on the lookup result</TD ></TR ></TABLE ><P @@ -3846,7 +4262,106 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6488" +NAME="AEN7309" +></A +><H3 +><A +NAME="XMLREMOVEREF" +></A +>xmlRemoveRef ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xmlRemoveRef (<A +HREF="gnome-xml-tree.html#XMLDOCPTR" +>xmlDocPtr</A +> doc, + <A +HREF="gnome-xml-tree.html#XMLATTRPTR" +>xmlAttrPtr</A +> attr);</PRE +></TD +></TR +></TABLE +><P +>Remove the given attribute from the Ref table maintained internally.</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" +> the document</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>attr</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the attribute</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>-1 if the lookup failed and 0 otherwise</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN7334" ></A ><H3 ><A @@ -3862,9 +4377,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateRoot (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateRoot (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -3907,7 +4422,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -3924,7 +4439,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -3939,7 +4454,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -3949,7 +4464,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6513" +NAME="AEN7359" ></A ><H3 ><A @@ -3965,9 +4480,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateElementDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateElementDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4015,7 +4530,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4032,7 +4547,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4049,7 +4564,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element definition</TD ></TR ><TR ><TD @@ -4064,7 +4579,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4074,7 +4589,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6543" +NAME="AEN7389" ></A ><H3 ><A @@ -4090,9 +4605,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateAttributeDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateAttributeDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4142,7 +4657,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4159,7 +4674,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4176,7 +4691,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an attribute definition</TD ></TR ><TR ><TD @@ -4191,7 +4706,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4201,7 +4716,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6574" +NAME="AEN7420" ></A ><H3 ><A @@ -4273,7 +4788,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an attribute type</TD ></TR ><TR ><TD @@ -4290,7 +4805,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an attribute value</TD ></TR ><TR ><TD @@ -4305,7 +4820,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4315,7 +4830,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6603" +NAME="AEN7449" ></A ><H3 ><A @@ -4331,9 +4846,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateNotationDecl (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateNotationDecl (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4380,7 +4895,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4397,7 +4912,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4414,7 +4929,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a notation definition</TD ></TR ><TR ><TD @@ -4429,7 +4944,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4439,7 +4954,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6633" +NAME="AEN7479" ></A ><H3 ><A @@ -4455,9 +4970,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateDtd (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateDtd (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4471,7 +4986,7 @@ HREF="gnome-xml-tree.html#XMLDTDPTR" ></TR ></TABLE ><P ->Try to validate the dtd instance</P +>Try to validate the document against the dtd instance</P ><P >basically it does check all the definitions in the DtD.</P ><P @@ -4502,7 +5017,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4519,7 +5034,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4536,7 +5051,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a dtd instance</TD ></TR ><TR ><TD @@ -4551,7 +5066,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4561,7 +5076,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6664" +NAME="AEN7510" ></A ><H3 ><A @@ -4577,9 +5092,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateDocument (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateDocument (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4622,7 +5137,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4639,7 +5154,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4654,7 +5169,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4664,7 +5179,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6690" +NAME="AEN7536" ></A ><H3 ><A @@ -4680,9 +5195,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateElement (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateElement (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4725,7 +5240,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4742,7 +5257,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4759,7 +5274,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element instance</TD ></TR ><TR ><TD @@ -4774,7 +5289,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4784,7 +5299,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6720" +NAME="AEN7566" ></A ><H3 ><A @@ -4800,9 +5315,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateOneElement (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateOneElement (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4855,7 +5370,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -4872,7 +5387,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -4889,7 +5404,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element instance</TD ></TR ><TR ><TD @@ -4904,7 +5419,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -4914,7 +5429,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6752" +NAME="AEN7598" ></A ><H3 ><A @@ -4930,9 +5445,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateOneAttribute (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateOneAttribute (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -4995,7 +5510,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -5012,7 +5527,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -5029,7 +5544,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element instance</TD ></TR ><TR ><TD @@ -5046,7 +5561,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an attribute instance</TD ></TR ><TR ><TD @@ -5063,7 +5578,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute value (without entities processing)</TD ></TR ><TR ><TD @@ -5078,7 +5593,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -5088,7 +5603,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6793" +NAME="AEN7639" ></A ><H3 ><A @@ -5104,9 +5619,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateDocumentFinal (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateDocumentFinal (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -5148,7 +5663,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -5165,7 +5680,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a document instance</TD ></TR ><TR ><TD @@ -5180,7 +5695,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -5190,7 +5705,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6819" +NAME="AEN7665" ></A ><H3 ><A @@ -5206,9 +5721,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidateNotationUse (<GTKDOCLINK -HREF="XMLVALIDCTXTPTR" ->xmlValidCtxtPtr</GTKDOCLINK +>int xmlValidateNotationUse (<A +HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR" +>xmlValidCtxtPtr</A > ctxt, <A HREF="gnome-xml-tree.html#XMLDOCPTR" @@ -5252,7 +5767,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the validation context</TD ></TR ><TR ><TD @@ -5269,7 +5784,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5286,7 +5801,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the notation name to check</TD ></TR ><TR ><TD @@ -5301,7 +5816,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>1 if valid or 0 otherwise</TD ></TR ></TABLE ><P @@ -5311,7 +5826,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6849" +NAME="AEN7695" ></A ><H3 ><A @@ -5369,7 +5884,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the document</TD ></TR ><TR ><TD @@ -5386,7 +5901,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element name</TD ></TR ><TR ><TD @@ -5401,7 +5916,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 if no, 1 if yes, and -1 if no element description is available</TD ></TR ></TABLE ><P @@ -5411,7 +5926,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6874" +NAME="AEN7720" ></A ><H3 ><A @@ -5476,7 +5991,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to the DtD to search</TD ></TR ><TR ><TD @@ -5493,7 +6008,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element name</TD ></TR ><TR ><TD @@ -5510,7 +6025,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the attribute name</TD ></TR ><TR ><TD @@ -5525,7 +6040,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlAttributePtr if found or NULL</TD ></TR ></TABLE ><P @@ -5535,7 +6050,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6905" +NAME="AEN7751" ></A ><H3 ><A @@ -5595,7 +6110,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to the DtD to search</TD ></TR ><TR ><TD @@ -5612,7 +6127,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the notation name</TD ></TR ><TR ><TD @@ -5627,7 +6142,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlNotationPtr if found or NULL</TD ></TR ></TABLE ><P @@ -5637,7 +6152,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6931" +NAME="AEN7777" ></A ><H3 ><A @@ -5697,7 +6212,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to the DtD to search</TD ></TR ><TR ><TD @@ -5714,7 +6229,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the element name</TD ></TR ><TR ><TD @@ -5729,7 +6244,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlElementPtr if found or NULL</TD ></TR ></TABLE ><P @@ -5739,7 +6254,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6957" +NAME="AEN7803" ></A ><H3 ><A @@ -5822,7 +6337,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element to insert after</TD ></TR ><TR ><TD @@ -5839,7 +6354,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element to insert next</TD ></TR ><TR ><TD @@ -5856,7 +6371,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an array to store the list of child names</TD ></TR ><TR ><TD @@ -5873,7 +6388,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the size of the array</TD ></TR ><TR ><TD @@ -5888,7 +6403,14 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>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 ></TR ></TABLE ><P @@ -5898,7 +6420,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN6994" +NAME="AEN7841" ></A ><H3 ><A @@ -5914,9 +6436,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xmlValidGetPotentialChildren (<GTKDOCLINK -HREF="XMLELEMENTCONTENT" ->xmlElementContent</GTKDOCLINK +>int xmlValidGetPotentialChildren (<A +HREF="gnome-xml-tree.html#XMLELEMENTCONTENT" +>xmlElementContent</A > *ctree, const <A HREF="gnome-xml-tree.html#XMLCHAR" @@ -5957,7 +6479,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an element content tree</TD ></TR ><TR ><TD @@ -5974,7 +6496,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an array to store the list of child names</TD ></TR ><TR ><TD @@ -5991,7 +6513,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a pointer to the number of element in the list</TD ></TR ><TR ><TD @@ -6008,7 +6530,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the size of the array</TD ></TR ><TR ><TD @@ -6023,7 +6545,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the number of element in the list, or -1 in case of error.</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xml-error.html b/doc/html/gnome-xml-xml-error.html index 2b3820c7..47f3a662 100644 --- a/doc/html/gnome-xml-xml-error.html +++ b/doc/html/gnome-xml-xml-error.html @@ -4,7 +4,7 @@ >xml-error</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-htmlparser.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-XML-ERROR" ->xml-error</A -></H1 +>xml-error</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7032" +NAME="AEN7879" ></A ><H2 >Name</H2 ->xml-error -- </DIV +>xml-error — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7035" +NAME="AEN7882" ></A ><H2 >Synopsis</H2 @@ -193,7 +187,7 @@ HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7047" +NAME="AEN7894" ></A ><H2 >Description</H2 @@ -203,14 +197,14 @@ NAME="AEN7047" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7050" +NAME="AEN7897" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7052" +NAME="AEN7899" ></A ><H3 ><A @@ -347,7 +341,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7057" +NAME="AEN7904" ></A ><H3 ><A @@ -400,7 +394,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -417,7 +411,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the message to display/transmit</TD ></TR ><TR ><TD @@ -434,7 +428,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra parameters for the message display</TD ></TR ></TABLE ><P @@ -444,7 +438,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7080" +NAME="AEN7927" ></A ><H3 ><A @@ -497,7 +491,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -514,7 +508,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the message to display/transmit</TD ></TR ><TR ><TD @@ -531,7 +525,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra parameters for the message display</TD ></TR ></TABLE ><P @@ -541,7 +535,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7103" +NAME="AEN7950" ></A ><H3 ><A @@ -594,7 +588,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -611,7 +605,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the message to display/transmit</TD ></TR ><TR ><TD @@ -628,7 +622,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra parameters for the message display</TD ></TR ></TABLE ><P @@ -638,7 +632,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7126" +NAME="AEN7973" ></A ><H3 ><A @@ -691,7 +685,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an XML parser context</TD ></TR ><TR ><TD @@ -708,7 +702,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the message to display/transmit</TD ></TR ><TR ><TD @@ -725,7 +719,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> extra parameters for the message display</TD ></TR ></TABLE ><P @@ -735,7 +729,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7149" +NAME="AEN7996" ></A ><H3 ><A @@ -788,7 +782,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an xmlParserInputPtr input</TD ></TR ></TABLE ><P @@ -798,7 +792,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7165" +NAME="AEN8012" ></A ><H3 ><A @@ -851,7 +845,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an xmlParserInputPtr input</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xmlmemory.html b/doc/html/gnome-xml-xmlmemory.html index cefaf815..f7aae4f3 100644 --- a/doc/html/gnome-xml-xmlmemory.html +++ b/doc/html/gnome-xml-xmlmemory.html @@ -4,7 +4,7 @@ >xmlmemory</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -17,9 +17,6 @@ HREF="gnome-xml-debugxml.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -102,22 +99,19 @@ ALIGN="right" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-XMLMEMORY" ->xmlmemory</A -></H1 +>xmlmemory</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN10660" +NAME="AEN12120" ></A ><H2 >Name</H2 ->xmlmemory -- </DIV +>xmlmemory — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN10663" +NAME="AEN12123" ></A ><H2 >Synopsis</H2 @@ -178,6 +172,14 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMDISPLAY" HREF="FILE" >FILE</GTKDOCLINK > *fp); +void <A +HREF="gnome-xml-xmlmemory.html#XMLMEMSHOW" +>xmlMemShow</A +> (<GTKDOCLINK +HREF="FILE" +>FILE</GTKDOCLINK +> *fp, + int nr); #define <A HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY-LOCATION" >DEBUG_MEMORY_LOCATION</A @@ -216,7 +218,7 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC" ><DIV CLASS="REFSECT1" ><A -NAME="AEN10684" +NAME="AEN12146" ></A ><H2 >Description</H2 @@ -226,14 +228,14 @@ NAME="AEN10684" ><DIV CLASS="REFSECT1" ><A -NAME="AEN10687" +NAME="AEN12149" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN10689" +NAME="AEN12151" ></A ><H3 ><A @@ -249,7 +251,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define NO_DEBUG_MEMORY</PRE +>#define NO_DEBUG_MEMORY</PRE ></TD ></TR ></TABLE @@ -259,7 +261,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10694" +NAME="AEN12156" ></A ><H3 ><A @@ -322,7 +324,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10710" +NAME="AEN12172" ></A ><H3 ><A @@ -388,7 +390,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10727" +NAME="AEN12189" ></A ><H3 ><A @@ -472,7 +474,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10748" +NAME="AEN12210" ></A ><H3 ><A @@ -540,7 +542,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new string or NULL if allocation error occured.</TD ></TR ></TABLE ><P @@ -550,7 +552,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10768" +NAME="AEN12230" ></A ><H3 ><A @@ -598,7 +600,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>0 on success</TD ></TR ></TABLE ><P @@ -608,7 +610,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10783" +NAME="AEN12245" ></A ><H3 ><A @@ -656,7 +658,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>an int representing the amount of memory allocated.</TD ></TR ></TABLE ><P @@ -666,7 +668,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10798" +NAME="AEN12260" ></A ><H3 ><A @@ -694,7 +696,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10804" +NAME="AEN12266" ></A ><H3 ><A @@ -747,7 +749,8 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> a FILE descriptor used as the output file, if NULL, the result is +written to the file .memorylist</TD ></TR ></TABLE ><P @@ -757,7 +760,94 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10820" +NAME="AEN12282" +></A +><H3 +><A +NAME="XMLMEMSHOW" +></A +>xmlMemShow ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlMemShow (<GTKDOCLINK +HREF="FILE" +>FILE</GTKDOCLINK +> *fp, + int nr);</PRE +></TD +></TR +></TABLE +><P +>show a show display of the memory allocated, and dump +the <TT +CLASS="PARAMETER" +><I +>nr</I +></TT +> last allocated areas which were not freed</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 +>fp</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a FILE descriptor used as the output file</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>nr</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> number of entries to dump</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN12303" ></A ><H3 ><A @@ -773,7 +863,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define DEBUG_MEMORY_LOCATION</PRE +>#define DEBUG_MEMORY_LOCATION</PRE ></TD ></TR ></TABLE @@ -783,7 +873,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10825" +NAME="AEN12308" ></A ><H3 ><A @@ -799,7 +889,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define DEBUG_MEMORY</PRE +>#define DEBUG_MEMORY</PRE ></TD ></TR ></TABLE @@ -809,7 +899,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10830" +NAME="AEN12313" ></A ><H3 ><A @@ -825,7 +915,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define MEM_LIST</PRE +>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE ></TD ></TR ></TABLE @@ -835,7 +925,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10835" +NAME="AEN12318" ></A ><H3 ><A @@ -890,7 +980,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an int specifying the size in byte to allocate.</TD ></TR ><TR ><TD @@ -907,7 +997,13 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the file name or NULL + <TT +CLASS="PARAMETER" +><I +>file</I +></TT +>: the line number</TD ></TR ><TR ><TD @@ -934,7 +1030,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10859" +NAME="AEN12343" ></A ><H3 ><A @@ -990,7 +1086,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the initial memory block pointer</TD ></TR ><TR ><TD @@ -1007,7 +1103,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> an int specifying the size in byte to allocate.</TD ></TR ><TR ><TD @@ -1024,7 +1120,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the line number</TD +> the file name or NULL</TD ></TR ><TR ><TD @@ -1051,7 +1147,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN10887" +NAME="AEN12371" ></A ><H3 ><A @@ -1123,7 +1219,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> the line number</TD +> the file name or NULL</TD ></TR ><TR ><TD @@ -1155,7 +1251,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>a pointer to the new string or NULL if allocation error occured.</TD ></TR ></TABLE ><P diff --git a/doc/html/gnome-xml-xpath.html b/doc/html/gnome-xml-xpath.html index a9c46b6c..f0f3e4ee 100644 --- a/doc/html/gnome-xml-xpath.html +++ b/doc/html/gnome-xml-xpath.html @@ -4,7 +4,7 @@ >xpath</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Gnome XML Library Reference Manual" HREF="book1.html"><LINK @@ -20,9 +20,6 @@ HREF="gnome-xml-nanohttp.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -114,22 +111,19 @@ SIZE="3" ></TABLE ></DIV ><H1 -><A -NAME="GNOME-XML-XPATH" ->xpath</A -></H1 +>xpath</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN7611" +NAME="AEN8653" ></A ><H2 >Name</H2 ->xpath -- </DIV +>xpath — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN7614" +NAME="AEN8656" ></A ><H2 >Synopsis</H2 @@ -144,6 +138,30 @@ CELLPADDING="6" CLASS="SYNOPSIS" > +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXT" +>xmlXPathContext</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A +>; +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXT" +>xmlXPathParserContext</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A +>; +struct <A +HREF="gnome-xml-xpath.html#XMLNODESET" +>xmlNodeSet</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLNODESETPTR" +>xmlNodeSetPtr</A +>; #define <A HREF="gnome-xml-xpath.html#XPATH-UNDEFINED" >XPATH_UNDEFINED</A @@ -168,47 +186,87 @@ HREF="gnome-xml-xpath.html#XPATH-STRING" HREF="gnome-xml-xpath.html#XPATH-USERS" >XPATH_USERS</A > +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECT" +>xmlXPathObject</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A +>; int (<A HREF="gnome-xml-xpath.html#XMLXPATHCONVERTFUNC" >*xmlXPathConvertFunc</A ->) (<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +>) (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > obj, int type); +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHTYPE" +>xmlXPathType</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHTYPEPTR" +>xmlXPathTypePtr</A +>; +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHVARIABLE" +>xmlXPathVariable</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHVARIABLEPTR" +>xmlXPathVariablePtr</A +>; void (<A HREF="gnome-xml-xpath.html#XMLXPATHEVALFUNC" >*xmlXPathEvalFunc</A ->) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +>) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, int nargs); -<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHFUNCT" +>xmlXPathFunct</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHFUNCPTR" +>xmlXPathFuncPtr</A +>; +<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > (<A HREF="gnome-xml-xpath.html#XMLXPATHAXISFUNC" >*xmlXPathAxisFunc</A ->) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +>) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, - <GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK + <A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > cur); +struct <A +HREF="gnome-xml-xpath.html#XMLXPATHAXIS" +>xmlXPathAxis</A +>; +typedef <A +HREF="gnome-xml-xpath.html#XMLXPATHAXISPTR" +>xmlXPathAxisPtr</A +>; void (<A HREF="gnome-xml-xpath.html#XMLXPATHFUNCTION" >*xmlXPathFunction</A ->) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +>) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, int nargs); -<GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK +<A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > <A HREF="gnome-xml-xpath.html#XMLXPATHNEWCONTEXT" >xmlXPathNewContext</A @@ -219,13 +277,13 @@ HREF="gnome-xml-tree.html#XMLDOCPTR" void <A HREF="gnome-xml-xpath.html#XMLXPATHFREECONTEXT" >xmlXPathFreeContext</A -> (<GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > ctxt); -<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > <A HREF="gnome-xml-xpath.html#XMLXPATHEVAL" >xmlXPathEval</A @@ -233,20 +291,20 @@ HREF="gnome-xml-xpath.html#XMLXPATHEVAL" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *str, - <GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK + <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > ctxt); void <A HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT" >xmlXPathFreeObject</A -> (<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +> (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > obj); -<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > <A HREF="gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION" >xmlXPathEvalExpression</A @@ -254,10 +312,34 @@ HREF="gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION" HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *str, - <GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK -> ctxt);</PRE + <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A +> ctxt); +<A +HREF="gnome-xml-xpath.html#XMLNODESETPTR" +>xmlNodeSetPtr</A +> <A +HREF="gnome-xml-xpath.html#XMLXPATHNODESETCREATE" +>xmlXPathNodeSetCreate</A +> (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> val); +void <A +HREF="gnome-xml-xpath.html#XMLXPATHFREENODESETLIST" +>xmlXPathFreeNodeSetList</A +> (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A +> obj); +void <A +HREF="gnome-xml-xpath.html#XMLXPATHFREENODESET" +>xmlXPathFreeNodeSet</A +> (<A +HREF="gnome-xml-xpath.html#XMLNODESETPTR" +>xmlNodeSetPtr</A +> obj);</PRE ></TD ></TR ></TABLE @@ -265,7 +347,7 @@ HREF="XMLXPATHCONTEXTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7648" +NAME="AEN8713" ></A ><H2 >Description</H2 @@ -275,14 +357,210 @@ NAME="AEN7648" ><DIV CLASS="REFSECT1" ><A -NAME="AEN7651" +NAME="AEN8716" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN7653" +NAME="AEN8718" +></A +><H3 +><A +NAME="XMLXPATHCONTEXT" +></A +>struct xmlXPathContext</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathContext { + xmlDocPtr doc; /* The current document */ + xmlNodePtr node; /* The current node */ + xmlNodeSetPtr nodelist; /* The current node list */ + + int nb_variables; /* number of defined variables */ + int max_variables; /* max number of variables */ + xmlXPathVariablePtr *variables; /* Array of defined variables */ + + int nb_types; /* number of defined types */ + int max_types; /* max number of types */ + xmlXPathTypePtr *types; /* Array of defined types */ + + int nb_funcs; /* number of defined funcs */ + int max_funcs; /* max number of funcs */ + xmlXPathFuncPtr *funcs; /* Array of defined funcs */ + + int nb_axis; /* number of defined axis */ + int max_axis; /* max number of axis */ + xmlXPathAxisPtr *axis; /* Array of defined axis */ + + /* Namespace traversal should be implemented with user */ + xmlNsPtr *namespaces; /* The namespaces lookup */ + int nsNr; /* the current Namespace index */ + void *user; /* user defined extra info */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8723" +></A +><H3 +><A +NAME="XMLXPATHCONTEXTPTR" +></A +>xmlXPathContextPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathContext *xmlXPathContextPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8728" +></A +><H3 +><A +NAME="XMLXPATHPARSERCONTEXT" +></A +>struct xmlXPathParserContext</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathParserContext { + const xmlChar *cur; /* the current char being parsed */ + const xmlChar *base; /* the full expression */ + + int error; /* error code */ + + xmlXPathContextPtr context; /* the evaluation context */ + xmlXPathObjectPtr value; /* the current value */ + int valueNr; /* number of values stacked */ + int valueMax; /* max number of values stacked */ + xmlXPathObjectPtr *valueTab; /* stack of values */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8733" +></A +><H3 +><A +NAME="XMLXPATHPARSERCONTEXTPTR" +></A +>xmlXPathParserContextPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathParserContext *xmlXPathParserContextPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8738" +></A +><H3 +><A +NAME="XMLNODESET" +></A +>struct xmlNodeSet</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlNodeSet { + int nodeNr; /* # of node in the set */ + int nodeMax; /* allocated space */ + xmlNodePtr *nodeTab; /* array of nodes in no particular order */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8743" +></A +><H3 +><A +NAME="XMLNODESETPTR" +></A +>xmlNodeSetPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlNodeSet *xmlNodeSetPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8748" ></A ><H3 ><A @@ -298,7 +576,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_UNDEFINED</PRE +>#define XPATH_UNDEFINED 0</PRE ></TD ></TR ></TABLE @@ -308,7 +586,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7658" +NAME="AEN8753" ></A ><H3 ><A @@ -324,7 +602,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_NODESET</PRE +>#define XPATH_NODESET 1</PRE ></TD ></TR ></TABLE @@ -334,7 +612,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7663" +NAME="AEN8758" ></A ><H3 ><A @@ -350,7 +628,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_BOOLEAN</PRE +>#define XPATH_BOOLEAN 2</PRE ></TD ></TR ></TABLE @@ -360,7 +638,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7668" +NAME="AEN8763" ></A ><H3 ><A @@ -376,7 +654,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_NUMBER</PRE +>#define XPATH_NUMBER 3</PRE ></TD ></TR ></TABLE @@ -386,7 +664,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7673" +NAME="AEN8768" ></A ><H3 ><A @@ -402,7 +680,7 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_STRING</PRE +>#define XPATH_STRING 4</PRE ></TD ></TR ></TABLE @@ -412,7 +690,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7678" +NAME="AEN8773" ></A ><H3 ><A @@ -428,7 +706,40 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->#define XPATH_USERS</PRE +>#define XPATH_USERS 5</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8778" +></A +><H3 +><A +NAME="XMLXPATHOBJECT" +></A +>struct xmlXPathObject</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathObject { + int type; + xmlNodeSetPtr nodesetval; + int boolval; + double floatval; + xmlChar *stringval; + void *user; +};</PRE ></TD ></TR ></TABLE @@ -438,7 +749,33 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7683" +NAME="AEN8783" +></A +><H3 +><A +NAME="XMLXPATHOBJECTPTR" +></A +>xmlXPathObjectPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathObject *xmlXPathObjectPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8788" ></A ><H3 ><A @@ -454,9 +791,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int (*xmlXPathConvertFunc) (<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +>int (*xmlXPathConvertFunc) (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > obj, int type);</PRE ></TD @@ -532,7 +869,117 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7706" +NAME="AEN8811" +></A +><H3 +><A +NAME="XMLXPATHTYPE" +></A +>struct xmlXPathType</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathType { + const xmlChar *name; /* the type name */ + xmlXPathConvertFunc func; /* the conversion function */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8816" +></A +><H3 +><A +NAME="XMLXPATHTYPEPTR" +></A +>xmlXPathTypePtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathType *xmlXPathTypePtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8821" +></A +><H3 +><A +NAME="XMLXPATHVARIABLE" +></A +>struct xmlXPathVariable</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathVariable { + const xmlChar *name; /* the variable name */ + xmlXPathObjectPtr value; /* the value */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8826" +></A +><H3 +><A +NAME="XMLXPATHVARIABLEPTR" +></A +>xmlXPathVariablePtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathVariable *xmlXPathVariablePtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8831" ></A ><H3 ><A @@ -548,9 +995,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void (*xmlXPathEvalFunc) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +>void (*xmlXPathEvalFunc) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD @@ -611,7 +1058,62 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7725" +NAME="AEN8850" +></A +><H3 +><A +NAME="XMLXPATHFUNCT" +></A +>struct xmlXPathFunct</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathFunct { + const xmlChar *name; /* the function name */ + xmlXPathEvalFunc func; /* the evaluation function */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8855" +></A +><H3 +><A +NAME="XMLXPATHFUNCPTR" +></A +>xmlXPathFuncPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathFunct *xmlXPathFuncPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8860" ></A ><H3 ><A @@ -627,16 +1129,16 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK -> (*xmlXPathAxisFunc) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +><A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A +> (*xmlXPathAxisFunc) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, - <GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK + <A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > cur);</PRE ></TD ></TR @@ -711,7 +1213,62 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7750" +NAME="AEN8885" +></A +><H3 +><A +NAME="XMLXPATHAXIS" +></A +>struct xmlXPathAxis</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xmlXPathAxis { + const xmlChar *name; /* the axis name */ + xmlXPathAxisFunc func; /* the search function */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8890" +></A +><H3 +><A +NAME="XMLXPATHAXISPTR" +></A +>xmlXPathAxisPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xmlXPathAxis *xmlXPathAxisPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN8895" ></A ><H3 ><A @@ -727,9 +1284,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void (*xmlXPathFunction) (<GTKDOCLINK -HREF="XMLXPATHPARSERCONTEXTPTR" ->xmlXPathParserContextPtr</GTKDOCLINK +>void (*xmlXPathFunction) (<A +HREF="gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</A > ctxt, int nargs);</PRE ></TD @@ -790,7 +1347,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7769" +NAME="AEN8914" ></A ><H3 ><A @@ -806,9 +1363,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK +><A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > xmlXPathNewContext (<A HREF="gnome-xml-tree.html#XMLDOCPTR" >xmlDocPtr</A @@ -846,7 +1403,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XML document</TD ></TR ><TR ><TD @@ -861,7 +1418,7 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlXPathContext just allocated.</TD ></TR ></TABLE ><P @@ -871,7 +1428,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7790" +NAME="AEN8935" ></A ><H3 ><A @@ -887,9 +1444,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xmlXPathFreeContext (<GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK +>void xmlXPathFreeContext (<A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR @@ -924,7 +1481,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the context to free</TD ></TR ></TABLE ><P @@ -934,7 +1491,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7806" +NAME="AEN8951" ></A ><H3 ><A @@ -950,16 +1507,16 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +><A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > xmlXPathEval (const <A HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *str, - <GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK + <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR @@ -994,7 +1551,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XPath expression</TD ></TR ><TR ><TD @@ -1011,7 +1568,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XPath context</TD ></TR ><TR ><TD @@ -1026,7 +1583,8 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlXPathObjectPtr resulting from the eveluation or NULL. +the caller has to free the object.</TD ></TR ></TABLE ><P @@ -1036,7 +1594,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7832" +NAME="AEN8977" ></A ><H3 ><A @@ -1052,9 +1610,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xmlXPathFreeObject (<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +>void xmlXPathFreeObject (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > obj);</PRE ></TD ></TR @@ -1089,7 +1647,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the object to free</TD ></TR ></TABLE ><P @@ -1099,7 +1657,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN7848" +NAME="AEN8993" ></A ><H3 ><A @@ -1115,16 +1673,16 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK +><A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A > xmlXPathEvalExpression (const <A HREF="gnome-xml-tree.html#XMLCHAR" >xmlChar</A > *str, - <GTKDOCLINK -HREF="XMLXPATHCONTEXTPTR" ->xmlXPathContextPtr</GTKDOCLINK + <A +HREF="gnome-xml-xpath.html#XMLXPATHCONTEXTPTR" +>xmlXPathContextPtr</A > ctxt);</PRE ></TD ></TR @@ -1159,7 +1717,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XPath expression</TD ></TR ><TR ><TD @@ -1176,7 +1734,7 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +> the XPath context</TD ></TR ><TR ><TD @@ -1191,7 +1749,229 @@ CLASS="EMPHASIS" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> </TD +>the xmlXPathObjectPtr resulting from the evaluation or NULL. +the caller has to free the object.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN9019" +></A +><H3 +><A +NAME="XMLXPATHNODESETCREATE" +></A +>xmlXPathNodeSetCreate ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="gnome-xml-xpath.html#XMLNODESETPTR" +>xmlNodeSetPtr</A +> xmlXPathNodeSetCreate (<A +HREF="gnome-xml-tree.html#XMLNODEPTR" +>xmlNodePtr</A +> val);</PRE +></TD +></TR +></TABLE +><P +>Create a new xmlNodeSetPtr of type double and of value <TT +CLASS="PARAMETER" +><I +>val</I +></TT +></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 +>val</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an initial xmlNodePtr, or NULL</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>the newly created object.</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN9041" +></A +><H3 +><A +NAME="XMLXPATHFREENODESETLIST" +></A +>xmlXPathFreeNodeSetList ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlXPathFreeNodeSetList (<A +HREF="gnome-xml-xpath.html#XMLXPATHOBJECTPTR" +>xmlXPathObjectPtr</A +> obj);</PRE +></TD +></TR +></TABLE +><P +>Free up the xmlXPathObjectPtr <TT +CLASS="PARAMETER" +><I +>obj</I +></TT +> but don't deallocate the objects in +the list contrary to <A +HREF="gnome-xml-xpath.html#XMLXPATHFREEOBJECT" +>xmlXPathFreeObject</A +>().</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 +>obj</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an existing NodeSetList object</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN9059" +></A +><H3 +><A +NAME="XMLXPATHFREENODESET" +></A +>xmlXPathFreeNodeSet ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xmlXPathFreeNodeSet (<A +HREF="gnome-xml-xpath.html#XMLNODESETPTR" +>xmlNodeSetPtr</A +> obj);</PRE +></TD +></TR +></TABLE +><P +>Free the NodeSet compound (not the actual nodes !).</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 +>obj</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the xmlNodeSetPtr to free</TD ></TR ></TABLE ><P diff --git a/doc/html/index.sgml b/doc/html/index.sgml index 2814563e..d09373d3 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -1,9 +1,10 @@ <ANCHOR id ="GNOME-XML-PARSER" href="gnome-xml/gnome-xml-parser.html"> <ANCHOR id ="XML-DEFAULT-VERSION" href="gnome-xml/gnome-xml-parser.html#XML-DEFAULT-VERSION"> <ANCHOR id ="XMLPARSERINPUTDEALLOCATE" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUTDEALLOCATE"> +<ANCHOR id ="XMLPARSERINPUT" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUT"> <ANCHOR id ="XMLPARSERINPUTPTR" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUTPTR"> -<ANCHOR id ="XMLEXTERNALENTITYLOADER" href="gnome-xml/gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"> <ANCHOR id ="XMLPARSERNODEINFO" href="gnome-xml/gnome-xml-parser.html#XMLPARSERNODEINFO"> +<ANCHOR id ="XMLPARSERNODEINFOPTR" href="gnome-xml/gnome-xml-parser.html#XMLPARSERNODEINFOPTR"> <ANCHOR id ="XMLPARSERNODEINFOSEQ" href="gnome-xml/gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"> <ANCHOR id ="XMLPARSERNODEINFOSEQPTR" href="gnome-xml/gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"> <ANCHOR id ="XMLPARSERINPUTSTATE" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUTSTATE"> @@ -38,12 +39,15 @@ <ANCHOR id ="ISSTANDALONESAXFUNC" href="gnome-xml/gnome-xml-parser.html#ISSTANDALONESAXFUNC"> <ANCHOR id ="HASINTERNALSUBSETSAXFUNC" href="gnome-xml/gnome-xml-parser.html#HASINTERNALSUBSETSAXFUNC"> <ANCHOR id ="HASEXTERNALSUBSETSAXFUNC" href="gnome-xml/gnome-xml-parser.html#HASEXTERNALSUBSETSAXFUNC"> +<ANCHOR id ="XMLSAXHANDLER" href="gnome-xml/gnome-xml-parser.html#XMLSAXHANDLER"> <ANCHOR id ="XMLSAXHANDLERPTR" href="gnome-xml/gnome-xml-parser.html#XMLSAXHANDLERPTR"> +<ANCHOR id ="XMLEXTERNALENTITYLOADER" href="gnome-xml/gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"> <ANCHOR id ="XMLPARSERVERSION" href="gnome-xml/gnome-xml-parser.html#XMLPARSERVERSION"> <ANCHOR id ="XMLDEFAULTSAXLOCATOR" href="gnome-xml/gnome-xml-parser.html#XMLDEFAULTSAXLOCATOR"> <ANCHOR id ="XMLDEFAULTSAXHANDLER" href="gnome-xml/gnome-xml-parser.html#XMLDEFAULTSAXHANDLER"> <ANCHOR id ="HTMLDEFAULTSAXHANDLER" href="gnome-xml/gnome-xml-parser.html#HTMLDEFAULTSAXHANDLER"> <ANCHOR id ="XMLSUBSTITUTEENTITIESDEFAULTVALUE" href="gnome-xml/gnome-xml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"> +<ANCHOR id ="XMLCLEANUPPARSER" href="gnome-xml/gnome-xml-parser.html#XMLCLEANUPPARSER"> <ANCHOR id ="XMLPARSERINPUTREAD" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUTREAD"> <ANCHOR id ="XMLPARSERINPUTGROW" href="gnome-xml/gnome-xml-parser.html#XMLPARSERINPUTGROW"> <ANCHOR id ="XMLSTRDUP" href="gnome-xml/gnome-xml-parser.html#XMLSTRDUP"> @@ -71,11 +75,15 @@ <ANCHOR id ="XMLSAXPARSEFILE" href="gnome-xml/gnome-xml-parser.html#XMLSAXPARSEFILE"> <ANCHOR id ="XMLPARSEDTD" href="gnome-xml/gnome-xml-parser.html#XMLPARSEDTD"> <ANCHOR id ="XMLSAXPARSEDTD" href="gnome-xml/gnome-xml-parser.html#XMLSAXPARSEDTD"> +<ANCHOR id ="XMLDEFAULTSAXHANDLERINIT" href="gnome-xml/gnome-xml-parser.html#XMLDEFAULTSAXHANDLERINIT"> +<ANCHOR id ="HTMLDEFAULTSAXHANDLERINIT" href="gnome-xml/gnome-xml-parser.html#HTMLDEFAULTSAXHANDLERINIT"> <ANCHOR id ="XMLINITPARSERCTXT" href="gnome-xml/gnome-xml-parser.html#XMLINITPARSERCTXT"> <ANCHOR id ="XMLCLEARPARSERCTXT" href="gnome-xml/gnome-xml-parser.html#XMLCLEARPARSERCTXT"> +<ANCHOR id ="XMLFREEPARSERCTXT" href="gnome-xml/gnome-xml-parser.html#XMLFREEPARSERCTXT"> <ANCHOR id ="XMLSETUPPARSERFORBUFFER" href="gnome-xml/gnome-xml-parser.html#XMLSETUPPARSERFORBUFFER"> -<ANCHOR id ="XMLDEFAULTSAXHANDLERINIT" href="gnome-xml/gnome-xml-parser.html#XMLDEFAULTSAXHANDLERINIT"> -<ANCHOR id ="HTMLDEFAULTSAXHANDLERINIT" href="gnome-xml/gnome-xml-parser.html#HTMLDEFAULTSAXHANDLERINIT"> +<ANCHOR id ="XMLCREATEDOCPARSERCTXT" href="gnome-xml/gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"> +<ANCHOR id ="XMLCREATEPUSHPARSERCTXT" href="gnome-xml/gnome-xml-parser.html#XMLCREATEPUSHPARSERCTXT"> +<ANCHOR id ="XMLPARSECHUNK" href="gnome-xml/gnome-xml-parser.html#XMLPARSECHUNK"> <ANCHOR id ="XMLPARSERFINDNODEINFO" href="gnome-xml/gnome-xml-parser.html#XMLPARSERFINDNODEINFO"> <ANCHOR id ="XMLINITNODEINFOSEQ" href="gnome-xml/gnome-xml-parser.html#XMLINITNODEINFOSEQ"> <ANCHOR id ="XMLCLEARNODEINFOSEQ" href="gnome-xml/gnome-xml-parser.html#XMLCLEARNODEINFOSEQ"> @@ -126,32 +134,45 @@ <ANCHOR id ="XMLCHAR" href="gnome-xml/gnome-xml-tree.html#XMLCHAR"> <ANCHOR id ="CHAR" href="gnome-xml/gnome-xml-tree.html#CHAR"> <ANCHOR id ="BAD-CAST" href="gnome-xml/gnome-xml-tree.html#BAD-CAST"> +<ANCHOR id ="XMLNOTATION" href="gnome-xml/gnome-xml-tree.html#XMLNOTATION"> <ANCHOR id ="XMLNOTATIONPTR" href="gnome-xml/gnome-xml-tree.html#XMLNOTATIONPTR"> <ANCHOR id ="XMLATTRIBUTETYPE" href="gnome-xml/gnome-xml-tree.html#XMLATTRIBUTETYPE"> <ANCHOR id ="XMLATTRIBUTEDEFAULT" href="gnome-xml/gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"> +<ANCHOR id ="XMLENUMERATION" href="gnome-xml/gnome-xml-tree.html#XMLENUMERATION"> <ANCHOR id ="XMLENUMERATIONPTR" href="gnome-xml/gnome-xml-tree.html#XMLENUMERATIONPTR"> +<ANCHOR id ="XMLATTRIBUTE" href="gnome-xml/gnome-xml-tree.html#XMLATTRIBUTE"> <ANCHOR id ="XMLATTRIBUTEPTR" href="gnome-xml/gnome-xml-tree.html#XMLATTRIBUTEPTR"> <ANCHOR id ="XMLELEMENTCONTENTTYPE" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"> <ANCHOR id ="XMLELEMENTCONTENTOCCUR" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTCONTENTOCCUR"> +<ANCHOR id ="XMLELEMENTCONTENT" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTCONTENT"> <ANCHOR id ="XMLELEMENTCONTENTPTR" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTCONTENTPTR"> <ANCHOR id ="XMLELEMENTTYPEVAL" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTTYPEVAL"> +<ANCHOR id ="XMLELEMENT" href="gnome-xml/gnome-xml-tree.html#XMLELEMENT"> <ANCHOR id ="XMLELEMENTPTR" href="gnome-xml/gnome-xml-tree.html#XMLELEMENTPTR"> <ANCHOR id ="XMLNSTYPE" href="gnome-xml/gnome-xml-tree.html#XMLNSTYPE"> +<ANCHOR id ="XMLNS" href="gnome-xml/gnome-xml-tree.html#XMLNS"> <ANCHOR id ="XMLNSPTR" href="gnome-xml/gnome-xml-tree.html#XMLNSPTR"> +<ANCHOR id ="XMLDTD" href="gnome-xml/gnome-xml-tree.html#XMLDTD"> <ANCHOR id ="XMLDTDPTR" href="gnome-xml/gnome-xml-tree.html#XMLDTDPTR"> +<ANCHOR id ="XMLATTR" href="gnome-xml/gnome-xml-tree.html#XMLATTR"> <ANCHOR id ="XMLATTRPTR" href="gnome-xml/gnome-xml-tree.html#XMLATTRPTR"> +<ANCHOR id ="XMLID" href="gnome-xml/gnome-xml-tree.html#XMLID"> <ANCHOR id ="XMLIDPTR" href="gnome-xml/gnome-xml-tree.html#XMLIDPTR"> +<ANCHOR id ="XMLREF" href="gnome-xml/gnome-xml-tree.html#XMLREF"> <ANCHOR id ="XMLREFPTR" href="gnome-xml/gnome-xml-tree.html#XMLREFPTR"> +<ANCHOR id ="XMLBUFFERALLOCATIONSCHEME" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERALLOCATIONSCHEME"> +<ANCHOR id ="XMLBUFFER" href="gnome-xml/gnome-xml-tree.html#XMLBUFFER"> +<ANCHOR id ="XMLBUFFERPTR" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERPTR"> <ANCHOR id ="XMLNODE" href="gnome-xml/gnome-xml-tree.html#XMLNODE"> <ANCHOR id ="XMLNODEPTR" href="gnome-xml/gnome-xml-tree.html#XMLNODEPTR"> <ANCHOR id ="XMLDOC" href="gnome-xml/gnome-xml-tree.html#XMLDOC"> <ANCHOR id ="XMLDOCPTR" href="gnome-xml/gnome-xml-tree.html#XMLDOCPTR"> -<ANCHOR id ="XMLBUFFER" href="gnome-xml/gnome-xml-tree.html#XMLBUFFER"> -<ANCHOR id ="XMLBUFFERPTR" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERPTR"> <ANCHOR id ="BASEDTD" href="gnome-xml/gnome-xml-tree.html#BASEDTD"> <ANCHOR id ="OLDXMLWDCOMPATIBILITY" href="gnome-xml/gnome-xml-tree.html#OLDXMLWDCOMPATIBILITY"> <ANCHOR id ="XMLINDENTTREEOUTPUT" href="gnome-xml/gnome-xml-tree.html#XMLINDENTTREEOUTPUT"> +<ANCHOR id ="XMLBUFFERALLOCSCHEME" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERALLOCSCHEME"> <ANCHOR id ="XMLBUFFERCREATE" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERCREATE"> +<ANCHOR id ="XMLBUFFERCREATESIZE" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERCREATESIZE"> <ANCHOR id ="XMLBUFFERFREE" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERFREE"> <ANCHOR id ="XMLBUFFERDUMP" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERDUMP"> <ANCHOR id ="XMLBUFFERADD" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERADD"> @@ -159,6 +180,10 @@ <ANCHOR id ="XMLBUFFERCCAT" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERCCAT"> <ANCHOR id ="XMLBUFFERSHRINK" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERSHRINK"> <ANCHOR id ="XMLBUFFEREMPTY" href="gnome-xml/gnome-xml-tree.html#XMLBUFFEREMPTY"> +<ANCHOR id ="XMLBUFFERCONTENT" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERCONTENT"> +<ANCHOR id ="XMLBUFFERUSE" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERUSE"> +<ANCHOR id ="XMLBUFFERSETALLOCATIONSCHEME" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERSETALLOCATIONSCHEME"> +<ANCHOR id ="XMLBUFFERLENGTH" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERLENGTH"> <ANCHOR id ="XMLCREATEINTSUBSET" href="gnome-xml/gnome-xml-tree.html#XMLCREATEINTSUBSET"> <ANCHOR id ="XMLNEWDTD" href="gnome-xml/gnome-xml-tree.html#XMLNEWDTD"> <ANCHOR id ="XMLFREEDTD" href="gnome-xml/gnome-xml-tree.html#XMLFREEDTD"> @@ -177,8 +202,10 @@ <ANCHOR id ="XMLCOPYDTD" href="gnome-xml/gnome-xml-tree.html#XMLCOPYDTD"> <ANCHOR id ="XMLCOPYDOC" href="gnome-xml/gnome-xml-tree.html#XMLCOPYDOC"> <ANCHOR id ="XMLNEWDOCNODE" href="gnome-xml/gnome-xml-tree.html#XMLNEWDOCNODE"> +<ANCHOR id ="XMLNEWDOCRAWNODE" href="gnome-xml/gnome-xml-tree.html#XMLNEWDOCRAWNODE"> <ANCHOR id ="XMLNEWNODE" href="gnome-xml/gnome-xml-tree.html#XMLNEWNODE"> <ANCHOR id ="XMLNEWCHILD" href="gnome-xml/gnome-xml-tree.html#XMLNEWCHILD"> +<ANCHOR id ="XMLNEWTEXTCHILD" href="gnome-xml/gnome-xml-tree.html#XMLNEWTEXTCHILD"> <ANCHOR id ="XMLNEWDOCTEXT" href="gnome-xml/gnome-xml-tree.html#XMLNEWDOCTEXT"> <ANCHOR id ="XMLNEWTEXT" href="gnome-xml/gnome-xml-tree.html#XMLNEWTEXT"> <ANCHOR id ="XMLNEWPI" href="gnome-xml/gnome-xml-tree.html#XMLNEWPI"> @@ -190,15 +217,22 @@ <ANCHOR id ="XMLNEWREFERENCE" href="gnome-xml/gnome-xml-tree.html#XMLNEWREFERENCE"> <ANCHOR id ="XMLCOPYNODE" href="gnome-xml/gnome-xml-tree.html#XMLCOPYNODE"> <ANCHOR id ="XMLCOPYNODELIST" href="gnome-xml/gnome-xml-tree.html#XMLCOPYNODELIST"> +<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"> <ANCHOR id ="XMLFREENODELIST" href="gnome-xml/gnome-xml-tree.html#XMLFREENODELIST"> <ANCHOR id ="XMLFREENODE" href="gnome-xml/gnome-xml-tree.html#XMLFREENODE"> +<ANCHOR id ="XMLREMOVEPROP" href="gnome-xml/gnome-xml-tree.html#XMLREMOVEPROP"> <ANCHOR id ="XMLSEARCHNS" href="gnome-xml/gnome-xml-tree.html#XMLSEARCHNS"> <ANCHOR id ="XMLSEARCHNSBYHREF" href="gnome-xml/gnome-xml-tree.html#XMLSEARCHNSBYHREF"> <ANCHOR id ="XMLGETNSLIST" href="gnome-xml/gnome-xml-tree.html#XMLGETNSLIST"> @@ -207,6 +241,7 @@ <ANCHOR id ="XMLCOPYNAMESPACELIST" href="gnome-xml/gnome-xml-tree.html#XMLCOPYNAMESPACELIST"> <ANCHOR id ="XMLSETPROP" href="gnome-xml/gnome-xml-tree.html#XMLSETPROP"> <ANCHOR id ="XMLGETPROP" href="gnome-xml/gnome-xml-tree.html#XMLGETPROP"> +<ANCHOR id ="XMLGETNSPROP" href="gnome-xml/gnome-xml-tree.html#XMLGETNSPROP"> <ANCHOR id ="XMLSTRINGGETNODELIST" href="gnome-xml/gnome-xml-tree.html#XMLSTRINGGETNODELIST"> <ANCHOR id ="XMLSTRINGLENGETNODELIST" href="gnome-xml/gnome-xml-tree.html#XMLSTRINGLENGETNODELIST"> <ANCHOR id ="XMLNODELISTGETSTRING" href="gnome-xml/gnome-xml-tree.html#XMLNODELISTGETSTRING"> @@ -217,13 +252,14 @@ <ANCHOR id ="XMLNODEGETCONTENT" href="gnome-xml/gnome-xml-tree.html#XMLNODEGETCONTENT"> <ANCHOR id ="XMLNODEGETLANG" href="gnome-xml/gnome-xml-tree.html#XMLNODEGETLANG"> <ANCHOR id ="XMLNODESETLANG" href="gnome-xml/gnome-xml-tree.html#XMLNODESETLANG"> -<ANCHOR id ="XMLREMOVEPROP" href="gnome-xml/gnome-xml-tree.html#XMLREMOVEPROP"> +<ANCHOR id ="XMLNODEGETBASE" href="gnome-xml/gnome-xml-tree.html#XMLNODEGETBASE"> <ANCHOR id ="XMLREMOVENODE" href="gnome-xml/gnome-xml-tree.html#XMLREMOVENODE"> <ANCHOR id ="XMLBUFFERWRITECHAR" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERWRITECHAR"> <ANCHOR id ="XMLBUFFERWRITECHAR" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERWRITECHAR"> <ANCHOR id ="XMLBUFFERWRITEQUOTEDSTRING" href="gnome-xml/gnome-xml-tree.html#XMLBUFFERWRITEQUOTEDSTRING"> <ANCHOR id ="XMLDOCDUMPMEMORY" href="gnome-xml/gnome-xml-tree.html#XMLDOCDUMPMEMORY"> <ANCHOR id ="XMLDOCDUMP" href="gnome-xml/gnome-xml-tree.html#XMLDOCDUMP"> +<ANCHOR id ="XMLELEMDUMP" href="gnome-xml/gnome-xml-tree.html#XMLELEMDUMP"> <ANCHOR id ="XMLSAVEFILE" href="gnome-xml/gnome-xml-tree.html#XMLSAVEFILE"> <ANCHOR id ="XMLGETDOCCOMPRESSMODE" href="gnome-xml/gnome-xml-tree.html#XMLGETDOCCOMPRESSMODE"> <ANCHOR id ="XMLSETDOCCOMPRESSMODE" href="gnome-xml/gnome-xml-tree.html#XMLSETDOCCOMPRESSMODE"> @@ -236,8 +272,10 @@ <ANCHOR id ="XML-INTERNAL-PARAMETER-ENTITY" href="gnome-xml/gnome-xml-entities.html#XML-INTERNAL-PARAMETER-ENTITY"> <ANCHOR id ="XML-EXTERNAL-PARAMETER-ENTITY" href="gnome-xml/gnome-xml-entities.html#XML-EXTERNAL-PARAMETER-ENTITY"> <ANCHOR id ="XML-INTERNAL-PREDEFINED-ENTITY" href="gnome-xml/gnome-xml-entities.html#XML-INTERNAL-PREDEFINED-ENTITY"> +<ANCHOR id ="XMLENTITY" href="gnome-xml/gnome-xml-entities.html#XMLENTITY"> <ANCHOR id ="XMLENTITYPTR" href="gnome-xml/gnome-xml-entities.html#XMLENTITYPTR"> <ANCHOR id ="XML-MIN-ENTITIES-TABLE" href="gnome-xml/gnome-xml-entities.html#XML-MIN-ENTITIES-TABLE"> +<ANCHOR id ="XMLENTITIESTABLE" href="gnome-xml/gnome-xml-entities.html#XMLENTITIESTABLE"> <ANCHOR id ="XMLENTITIESTABLEPTR" href="gnome-xml/gnome-xml-entities.html#XMLENTITIESTABLEPTR"> <ANCHOR id ="XMLADDDOCENTITY" href="gnome-xml/gnome-xml-entities.html#XMLADDDOCENTITY"> <ANCHOR id ="XMLADDDTDENTITY" href="gnome-xml/gnome-xml-entities.html#XMLADDDTDENTITY"> @@ -251,18 +289,26 @@ <ANCHOR id ="XMLCOPYENTITIESTABLE" href="gnome-xml/gnome-xml-entities.html#XMLCOPYENTITIESTABLE"> <ANCHOR id ="XMLFREEENTITIESTABLE" href="gnome-xml/gnome-xml-entities.html#XMLFREEENTITIESTABLE"> <ANCHOR id ="XMLDUMPENTITIESTABLE" href="gnome-xml/gnome-xml-entities.html#XMLDUMPENTITIESTABLE"> +<ANCHOR id ="XMLCLEANUPPREDEFINEDENTITIES" href="gnome-xml/gnome-xml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"> <ANCHOR id ="GNOME-XML-VALID" href="gnome-xml/gnome-xml-valid.html"> <ANCHOR id ="XMLVALIDITYERRORFUNC" href="gnome-xml/gnome-xml-valid.html#XMLVALIDITYERRORFUNC"> <ANCHOR id ="XMLVALIDITYWARNINGFUNC" href="gnome-xml/gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC"> +<ANCHOR id ="XMLVALIDCTXT" href="gnome-xml/gnome-xml-valid.html#XMLVALIDCTXT"> +<ANCHOR id ="XMLVALIDCTXTPTR" href="gnome-xml/gnome-xml-valid.html#XMLVALIDCTXTPTR"> <ANCHOR id ="XML-MIN-NOTATION-TABLE" href="gnome-xml/gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"> +<ANCHOR id ="XMLNOTATIONTABLE" href="gnome-xml/gnome-xml-valid.html#XMLNOTATIONTABLE"> <ANCHOR id ="XMLNOTATIONTABLEPTR" href="gnome-xml/gnome-xml-valid.html#XMLNOTATIONTABLEPTR"> <ANCHOR id ="XML-MIN-ELEMENT-TABLE" href="gnome-xml/gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"> +<ANCHOR id ="XMLELEMENTTABLE" href="gnome-xml/gnome-xml-valid.html#XMLELEMENTTABLE"> <ANCHOR id ="XMLELEMENTTABLEPTR" href="gnome-xml/gnome-xml-valid.html#XMLELEMENTTABLEPTR"> <ANCHOR id ="XML-MIN-ATTRIBUTE-TABLE" href="gnome-xml/gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"> +<ANCHOR id ="XMLATTRIBUTETABLE" href="gnome-xml/gnome-xml-valid.html#XMLATTRIBUTETABLE"> <ANCHOR id ="XMLATTRIBUTETABLEPTR" href="gnome-xml/gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"> <ANCHOR id ="XML-MIN-ID-TABLE" href="gnome-xml/gnome-xml-valid.html#XML-MIN-ID-TABLE"> +<ANCHOR id ="XMLIDTABLE" href="gnome-xml/gnome-xml-valid.html#XMLIDTABLE"> <ANCHOR id ="XMLIDTABLEPTR" href="gnome-xml/gnome-xml-valid.html#XMLIDTABLEPTR"> <ANCHOR id ="XML-MIN-REF-TABLE" href="gnome-xml/gnome-xml-valid.html#XML-MIN-REF-TABLE"> +<ANCHOR id ="XMLREFTABLE" href="gnome-xml/gnome-xml-valid.html#XMLREFTABLE"> <ANCHOR id ="XMLREFTABLEPTR" href="gnome-xml/gnome-xml-valid.html#XMLREFTABLEPTR"> <ANCHOR id ="XMLADDNOTATIONDECL" href="gnome-xml/gnome-xml-valid.html#XMLADDNOTATIONDECL"> <ANCHOR id ="XMLCOPYNOTATIONTABLE" href="gnome-xml/gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"> @@ -287,10 +333,12 @@ <ANCHOR id ="XMLFREEIDTABLE" href="gnome-xml/gnome-xml-valid.html#XMLFREEIDTABLE"> <ANCHOR id ="XMLGETID" href="gnome-xml/gnome-xml-valid.html#XMLGETID"> <ANCHOR id ="XMLISID" href="gnome-xml/gnome-xml-valid.html#XMLISID"> +<ANCHOR id ="XMLREMOVEID" href="gnome-xml/gnome-xml-valid.html#XMLREMOVEID"> <ANCHOR id ="XMLADDREF" href="gnome-xml/gnome-xml-valid.html#XMLADDREF"> <ANCHOR id ="XMLCOPYREFTABLE" href="gnome-xml/gnome-xml-valid.html#XMLCOPYREFTABLE"> <ANCHOR id ="XMLFREEREFTABLE" href="gnome-xml/gnome-xml-valid.html#XMLFREEREFTABLE"> <ANCHOR id ="XMLISREF" href="gnome-xml/gnome-xml-valid.html#XMLISREF"> +<ANCHOR id ="XMLREMOVEREF" href="gnome-xml/gnome-xml-valid.html#XMLREMOVEREF"> <ANCHOR id ="XMLVALIDATEROOT" href="gnome-xml/gnome-xml-valid.html#XMLVALIDATEROOT"> <ANCHOR id ="XMLVALIDATEELEMENTDECL" href="gnome-xml/gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"> <ANCHOR id ="XMLVALIDATEATTRIBUTEDECL" href="gnome-xml/gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"> @@ -327,8 +375,14 @@ <ANCHOR id ="HTMLPARSERINPUTPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSERINPUTPTR"> <ANCHOR id ="HTMLDOCPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLDOCPTR"> <ANCHOR id ="HTMLNODEPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLNODEPTR"> +<ANCHOR id ="HTMLELEMDESC" href="gnome-xml/gnome-xml-htmlparser.html#HTMLELEMDESC"> +<ANCHOR id ="HTMLELEMDESCPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLELEMDESCPTR"> +<ANCHOR id ="HTMLENTITYDESC" href="gnome-xml/gnome-xml-htmlparser.html#HTMLENTITYDESC"> +<ANCHOR id ="HTMLENTITYDESCPTR" href="gnome-xml/gnome-xml-htmlparser.html#HTMLENTITYDESCPTR"> <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"> @@ -336,6 +390,9 @@ <ANCHOR id ="HTMLPARSEDOC" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSEDOC"> <ANCHOR id ="HTMLSAXPARSEFILE" href="gnome-xml/gnome-xml-htmlparser.html#HTMLSAXPARSEFILE"> <ANCHOR id ="HTMLPARSEFILE" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSEFILE"> +<ANCHOR id ="HTMLFREEPARSERCTXT" href="gnome-xml/gnome-xml-htmlparser.html#HTMLFREEPARSERCTXT"> +<ANCHOR id ="HTMLCREATEPUSHPARSERCTXT" href="gnome-xml/gnome-xml-htmlparser.html#HTMLCREATEPUSHPARSERCTXT"> +<ANCHOR id ="HTMLPARSECHUNK" href="gnome-xml/gnome-xml-htmlparser.html#HTMLPARSECHUNK"> <ANCHOR id ="GNOME-XML-HTMLTREE" href="gnome-xml/gnome-xml-htmltree.html"> <ANCHOR id ="HTML-TEXT-NODE" href="gnome-xml/gnome-xml-htmltree.html#HTML-TEXT-NODE"> <ANCHOR id ="HTML-ENTITY-REF-NODE" href="gnome-xml/gnome-xml-htmltree.html#HTML-ENTITY-REF-NODE"> @@ -344,21 +401,40 @@ <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 ="XMLXPATHCONTEXT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHCONTEXT"> +<ANCHOR id ="XMLXPATHCONTEXTPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHCONTEXTPTR"> +<ANCHOR id ="XMLXPATHPARSERCONTEXT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHPARSERCONTEXT"> +<ANCHOR id ="XMLXPATHPARSERCONTEXTPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHPARSERCONTEXTPTR"> +<ANCHOR id ="XMLNODESET" href="gnome-xml/gnome-xml-xpath.html#XMLNODESET"> +<ANCHOR id ="XMLNODESETPTR" href="gnome-xml/gnome-xml-xpath.html#XMLNODESETPTR"> <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"> <ANCHOR id ="XPATH-NUMBER" href="gnome-xml/gnome-xml-xpath.html#XPATH-NUMBER"> <ANCHOR id ="XPATH-STRING" href="gnome-xml/gnome-xml-xpath.html#XPATH-STRING"> <ANCHOR id ="XPATH-USERS" href="gnome-xml/gnome-xml-xpath.html#XPATH-USERS"> +<ANCHOR id ="XMLXPATHOBJECT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHOBJECT"> +<ANCHOR id ="XMLXPATHOBJECTPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHOBJECTPTR"> <ANCHOR id ="XMLXPATHCONVERTFUNC" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHCONVERTFUNC"> +<ANCHOR id ="XMLXPATHTYPE" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHTYPE"> +<ANCHOR id ="XMLXPATHTYPEPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHTYPEPTR"> +<ANCHOR id ="XMLXPATHVARIABLE" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHVARIABLE"> +<ANCHOR id ="XMLXPATHVARIABLEPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHVARIABLEPTR"> <ANCHOR id ="XMLXPATHEVALFUNC" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHEVALFUNC"> +<ANCHOR id ="XMLXPATHFUNCT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFUNCT"> +<ANCHOR id ="XMLXPATHFUNCPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFUNCPTR"> <ANCHOR id ="XMLXPATHAXISFUNC" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHAXISFUNC"> +<ANCHOR id ="XMLXPATHAXIS" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHAXIS"> +<ANCHOR id ="XMLXPATHAXISPTR" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHAXISPTR"> <ANCHOR id ="XMLXPATHFUNCTION" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFUNCTION"> <ANCHOR id ="XMLXPATHNEWCONTEXT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHNEWCONTEXT"> <ANCHOR id ="XMLXPATHFREECONTEXT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFREECONTEXT"> <ANCHOR id ="XMLXPATHEVAL" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHEVAL"> <ANCHOR id ="XMLXPATHFREEOBJECT" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFREEOBJECT"> <ANCHOR id ="XMLXPATHEVALEXPRESSION" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHEVALEXPRESSION"> +<ANCHOR id ="XMLXPATHNODESETCREATE" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHNODESETCREATE"> +<ANCHOR id ="XMLXPATHFREENODESETLIST" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFREENODESETLIST"> +<ANCHOR id ="XMLXPATHFREENODESET" href="gnome-xml/gnome-xml-xpath.html#XMLXPATHFREENODESET"> <ANCHOR id ="GNOME-XML-NANOHTTP" href="gnome-xml/gnome-xml-nanohttp.html"> <ANCHOR id ="XMLNANOHTTPFETCH" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPFETCH"> <ANCHOR id ="XMLNANOHTTPMETHOD" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPMETHOD"> @@ -368,12 +444,15 @@ <ANCHOR id ="XMLNANOHTTPSAVE" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPSAVE"> <ANCHOR id ="XMLNANOHTTPCLOSE" href="gnome-xml/gnome-xml-nanohttp.html#XMLNANOHTTPCLOSE"> <ANCHOR id ="GNOME-XML-XMLIO" href="gnome-xml/gnome-xml-xmlio.html"> +<ANCHOR id ="XMLPARSERINPUTBUFFER" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFER"> <ANCHOR id ="XMLPARSERINPUTBUFFERPTR" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"> +<ANCHOR id ="XMLALLOCPARSERINPUTBUFFER" href="gnome-xml/gnome-xml-xmlio.html#XMLALLOCPARSERINPUTBUFFER"> <ANCHOR id ="XMLPARSERINPUTBUFFERCREATEFILENAME" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFILENAME"> <ANCHOR id ="XMLPARSERINPUTBUFFERCREATEFILE" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFILE"> <ANCHOR id ="XMLPARSERINPUTBUFFERCREATEFD" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERCREATEFD"> <ANCHOR id ="XMLPARSERINPUTBUFFERREAD" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERREAD"> <ANCHOR id ="XMLPARSERINPUTBUFFERGROW" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERGROW"> +<ANCHOR id ="XMLPARSERINPUTBUFFERPUSH" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPUSH"> <ANCHOR id ="XMLFREEPARSERINPUTBUFFER" href="gnome-xml/gnome-xml-xmlio.html#XMLFREEPARSERINPUTBUFFER"> <ANCHOR id ="XMLPARSERGETDIRECTORY" href="gnome-xml/gnome-xml-xmlio.html#XMLPARSERGETDIRECTORY"> <ANCHOR id ="GNOME-XML-PARSERINTERNALS" href="gnome-xml/gnome-xml-parserinternals.html"> @@ -468,13 +547,15 @@ <ANCHOR id ="XMLCHARENCODING" href="gnome-xml/gnome-xml-encoding.html#XMLCHARENCODING"> <ANCHOR id ="XMLCHARENCODINGINPUTFUNC" href="gnome-xml/gnome-xml-encoding.html#XMLCHARENCODINGINPUTFUNC"> <ANCHOR id ="XMLCHARENCODINGOUTPUTFUNC" href="gnome-xml/gnome-xml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"> +<ANCHOR id ="XMLCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLCHARENCODINGHANDLER"> <ANCHOR id ="XMLCHARENCODINGHANDLERPTR" href="gnome-xml/gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"> +<ANCHOR id ="XMLINITCHARENCODINGHANDLERS" href="gnome-xml/gnome-xml-encoding.html#XMLINITCHARENCODINGHANDLERS"> +<ANCHOR id ="XMLCLEANUPCHARENCODINGHANDLERS" href="gnome-xml/gnome-xml-encoding.html#XMLCLEANUPCHARENCODINGHANDLERS"> <ANCHOR id ="XMLREGISTERCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLREGISTERCHARENCODINGHANDLER"> -<ANCHOR id ="XMLGETCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLGETCHARENCODINGHANDLER"> -<ANCHOR id ="XMLFINDCHARENCODINGHANDLER" href="gnome-xml/gnome-xml-encoding.html#XMLFINDCHARENCODINGHANDLER"> <ANCHOR id ="XMLDETECTCHARENCODING" href="gnome-xml/gnome-xml-encoding.html#XMLDETECTCHARENCODING"> <ANCHOR id ="XMLPARSECHARENCODING" href="gnome-xml/gnome-xml-encoding.html#XMLPARSECHARENCODING"> -<ANCHOR id ="XMLINITCHARENCODINGHANDLERS" href="gnome-xml/gnome-xml-encoding.html#XMLINITCHARENCODINGHANDLERS"> +<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 ="XMLDEBUGDUMPSTRING" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPSTRING"> <ANCHOR id ="XMLDEBUGDUMPATTR" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPATTR"> @@ -482,7 +563,15 @@ <ANCHOR id ="XMLDEBUGDUMPONENODE" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPONENODE"> <ANCHOR id ="XMLDEBUGDUMPNODE" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPNODE"> <ANCHOR id ="XMLDEBUGDUMPNODELIST" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPNODELIST"> +<ANCHOR id ="XMLDEBUGDUMPDOCUMENTHEAD" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"> <ANCHOR id ="XMLDEBUGDUMPDOCUMENT" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENT"> +<ANCHOR id ="XMLDEBUGDUMPENTITIES" href="gnome-xml/gnome-xml-debugxml.html#XMLDEBUGDUMPENTITIES"> +<ANCHOR id ="XMLLSONENODE" href="gnome-xml/gnome-xml-debugxml.html#XMLLSONENODE"> +<ANCHOR id ="XMLSHELLREADLINEFUNC" href="gnome-xml/gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"> +<ANCHOR id ="XMLSHELLCTXT" href="gnome-xml/gnome-xml-debugxml.html#XMLSHELLCTXT"> +<ANCHOR id ="XMLSHELLCTXTPTR" href="gnome-xml/gnome-xml-debugxml.html#XMLSHELLCTXTPTR"> +<ANCHOR id ="XMLSHELLCMD" href="gnome-xml/gnome-xml-debugxml.html#XMLSHELLCMD"> +<ANCHOR id ="XMLSHELL" href="gnome-xml/gnome-xml-debugxml.html#XMLSHELL"> <ANCHOR id ="GNOME-XML-XMLMEMORY" href="gnome-xml/gnome-xml-xmlmemory.html"> <ANCHOR id ="NO-DEBUG-MEMORY" href="gnome-xml/gnome-xml-xmlmemory.html#NO-DEBUG-MEMORY"> <ANCHOR id ="XMLFREE" href="gnome-xml/gnome-xml-xmlmemory.html#XMLFREE"> @@ -493,6 +582,7 @@ <ANCHOR id ="XMLMEMUSED" href="gnome-xml/gnome-xml-xmlmemory.html#XMLMEMUSED"> <ANCHOR id ="XMLMEMORYDUMP" href="gnome-xml/gnome-xml-xmlmemory.html#XMLMEMORYDUMP"> <ANCHOR id ="XMLMEMDISPLAY" href="gnome-xml/gnome-xml-xmlmemory.html#XMLMEMDISPLAY"> +<ANCHOR id ="XMLMEMSHOW" href="gnome-xml/gnome-xml-xmlmemory.html#XMLMEMSHOW"> <ANCHOR id ="DEBUG-MEMORY-LOCATION" href="gnome-xml/gnome-xml-xmlmemory.html#DEBUG-MEMORY-LOCATION"> <ANCHOR id ="DEBUG-MEMORY" href="gnome-xml/gnome-xml-xmlmemory.html#DEBUG-MEMORY"> <ANCHOR id ="MEM-LIST" href="gnome-xml/gnome-xml-xmlmemory.html#MEM-LIST"> |