1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

Oops, it seems I forgot to commit 1.8.4 changes

- restored xmlNewGlobalNs since this seems used
- fixed a problem with INCLUDE_WINSOCK
- removed all calls to exit() from the library code.
- removed bugs detected by Windows compilers
- started adding interfaces for parsing well balanced XML fragments
- releasing 1.8.4
- rebuilt the docs
Daniel
This commit is contained in:
Daniel Veillard 2000-01-14 14:45:24 +00:00
parent 2eac503994
commit 0142b84bbf
25 changed files with 872 additions and 676 deletions

View File

@ -1,3 +1,17 @@
Thu Jan 13 11:49:11 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* tree.c : restored xmlNewGlobalNs since this seems used by
a lot of existing code :-(, fixed a bug in xmlNewNs
* nanohttp.c: fixed a problem with INCLUDE_WINSOCK
* HTMLparser.c, parser.c, entities.c, valid.c : removed all calls
to exit() from the library code.
* xpath.c, parser.c: removed bugs or unused code detected by
Windows compilers
* parser.c: started adding interfaces for parsing well balanced
XML fragments
* configure.in: releasing 1.8.4
* doc/* : rebuilt the docs
Sun Jan 9 23:03:20 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* tree.[ch] : added xmlNewDocFragment() for DOM

View File

@ -69,7 +69,7 @@ scope int html##name##Push(htmlParserCtxtPtr ctxt, type value) { \
ctxt->name##Max * sizeof(ctxt->name##Tab[0])); \
if (ctxt->name##Tab == NULL) { \
fprintf(stderr, "realloc failed !\n"); \
exit(1); \
return(0); \
} \
} \
ctxt->name##Tab[ctxt->name##Nr] = value; \
@ -854,7 +854,7 @@ htmlEntityDesc html40EntitiesTable[] = {
buffer = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
if (buffer == NULL) { \
perror("realloc failed"); \
exit(1); \
return(NULL); \
} \
}

View File

@ -1,60 +1,5 @@
SAX.setDocumentLocator()
SAX.startDocument()
SAX.processingInstruction(xml-stylesheet, type="text/xml"
href="#style1")
SAX.internalSubset(doc, (null), doc.dtd)
SAX.startElement(doc)
SAX.characters(
, 1)
SAX.startElement(head)
SAX.characters(
, 1)
SAX.startElement(xsl:stylesheet, id='style1', version='1.0', xmlns:xsl='http://www.w3.org/1999/XSL/Transform', xmlns:fo='http://www.w3.org/1999/XSL/Format')
SAX.characters(
, 1)
SAX.startElement(xsl:import, href='doc.xsl')
SAX.endElement(xsl:import)
SAX.characters(
, 1)
SAX.startElement(xsl:template, match='id('foo')')
SAX.characters(
, 1)
SAX.startElement(fo:block, font-weight='bold')
SAX.startElement(xsl:apply-templates)
SAX.endElement(xsl:apply-templates)
SAX.endElement(fo:block)
SAX.characters(
, 1)
SAX.endElement(xsl:template)
SAX.characters(
, 1)
SAX.startElement(xsl:template, match='xsl:stylesheet')
SAX.characters(
, 1)
SAX.comment( ignore )
SAX.characters(
, 1)
SAX.endElement(xsl:template)
SAX.characters(
, 1)
SAX.endElement(xsl:stylesheet)
SAX.characters(
, 1)
SAX.endElement(head)
SAX.characters(
, 1)
SAX.startElement(body)
SAX.characters(
, 1)
SAX.startElement(para, id='foo')
SAX.characters(
...
, 5)
SAX.endElement(para)
SAX.characters(
, 1)
SAX.endElement(body)
SAX.characters(
, 1)
SAX.endElement(doc)
SAX.startElement(diagram, testattr='test', xml:lang='en', xml:link='simple', xml:space='preserve')
SAX.endElement(diagram)
SAX.endDocument()

View File

@ -5,7 +5,7 @@ AM_CONFIG_HEADER(config.h)
LIBXML_MAJOR_VERSION=1
LIBXML_MINOR_VERSION=8
LIBXML_MICRO_VERSION=3
LIBXML_MICRO_VERSION=4
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN5846"
NAME="AEN5870"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN5846"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN5849"
NAME="AEN5873"
></A
><H2
>Synopsis</H2
@ -356,7 +356,7 @@ HREF="gnome-xml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN5909"
NAME="AEN5933"
></A
><H2
>Description</H2
@ -366,14 +366,14 @@ NAME="AEN5909"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN5912"
NAME="AEN5936"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN5914"
NAME="AEN5938"
></A
><H3
><A
@ -399,7 +399,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5919"
NAME="AEN5943"
></A
><H3
><A
@ -425,7 +425,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5924"
NAME="AEN5948"
></A
><H3
><A
@ -451,7 +451,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5929"
NAME="AEN5953"
></A
><H3
><A
@ -477,7 +477,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5934"
NAME="AEN5958"
></A
><H3
><A
@ -503,7 +503,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5939"
NAME="AEN5963"
></A
><H3
><A
@ -529,7 +529,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5944"
NAME="AEN5968"
></A
><H3
><A
@ -564,7 +564,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5949"
NAME="AEN5973"
></A
><H3
><A
@ -590,7 +590,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5954"
NAME="AEN5978"
></A
><H3
><A
@ -616,7 +616,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5959"
NAME="AEN5983"
></A
><H3
><A
@ -646,7 +646,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5964"
NAME="AEN5988"
></A
><H3
><A
@ -672,7 +672,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN5969"
NAME="AEN5993"
></A
><H3
><A
@ -837,7 +837,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6009"
NAME="AEN6033"
></A
><H3
><A
@ -1002,7 +1002,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6049"
NAME="AEN6073"
></A
><H3
><A
@ -1083,7 +1083,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6070"
NAME="AEN6094"
></A
><H3
><A
@ -1187,7 +1187,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6096"
NAME="AEN6120"
></A
><H3
><A
@ -1290,7 +1290,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6122"
NAME="AEN6146"
></A
><H3
><A
@ -1393,7 +1393,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6148"
NAME="AEN6172"
></A
><H3
><A
@ -1502,7 +1502,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6176"
NAME="AEN6200"
></A
><H3
><A
@ -1610,7 +1610,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6203"
NAME="AEN6227"
></A
><H3
><A
@ -1671,7 +1671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6219"
NAME="AEN6243"
></A
><H3
><A
@ -1752,7 +1752,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6240"
NAME="AEN6264"
></A
><H3
><A
@ -1815,7 +1815,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6256"
NAME="AEN6280"
></A
><H3
><A
@ -1899,7 +1899,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6277"
NAME="AEN6301"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN8033"
NAME="AEN8057"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN8033"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8036"
NAME="AEN8060"
></A
><H2
>Synopsis</H2
@ -354,7 +354,7 @@ HREF="gnome-xml-htmlparser.html#HTMLPARSERCTXTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8093"
NAME="AEN8117"
></A
><H2
>Description</H2
@ -364,14 +364,14 @@ NAME="AEN8093"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8096"
NAME="AEN8120"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN8098"
NAME="AEN8122"
></A
><H3
><A
@ -397,7 +397,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8103"
NAME="AEN8127"
></A
><H3
><A
@ -423,7 +423,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8108"
NAME="AEN8132"
></A
><H3
><A
@ -449,7 +449,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8113"
NAME="AEN8137"
></A
><H3
><A
@ -475,7 +475,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8118"
NAME="AEN8142"
></A
><H3
><A
@ -501,7 +501,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8123"
NAME="AEN8147"
></A
><H3
><A
@ -527,7 +527,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8128"
NAME="AEN8152"
></A
><H3
><A
@ -553,7 +553,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8133"
NAME="AEN8157"
></A
><H3
><A
@ -579,7 +579,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8138"
NAME="AEN8162"
></A
><H3
><A
@ -605,7 +605,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8143"
NAME="AEN8167"
></A
><H3
><A
@ -639,7 +639,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8148"
NAME="AEN8172"
></A
><H3
><A
@ -665,7 +665,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8153"
NAME="AEN8177"
></A
><H3
><A
@ -695,7 +695,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8158"
NAME="AEN8182"
></A
><H3
><A
@ -721,7 +721,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8163"
NAME="AEN8187"
></A
><H3
><A
@ -802,7 +802,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8184"
NAME="AEN8208"
></A
><H3
><A
@ -885,7 +885,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8206"
NAME="AEN8230"
></A
><H3
><A
@ -986,7 +986,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8231"
NAME="AEN8255"
></A
><H3
><A
@ -1109,7 +1109,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8261"
NAME="AEN8285"
></A
><H3
><A
@ -1214,7 +1214,7 @@ if non-NULL *str will have to be freed by the caller.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8288"
NAME="AEN8312"
></A
><H3
><A
@ -1298,7 +1298,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8310"
NAME="AEN8334"
></A
><H3
><A
@ -1365,7 +1365,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8328"
NAME="AEN8352"
></A
><H3
><A
@ -1505,7 +1505,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8362"
NAME="AEN8386"
></A
><H3
><A
@ -1604,7 +1604,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8387"
NAME="AEN8411"
></A
><H3
><A
@ -1742,7 +1742,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8420"
NAME="AEN8444"
></A
><H3
><A
@ -1839,7 +1839,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8444"
NAME="AEN8468"
></A
><H3
><A
@ -1903,7 +1903,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8460"
NAME="AEN8484"
></A
><H3
><A
@ -2090,7 +2090,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8504"
NAME="AEN8528"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN8541"
NAME="AEN8565"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN8541"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8544"
NAME="AEN8568"
></A
><H2
>Synopsis</H2
@ -188,7 +188,7 @@ HREF="gnome-xml-tree.html#XMLDOCPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8558"
NAME="AEN8582"
></A
><H2
>Description</H2
@ -198,14 +198,14 @@ NAME="AEN8558"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8561"
NAME="AEN8585"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN8563"
NAME="AEN8587"
></A
><H3
><A
@ -231,7 +231,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8568"
NAME="AEN8592"
></A
><H3
><A
@ -257,7 +257,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8573"
NAME="AEN8597"
></A
><H3
><A
@ -283,7 +283,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8578"
NAME="AEN8602"
></A
><H3
><A
@ -386,7 +386,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8603"
NAME="AEN8627"
></A
><H3
><A
@ -470,7 +470,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8624"
NAME="AEN8648"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN9080"
NAME="AEN9104"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN9080"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN9083"
NAME="AEN9107"
></A
><H2
>Synopsis</H2
@ -183,7 +183,7 @@ HREF="gnome-xml-nanohttp.html#XMLNANOHTTPCLOSE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9093"
NAME="AEN9117"
></A
><H2
>Description</H2
@ -193,14 +193,14 @@ NAME="AEN9093"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9096"
NAME="AEN9120"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN9098"
NAME="AEN9122"
></A
><H3
><A
@ -314,7 +314,7 @@ if provided must be freed by the caller</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9125"
NAME="AEN9149"
></A
><H3
><A
@ -453,7 +453,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9157"
NAME="AEN9181"
></A
><H3
><A
@ -533,7 +533,7 @@ returned at that location</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9176"
NAME="AEN9200"
></A
><H3
><A
@ -608,7 +608,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9195"
NAME="AEN9219"
></A
><H3
><A
@ -731,7 +731,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9224"
NAME="AEN9248"
></A
><H3
><A
@ -825,7 +825,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9247"
NAME="AEN9271"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN9524"
NAME="AEN9548"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN9524"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN9527"
NAME="AEN9551"
></A
><H2
>Synopsis</H2
@ -882,7 +882,7 @@ HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9737"
NAME="AEN9761"
></A
><H2
>Description</H2
@ -892,14 +892,14 @@ NAME="AEN9737"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9740"
NAME="AEN9764"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN9742"
NAME="AEN9766"
></A
><H3
><A
@ -925,7 +925,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9747"
NAME="AEN9771"
></A
><H3
><A
@ -938,7 +938,7 @@ NAME="CHARVAL"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9751"
NAME="AEN9775"
></A
><H3
><A
@ -996,7 +996,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9765"
NAME="AEN9789"
></A
><H3
><A
@ -1054,7 +1054,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9779"
NAME="AEN9803"
></A
><H3
><A
@ -1112,7 +1112,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9793"
NAME="AEN9817"
></A
><H3
><A
@ -1170,7 +1170,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9807"
NAME="AEN9831"
></A
><H3
><A
@ -1228,7 +1228,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9821"
NAME="AEN9845"
></A
><H3
><A
@ -1286,7 +1286,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9835"
NAME="AEN9859"
></A
><H3
><A
@ -1344,7 +1344,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9849"
NAME="AEN9873"
></A
><H3
><A
@ -1402,7 +1402,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9863"
NAME="AEN9887"
></A
><H3
><A
@ -1460,7 +1460,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9877"
NAME="AEN9901"
></A
><H3
><A
@ -1518,7 +1518,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9891"
NAME="AEN9915"
></A
><H3
><A
@ -1576,7 +1576,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9905"
NAME="AEN9929"
></A
><H3
><A
@ -1634,7 +1634,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9919"
NAME="AEN9943"
></A
><H3
><A
@ -1692,7 +1692,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9933"
NAME="AEN9957"
></A
><H3
><A
@ -1750,7 +1750,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9947"
NAME="AEN9971"
></A
><H3
><A
@ -1831,7 +1831,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9968"
NAME="AEN9992"
></A
><H3
><A
@ -1911,7 +1911,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9988"
NAME="AEN10012"
></A
><H3
><A
@ -2007,7 +2007,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10012"
NAME="AEN10036"
></A
><H3
><A
@ -2071,7 +2071,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10028"
NAME="AEN10052"
></A
><H3
><A
@ -2132,7 +2132,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10044"
NAME="AEN10068"
></A
><H3
><A
@ -2217,7 +2217,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10065"
NAME="AEN10089"
></A
><H3
><A
@ -2304,7 +2304,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10087"
NAME="AEN10111"
></A
><H3
><A
@ -2406,7 +2406,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10113"
NAME="AEN10137"
></A
><H3
><A
@ -2491,7 +2491,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10134"
NAME="AEN10158"
></A
><H3
><A
@ -2573,7 +2573,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10155"
NAME="AEN10179"
></A
><H3
><A
@ -2636,7 +2636,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10171"
NAME="AEN10195"
></A
><H3
><A
@ -2735,7 +2735,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10196"
NAME="AEN10220"
></A
><H3
><A
@ -2844,7 +2844,7 @@ to get the Prefix if any.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10225"
NAME="AEN10249"
></A
><H3
><A
@ -2930,7 +2930,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10248"
NAME="AEN10272"
></A
><H3
><A
@ -3039,7 +3039,7 @@ to get the Prefix if any.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10277"
NAME="AEN10301"
></A
><H3
><A
@ -3124,7 +3124,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10300"
NAME="AEN10324"
></A
><H3
><A
@ -3206,7 +3206,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10321"
NAME="AEN10345"
></A
><H3
><A
@ -3275,7 +3275,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10339"
NAME="AEN10363"
></A
><H3
><A
@ -3364,7 +3364,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10363"
NAME="AEN10387"
></A
><H3
><A
@ -3452,7 +3452,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10387"
NAME="AEN10411"
></A
><H3
><A
@ -3537,7 +3537,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10410"
NAME="AEN10434"
></A
><H3
><A
@ -3642,7 +3642,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10437"
NAME="AEN10461"
></A
><H3
><A
@ -3780,7 +3780,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10471"
NAME="AEN10495"
></A
><H3
><A
@ -3863,7 +3863,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10493"
NAME="AEN10517"
></A
><H3
><A
@ -3946,7 +3946,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10515"
NAME="AEN10539"
></A
><H3
><A
@ -4030,7 +4030,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10536"
NAME="AEN10560"
></A
><H3
><A
@ -4161,7 +4161,7 @@ it is possible to return NULL and have publicID set.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10569"
NAME="AEN10593"
></A
><H3
><A
@ -4228,7 +4228,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10586"
NAME="AEN10610"
></A
><H3
><A
@ -4311,7 +4311,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10608"
NAME="AEN10632"
></A
><H3
><A
@ -4378,7 +4378,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10626"
NAME="AEN10650"
></A
><H3
><A
@ -4453,7 +4453,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10646"
NAME="AEN10670"
></A
><H3
><A
@ -4531,7 +4531,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10669"
NAME="AEN10693"
></A
><H3
><A
@ -4670,7 +4670,7 @@ or XML_ATTRIBUTE_FIXED. </TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10706"
NAME="AEN10730"
></A
><H3
><A
@ -4759,7 +4759,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10730"
NAME="AEN10754"
></A
><H3
><A
@ -4846,7 +4846,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10753"
NAME="AEN10777"
></A
><H3
><A
@ -4949,7 +4949,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10780"
NAME="AEN10804"
></A
><H3
><A
@ -5093,7 +5093,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10818"
NAME="AEN10842"
></A
><H3
><A
@ -5160,7 +5160,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10836"
NAME="AEN10860"
></A
><H3
><A
@ -5258,7 +5258,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10862"
NAME="AEN10886"
></A
><H3
><A
@ -5361,7 +5361,7 @@ hierarchy.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10888"
NAME="AEN10912"
></A
><H3
><A
@ -5484,7 +5484,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10919"
NAME="AEN10943"
></A
><H3
><A
@ -5567,7 +5567,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10941"
NAME="AEN10965"
></A
><H3
><A
@ -5646,7 +5646,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10960"
NAME="AEN10984"
></A
><H3
><A
@ -5734,7 +5734,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10983"
NAME="AEN11007"
></A
><H3
><A
@ -5835,7 +5835,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11007"
NAME="AEN11031"
></A
><H3
><A
@ -5909,7 +5909,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11026"
NAME="AEN11050"
></A
><H3
><A
@ -5995,7 +5995,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11047"
NAME="AEN11071"
></A
><H3
><A
@ -6065,7 +6065,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11065"
NAME="AEN11089"
></A
><H3
><A
@ -6190,7 +6190,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11099"
NAME="AEN11123"
></A
><H3
><A
@ -6292,7 +6292,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11128"
NAME="AEN11152"
></A
><H3
><A
@ -6361,7 +6361,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11147"
NAME="AEN11171"
></A
><H3
><A
@ -6432,7 +6432,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11167"
NAME="AEN11191"
></A
><H3
><A
@ -6497,7 +6497,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11184"
NAME="AEN11208"
></A
><H3
><A
@ -6579,7 +6579,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11203"
NAME="AEN11227"
></A
><H3
><A
@ -6662,7 +6662,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11225"
NAME="AEN11249"
></A
><H3
><A
@ -6747,7 +6747,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11248"
NAME="AEN11272"
></A
><H3
><A
@ -6830,7 +6830,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11270"
NAME="AEN11294"
></A
><H3
><A
@ -6915,7 +6915,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11293"
NAME="AEN11317"
></A
><H3
><A
@ -7010,7 +7010,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11315"
NAME="AEN11339"
></A
><H3
><A
@ -7075,7 +7075,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11332"
NAME="AEN11356"
></A
><H3
><A
@ -7140,7 +7140,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11349"
NAME="AEN11373"
></A
><H3
><A
@ -7249,7 +7249,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11377"
NAME="AEN11401"
></A
><H3
><A
@ -7275,7 +7275,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11382"
NAME="AEN11406"
></A
><H3
><A
@ -7301,7 +7301,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11387"
NAME="AEN11411"
></A
><H3
><A
@ -7327,7 +7327,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11392"
NAME="AEN11416"
></A
><H3
><A
@ -7353,7 +7353,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11397"
NAME="AEN11421"
></A
><H3
><A
@ -7536,7 +7536,7 @@ must deallocate it !</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11442"
NAME="AEN11466"
></A
><H3
><A
@ -7633,7 +7633,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11466"
NAME="AEN11490"
></A
><H3
><A
@ -7712,7 +7712,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11486"
NAME="AEN11510"
></A
><H3
><A
@ -7809,7 +7809,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11510"
NAME="AEN11534"
></A
><H3
><A

File diff suppressed because it is too large Load Diff

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6288"
NAME="AEN6312"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN6288"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN6291"
NAME="AEN6315"
></A
><H2
>Synopsis</H2
@ -859,7 +859,7 @@ HREF="gnome-xml-tree.html#XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6487"
NAME="AEN6511"
></A
><H2
>Description</H2
@ -869,14 +869,14 @@ NAME="AEN6487"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6490"
NAME="AEN6514"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN6492"
NAME="AEN6516"
></A
><H3
><A
@ -970,7 +970,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6514"
NAME="AEN6538"
></A
><H3
><A
@ -1064,7 +1064,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6536"
NAME="AEN6560"
></A
><H3
><A
@ -1094,7 +1094,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6541"
NAME="AEN6565"
></A
><H3
><A
@ -1120,7 +1120,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6546"
NAME="AEN6570"
></A
><H3
><A
@ -1146,7 +1146,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6551"
NAME="AEN6575"
></A
><H3
><A
@ -1176,7 +1176,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6556"
NAME="AEN6580"
></A
><H3
><A
@ -1202,7 +1202,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6561"
NAME="AEN6585"
></A
><H3
><A
@ -1228,7 +1228,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6566"
NAME="AEN6590"
></A
><H3
><A
@ -1258,7 +1258,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6571"
NAME="AEN6595"
></A
><H3
><A
@ -1284,7 +1284,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6576"
NAME="AEN6600"
></A
><H3
><A
@ -1310,7 +1310,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6581"
NAME="AEN6605"
></A
><H3
><A
@ -1340,7 +1340,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6586"
NAME="AEN6610"
></A
><H3
><A
@ -1366,7 +1366,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6591"
NAME="AEN6615"
></A
><H3
><A
@ -1392,7 +1392,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6596"
NAME="AEN6620"
></A
><H3
><A
@ -1422,7 +1422,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6601"
NAME="AEN6625"
></A
><H3
><A
@ -1448,7 +1448,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6606"
NAME="AEN6630"
></A
><H3
><A
@ -1474,7 +1474,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6611"
NAME="AEN6635"
></A
><H3
><A
@ -1504,7 +1504,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6616"
NAME="AEN6640"
></A
><H3
><A
@ -1530,7 +1530,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6621"
NAME="AEN6645"
></A
><H3
><A
@ -1695,7 +1695,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6662"
NAME="AEN6686"
></A
><H3
><A
@ -1776,7 +1776,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6683"
NAME="AEN6707"
></A
><H3
><A
@ -1839,7 +1839,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6699"
NAME="AEN6723"
></A
><H3
><A
@ -1923,7 +1923,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6720"
NAME="AEN6744"
></A
><H3
><A
@ -2025,7 +2025,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6746"
NAME="AEN6770"
></A
><H3
><A
@ -2106,7 +2106,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6767"
NAME="AEN6791"
></A
><H3
><A
@ -2169,7 +2169,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6783"
NAME="AEN6807"
></A
><H3
><A
@ -2334,7 +2334,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6824"
NAME="AEN6848"
></A
><H3
><A
@ -2415,7 +2415,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6845"
NAME="AEN6869"
></A
><H3
><A
@ -2478,7 +2478,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6861"
NAME="AEN6885"
></A
><H3
><A
@ -2562,7 +2562,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6882"
NAME="AEN6906"
></A
><H3
><A
@ -2644,7 +2644,7 @@ of error.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6903"
NAME="AEN6927"
></A
><H3
><A
@ -2707,7 +2707,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6919"
NAME="AEN6943"
></A
><H3
><A
@ -2789,7 +2789,7 @@ of error.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6940"
NAME="AEN6964"
></A
><H3
><A
@ -3017,7 +3017,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN6996"
NAME="AEN7020"
></A
><H3
><A
@ -3098,7 +3098,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7017"
NAME="AEN7041"
></A
><H3
><A
@ -3161,7 +3161,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7033"
NAME="AEN7057"
></A
><H3
><A
@ -3245,7 +3245,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7054"
NAME="AEN7078"
></A
><H3
><A
@ -3389,7 +3389,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7090"
NAME="AEN7114"
></A
><H3
><A
@ -3468,7 +3468,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7110"
NAME="AEN7134"
></A
><H3
><A
@ -3531,7 +3531,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7126"
NAME="AEN7150"
></A
><H3
><A
@ -3633,7 +3633,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7152"
NAME="AEN7176"
></A
><H3
><A
@ -3755,7 +3755,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7182"
NAME="AEN7206"
></A
><H3
><A
@ -3854,7 +3854,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7207"
NAME="AEN7231"
></A
><H3
><A
@ -3998,7 +3998,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7243"
NAME="AEN7267"
></A
><H3
><A
@ -4077,7 +4077,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7263"
NAME="AEN7287"
></A
><H3
><A
@ -4140,7 +4140,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7279"
NAME="AEN7303"
></A
><H3
><A
@ -4262,7 +4262,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7309"
NAME="AEN7333"
></A
><H3
><A
@ -4361,7 +4361,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7334"
NAME="AEN7358"
></A
><H3
><A
@ -4464,7 +4464,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7359"
NAME="AEN7383"
></A
><H3
><A
@ -4589,7 +4589,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7389"
NAME="AEN7413"
></A
><H3
><A
@ -4716,7 +4716,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7420"
NAME="AEN7444"
></A
><H3
><A
@ -4830,7 +4830,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7449"
NAME="AEN7473"
></A
><H3
><A
@ -4954,7 +4954,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7479"
NAME="AEN7503"
></A
><H3
><A
@ -5076,7 +5076,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7510"
NAME="AEN7534"
></A
><H3
><A
@ -5179,7 +5179,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7536"
NAME="AEN7560"
></A
><H3
><A
@ -5299,7 +5299,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7566"
NAME="AEN7590"
></A
><H3
><A
@ -5429,7 +5429,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7598"
NAME="AEN7622"
></A
><H3
><A
@ -5603,7 +5603,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7639"
NAME="AEN7663"
></A
><H3
><A
@ -5705,7 +5705,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7665"
NAME="AEN7689"
></A
><H3
><A
@ -5826,7 +5826,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7695"
NAME="AEN7719"
></A
><H3
><A
@ -5926,7 +5926,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7720"
NAME="AEN7744"
></A
><H3
><A
@ -6050,7 +6050,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7751"
NAME="AEN7775"
></A
><H3
><A
@ -6152,7 +6152,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7777"
NAME="AEN7801"
></A
><H3
><A
@ -6254,7 +6254,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7803"
NAME="AEN7827"
></A
><H3
><A
@ -6420,7 +6420,7 @@ receiving array and retry.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7841"
NAME="AEN7865"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN7879"
NAME="AEN7903"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN7879"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN7882"
NAME="AEN7906"
></A
><H2
>Synopsis</H2
@ -187,7 +187,7 @@ HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7894"
NAME="AEN7918"
></A
><H2
>Description</H2
@ -197,14 +197,14 @@ NAME="AEN7894"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7897"
NAME="AEN7921"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN7899"
NAME="AEN7923"
></A
><H3
><A
@ -341,7 +341,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7904"
NAME="AEN7928"
></A
><H3
><A
@ -438,7 +438,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7927"
NAME="AEN7951"
></A
><H3
><A
@ -535,7 +535,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7950"
NAME="AEN7974"
></A
><H3
><A
@ -632,7 +632,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7973"
NAME="AEN7997"
></A
><H3
><A
@ -729,7 +729,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7996"
NAME="AEN8020"
></A
><H3
><A
@ -792,7 +792,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8012"
NAME="AEN8036"
></A
><H3
><A

View File

@ -103,7 +103,7 @@ ALIGN="right"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN12120"
NAME="AEN12144"
></A
><H2
>Name</H2
@ -111,7 +111,7 @@ NAME="AEN12120"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN12123"
NAME="AEN12147"
></A
><H2
>Synopsis</H2
@ -137,18 +137,12 @@ HREF="gnome-xml-xmlmemory.html#XMLFREE"
void* <A
HREF="gnome-xml-xmlmemory.html#XMLMALLOC"
>xmlMalloc</A
> (<GTKDOCLINK
HREF="SIZE-T"
>size_t</GTKDOCLINK
> size);
> (int size);
void* <A
HREF="gnome-xml-xmlmemory.html#XMLREALLOC"
>xmlRealloc</A
> (void *ptr,
<GTKDOCLINK
HREF="SIZE-T"
>size_t</GTKDOCLINK
> size);
int size);
char* <A
HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUP"
>xmlMemStrdup</A
@ -218,7 +212,7 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12146"
NAME="AEN12168"
></A
><H2
>Description</H2
@ -228,14 +222,14 @@ NAME="AEN12146"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12149"
NAME="AEN12171"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN12151"
NAME="AEN12173"
></A
><H3
><A
@ -261,7 +255,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12156"
NAME="AEN12178"
></A
><H3
><A
@ -314,7 +308,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the memory block pointer</TD
></TR
></TABLE
><P
@ -324,7 +318,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12172"
NAME="AEN12194"
></A
><H3
><A
@ -340,10 +334,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>void* xmlMalloc (<GTKDOCLINK
HREF="SIZE-T"
>size_t</GTKDOCLINK
> size);</PRE
>void* xmlMalloc (int size);</PRE
></TD
></TR
></TABLE
@ -380,7 +371,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> an int specifying the size in byte to allocate.</TD
></TR
></TABLE
><P
@ -390,7 +381,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12189"
NAME="AEN12210"
></A
><H3
><A
@ -407,10 +398,7 @@ CELLPADDING="6"
><PRE
CLASS="PROGRAMLISTING"
>void* xmlRealloc (void *ptr,
<GTKDOCLINK
HREF="SIZE-T"
>size_t</GTKDOCLINK
> size);</PRE
int size);</PRE
></TD
></TR
></TABLE
@ -447,7 +435,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the initial memory block pointer</TD
></TR
><TR
><TD
@ -464,7 +452,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> an int specifying the size in byte to allocate.</TD
></TR
></TABLE
><P
@ -474,7 +462,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12210"
NAME="AEN12230"
></A
><H3
><A
@ -552,7 +540,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12230"
NAME="AEN12250"
></A
><H3
><A
@ -610,7 +598,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12245"
NAME="AEN12265"
></A
><H3
><A
@ -668,7 +656,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12260"
NAME="AEN12280"
></A
><H3
><A
@ -696,7 +684,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12266"
NAME="AEN12286"
></A
><H3
><A
@ -760,7 +748,7 @@ written to the file .memorylist</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12282"
NAME="AEN12302"
></A
><H3
><A
@ -847,7 +835,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12303"
NAME="AEN12323"
></A
><H3
><A
@ -873,7 +861,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12308"
NAME="AEN12328"
></A
><H3
><A
@ -899,7 +887,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12313"
NAME="AEN12333"
></A
><H3
><A
@ -925,7 +913,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12318"
NAME="AEN12338"
></A
><H3
><A
@ -1030,7 +1018,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12343"
NAME="AEN12363"
></A
><H3
><A
@ -1147,7 +1135,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12371"
NAME="AEN12391"
></A
><H3
><A

View File

@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN8653"
NAME="AEN8677"
></A
><H2
>Name</H2
@ -123,7 +123,7 @@ NAME="AEN8653"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8656"
NAME="AEN8680"
></A
><H2
>Synopsis</H2
@ -347,7 +347,7 @@ HREF="gnome-xml-xpath.html#XMLNODESETPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8713"
NAME="AEN8737"
></A
><H2
>Description</H2
@ -357,14 +357,14 @@ NAME="AEN8713"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8716"
NAME="AEN8740"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN8718"
NAME="AEN8742"
></A
><H3
><A
@ -415,7 +415,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8723"
NAME="AEN8747"
></A
><H3
><A
@ -441,7 +441,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8728"
NAME="AEN8752"
></A
><H3
><A
@ -478,7 +478,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8733"
NAME="AEN8757"
></A
><H3
><A
@ -504,7 +504,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8738"
NAME="AEN8762"
></A
><H3
><A
@ -534,7 +534,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8743"
NAME="AEN8767"
></A
><H3
><A
@ -560,7 +560,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8748"
NAME="AEN8772"
></A
><H3
><A
@ -586,7 +586,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8753"
NAME="AEN8777"
></A
><H3
><A
@ -612,7 +612,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8758"
NAME="AEN8782"
></A
><H3
><A
@ -638,7 +638,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8763"
NAME="AEN8787"
></A
><H3
><A
@ -664,7 +664,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8768"
NAME="AEN8792"
></A
><H3
><A
@ -690,7 +690,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8773"
NAME="AEN8797"
></A
><H3
><A
@ -716,7 +716,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8778"
NAME="AEN8802"
></A
><H3
><A
@ -749,7 +749,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8783"
NAME="AEN8807"
></A
><H3
><A
@ -775,7 +775,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8788"
NAME="AEN8812"
></A
><H3
><A
@ -869,7 +869,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8811"
NAME="AEN8835"
></A
><H3
><A
@ -898,7 +898,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8816"
NAME="AEN8840"
></A
><H3
><A
@ -924,7 +924,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8821"
NAME="AEN8845"
></A
><H3
><A
@ -953,7 +953,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8826"
NAME="AEN8850"
></A
><H3
><A
@ -979,7 +979,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8831"
NAME="AEN8855"
></A
><H3
><A
@ -1058,7 +1058,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8850"
NAME="AEN8874"
></A
><H3
><A
@ -1087,7 +1087,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8855"
NAME="AEN8879"
></A
><H3
><A
@ -1113,7 +1113,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8860"
NAME="AEN8884"
></A
><H3
><A
@ -1213,7 +1213,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8885"
NAME="AEN8909"
></A
><H3
><A
@ -1242,7 +1242,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8890"
NAME="AEN8914"
></A
><H3
><A
@ -1268,7 +1268,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8895"
NAME="AEN8919"
></A
><H3
><A
@ -1347,7 +1347,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8914"
NAME="AEN8938"
></A
><H3
><A
@ -1428,7 +1428,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8935"
NAME="AEN8959"
></A
><H3
><A
@ -1491,7 +1491,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8951"
NAME="AEN8975"
></A
><H3
><A
@ -1594,7 +1594,7 @@ the caller has to free the object.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8977"
NAME="AEN9001"
></A
><H3
><A
@ -1657,7 +1657,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN8993"
NAME="AEN9017"
></A
><H3
><A
@ -1760,7 +1760,7 @@ the caller has to free the object.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9019"
NAME="AEN9043"
></A
><H3
><A
@ -1846,7 +1846,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9041"
NAME="AEN9065"
></A
><H3
><A
@ -1918,7 +1918,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9059"
NAME="AEN9083"
></A
><H3
><A

View File

@ -217,6 +217,7 @@
<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 ="XMLNEWDOCFRAGMENT" href="gnome-xml/gnome-xml-tree.html#XMLNEWDOCFRAGMENT">
<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">

View File

@ -23,7 +23,9 @@
<li><a href="#interface">The SAX interface</a></li>
<li><a href="#library">The XML library interfaces</a>
<ul>
<li><a href="#Invoking">Invoking the parser</a></li>
<li><a href="#Invoking">Invoking the parser: the pull way</a></li>
<li><a href="#Invoking">Invoking the parser: the push way</a></li>
<li><a href="#Invoking2">Invoking the parser: the SAX interface</a></li>
<li><a href="#Building">Building a tree from scratch</a></li>
<li><a href="#Traversing">Traversing the tree</a></li>
<li><a href="#Modifying">Modifying the tree</a></li>
@ -44,45 +46,49 @@
library provideed in the <a href="http://www.gnome.org/">Gnome</a> framework.
XML is a standard to build tag based structured documents/data.</p>
<p>The internal document repesentation is as close as possible to the <a
href="http://www.w3.org/DOM/">DOM</a> interfaces.</p>
<p>Libxml also has a <a href="http://www.megginson.com/SAX/index.html">SAX
interface</a>, <a href="mailto:james@daa.com.au">James Henstridge</a> made <a
href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">a nice
documentation</a> expaining how to use it. The interface is as compatible as
possible with <a href="http://www.jclark.com/xml/expat.html">Expat</a>
one.</p>
<p>There is also a mailing-list <a
href="mailto:xml@rufus.w3.org">xml@rufus.w3.org</a> for libxml, with an <a
href="http://xmlsoft.org/messages">on-line archive</a>. To subscribe to this
majordomo based list, send a mail to <a
href="mailto:majordomo@rufus.w3.org">majordomo@rufus.w3.org</a> with
"subscribe xml" in the <strong>content</strong> of the message.</p>
<p>This library is released both under the W3C Copyright and the GNU LGP,
basically everybody should be happy, if not, drop me a mail.</p>
<p>People are invited to use the <a
href="http://cvs.gnome.org/lxr/source/gdome/">gdome Gnome module to</a> get a
full DOM interface, thanks to <a href="mailto:raph@levien.com">Raph
Levien</a>, check his <a
href="http://www.levien.com/gnome/domination.html">DOMination paper</a>. He
uses it for his implementation of <a
href="http://www.w3.org/Graphics/SVG/">SVG</a> called <a
href="http://www.levien.com/svg/">gill</a>.</p>
<p>Here are some key points about libxml:</p>
<ul>
<li>The internal document repesentation is as close as possible to the <a
href="http://www.w3.org/DOM/">DOM</a> interfaces.</li>
<li>Libxml also has a <a href="http://www.megginson.com/SAX/index.html">SAX
like interface</a>, the interface is designed to be compatible with <a
href="http://www.jclark.com/xml/expat.html">Expat</a> one.</li>
<li>Libxml now include a nearly complete <a
href="http://www.w3.org/TR/xpath">XPath</a> implementation.</li>
<li>Libxml export Push and Pull type parser interface for both XML and
HTML.</li>
<li>This library is released both under the W3C Copyright and the GNU LGPL,
basically everybody should be happy, if not, drop me a mail.</li>
</ul>
<h2><a name="Documentat">Documentation</a></h2>
<p>The code is commented in a <a href=""></a>way which allow <a
href="http://xmlsoft.org/libxml.html">extensive documentation</a> to be
automatically extracted.</p>
<p>There is some on-line resources about using libxml :</p>
<ol>
<li>The code is commented in a way which allow <a
href="http://xmlsoft.org/libxml.html">extensive documentation</a> to be
automatically extracted.</li>
<li>This page provides a global overview and <a href="#real">some
examples</a> on how to use libxml</li>
<li><a href="mailto:james@daa.com.au">James Henstridge</a> made <a
href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">a nice
documentation</a> expaining how to use the SAX interface of libxml</li>
<li>George Lebl wrote <a
href="http://www-4.ibm.com/software/developer/library/gnome3/">an article
for IBM developperWorks</a> about using libxml</li>
<li>It is also a good idea to check to <a href="mailto:raph@levien.com">Raph
Levien</a> <a href="http://levien.com/gnome/">web site</a> since he is
building the <a href="http://levien.com/gnome/gdome.html">DOM interface
gdome</a> on top of libxml result tree and an implementation of <a
href="http://www.w3.org/Graphics/SVG/">SVG</a> called <a
href="http://www.levien.com/svg/">gill</a>. Check his <a
href="http://www.levien.com/gnome/domination.html">DOMination
paper</a>.</li>
<li>And don't forget to look at the <a href="/messages/">mailing-list
archive</a> too.</li>
</ol>
<p>At some point I will change the back-end to produce XML documentation in
addition to SGML Docbook and HTML.</p>
<h3>Reporting bugs</h3>
<h3>Reporting bugs and getting help</h3>
<p>Well bugs or missing features are always possible, and I will make a point
of fixing them in a timely fashion. The best way it to <a
@ -92,22 +98,34 @@ reminder when a bug is still open. Check the <a
href="http://bugs.gnome.org/Reporting.html">instructions on reporting bugs</a>
and be sure to specify thatthe bug is for the package gnome-xml.</p>
<p>There is also a mailing-list <a
href="mailto:xml@rufus.w3.org">xml@rufus.w3.org</a> for libxml, with an <a
href="http://xmlsoft.org/messages">on-line archive</a>. To subscribe to this
majordomo based list, send a mail to <a
href="mailto:majordomo@rufus.w3.org">majordomo@rufus.w3.org</a> with
"subscribe xml" in the <strong>content</strong> of the message.</p>
<p>Alternately you can just send the bug to the <a
href="mailto:xml@rufus.w3.org">xml@rufus.w3.org</a> list.</p>
<h2><a name="Downloads">Downloads</a></h2>
<p>Latest version is 1.8.1, you can find it on <a
<p>Latest versions can be found on <a
href="ftp://rpmfind.net/pub/veillard/">rpmfind.net</a> or on the <a
href="ftp://ftp.gnome.org/pub/GNOME/MIRRORS.html">Gnome FTP server</a> either
as a <a href="ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/">source
archive</a> or <a href="ftp://ftp.gnome.org/pub/GNOME/contrib/rpms/">RPMs
packages</a>.</p>
packages</a> (NOTE that you need both the <a
href="http://rpmfind.net/linux/RPM/libxml.html">libxml</a> and <a
href="http://rpmfind.net/linux/RPM/libxml-devel.html">libxml-devel</a>
packages installed to compile applications using libxml).</p>
<p>Libxml is also available from 2 CVs bases:</p>
<ul>
<li><p>The <a href="http://dev.w3.org/cvsweb/XML/">W3C CVS base</a>,
available read-only using the CVS pserver authentification:</p>
available read-only using the CVS pserver authentification (I tend to use
this base for my own developements so it's updated more regulary, but
content may not be as stable):</p>
<pre>CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public
password: anonymous
module: XML</pre>
@ -128,6 +146,17 @@ for really accurate description</h3>
<ul>
<li>working on HTML and XML links recognition layers, get in touch with me
if you want to test those.</li>
<li>adding APIs to parse a well balanced chunk of XML (production <a
href="http://www.w3.org/TR/REC-xml#NT-content">[43] content</a> of the XML
spec)</li>
</ul>
<h3>1.8.4: Jan 13 2000</h3>
<ul>
<li>bug fixes, reintroduced xmlNewGlobalNs(), fixed xmlNewNs()</li>
<li>all exit() call should have been removed from libxml</li>
<li>fixed a problem with INCLUDE_WINSOCK on WIN32 platform</li>
<li>added newDocFragment()</li>
</ul>
<h3>1.8.3: Jan 5 2000</h3>
@ -283,8 +312,7 @@ standalone=true
ATTRIBUTE prop2
ENTITY_REF
TEXT
content= too
ELEMENT head
content= linux too
ELEMENT title
TEXT
content=Welcome to Gnome
@ -374,7 +402,11 @@ required, but as a separated set of documents. The interfaces of the XML
library are by principle low level, there is nearly zero abstration. Those
interested in a higher level API should <a href="#DOM">look at DOM</a>.</p>
<h3><a name="Invoking">Invoking the parser</a></h3>
<p>The <a href="gnome-xml-parser.html">parser interfaces for XML</a> are
separated from the <a href="gnome-xml-htmlparser.html">HTML parser ones</a>,
let's have a look at how it can be called:</p>
<h3><a name="Invoking">Invoking the parser : the pull way</a></h3>
<p>Usually, the first thing to do is to read an XML input, the parser accepts
to parse both memory mapped documents or direct files. The functions are
@ -393,10 +425,56 @@ defined in "parser.h":</p>
<p>This returns a pointer to the document structure (or NULL in case of
failure).</p>
<h3 id="Invoking1">Invoking the parser: the push way</h3>
<p>In order for the application to keep the control when the document is been
fetched (common for GUI based programs) the libxml, as of version 1.8.3
provides a push interface too, here are the interfaces:</p>
<pre>xmlParserCtxtPtr xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax,
void *user_data,
const char *chunk,
int size,
const char *filename);
int xmlParseChunk (xmlParserCtxtPtr ctxt,
const char *chunk,
int size,
int terminate);</pre>
<p>and here is a simple use example:</p>
<pre> FILE *f;
f = fopen(filename, "r");
if (f != NULL) {
int res, size = 1024;
char chars[1024];
xmlParserCtxtPtr ctxt;
res = fread(chars, 1, 4, f);
if (res > 0) {
ctxt = xmlCreatePushParserCtxt(NULL, NULL,
chars, res, filename);
while ((res = fread(chars, 1, size, f)) > 0) {
xmlParseChunk(ctxt, chars, res, 0);
}
xmlParseChunk(ctxt, chars, 0, 1);
doc = ctxt->myDoc;
xmlFreeParserCtxt(ctxt);
}
}</pre>
<p>Also note that the HTML parser embedded into libxml also have a push
interface they are just prefixed by "html" instead of "xml"</p>
<h3 id="Invoking2">Invoking the parser: the SAX interface</h3>
<p>A couple of comments can be made, first this mean that the parser is
memory-hungry, first to load the document in memory, second to build the tree.
Reading a document without building the tree will be possible in the future by
pluggin the code to the SAX interface (see SAX.c).</p>
Reading a document without building the tree is possible using the SAX
interfaces (see SAX.h and <a
href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">James
Henstridge documentation</a>), not also that the push interface can be limited
to SAX, just use the two first arguments of
<code>xmlCreatePushParserCtxt()</code>.</p>
<h3><a name="Building">Building a tree from scratch</a></h3>
@ -410,7 +488,7 @@ example used before:</p>
doc = xmlNewDoc("1.0");
doc->root = xmlNewDocNode(doc, NULL, "EXAMPLE", NULL);
xmlSetProp(doc->root, "prop1", "gnome is great");
xmlSetProp(doc->root, "prop2", "&amp;linux; too");
xmlSetProp(doc->root, "prop2", "&amp; linux too");
tree = xmlNewChild(doc->root, NULL, "head", NULL);
subtree = xmlNewChild(tree, NULL, "title", "Welcome to Gnome");
tree = xmlNewChild(doc->root, NULL, "chapter", NULL);
@ -423,11 +501,12 @@ example used before:</p>
<h3><a name="Traversing">Traversing the tree</a></h3>
<p>Basically by including "tree.h" your code has access to the internal
structure of all the element of the tree. The names should be somewhat simple
like <strong>parent</strong>, <strong>childs</strong>, <strong>next</strong>,
<strong>prev</strong>, <strong>properties</strong>, etc... For example still
with the previous example:</p>
<p>Basically by <a href="gnome-xml-tree.html">including "tree.h"</a> your code
has access to the internal structure of all the element of the tree. The names
should be somewhat simple like <strong>parent</strong>,
<strong>childs</strong>, <strong>next</strong>, <strong>prev</strong>,
<strong>properties</strong>, etc... For example still with the previous
example:</p>
<pre><code>doc->root->childs->childs</code></pre>
<p>points to the title element,</p>
@ -435,10 +514,6 @@ with the previous example:</p>
<p>points to the text node containing the chapter titlle "The Linux adventure"
and</p>
<pre>doc->root->properties->next->val</pre>
<p>points to the entity reference containing the value of "&amp;linux" at the
beginning of the second attribute of the root element "EXAMPLE".</p>
<p><strong>NOTE</strong>: XML allows <em>PI</em>s and <em>comments</em> to be
present before the document root, so doc->root may point to an element which
@ -447,7 +522,8 @@ is not the document Root Element, a function
<h3><a name="Modifying">Modifying the tree</a></h3>
<p>functions are provided to read and write the document content:</p>
<p>functions are provided to read and write the document content, here is an
excerpt from the <a href="gnome-xml-tree.html">tree API</a>:</p>
<dl>
<dt><code>xmlAttrPtr xmlSetProp(xmlNodePtr node, const xmlChar *name, const
xmlChar *value);</code></dt>
@ -915,6 +991,6 @@ base under gnome-xml/example</p>
<p><a href="mailto:Daniel.Veillard@w3.org">Daniel Veillard</a></p>
<p>$Id: xml.html,v 1.19 2000/01/03 17:30:45 veillard Exp $</p>
<p>$Id: xml.html,v 1.20 2000/01/05 19:54:23 veillard Exp $</p>
</body>
</html>

View File

@ -388,13 +388,14 @@ xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name) {
static int buffer_size = 0;
static xmlChar *buffer = NULL;
void growBuffer(void) {
int growBuffer(void) {
buffer_size *= 2;
buffer = (xmlChar *) xmlRealloc(buffer, buffer_size * sizeof(xmlChar));
if (buffer == NULL) {
perror("realloc failed");
exit(1);
return(-1);
}
return(0);
}
@ -437,7 +438,7 @@ xmlEncodeEntities(xmlDocPtr doc, const xmlChar *input) {
buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar));
if (buffer == NULL) {
perror("malloc failed");
exit(1);
return(NULL);
}
out = buffer;
}
@ -530,10 +531,11 @@ xmlEncodeEntities(xmlDocPtr doc, const xmlChar *input) {
*/
#define growBufferReentrant() { \
buffer_size *= 2; \
buffer = (xmlChar *) xmlRealloc(buffer, buffer_size * sizeof(xmlChar)); \
buffer = (xmlChar *) \
xmlRealloc(buffer, buffer_size * sizeof(xmlChar)); \
if (buffer == NULL) { \
perror("realloc failed"); \
exit(1); \
return(NULL); \
} \
}
@ -572,7 +574,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) {
buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar));
if (buffer == NULL) {
perror("malloc failed");
exit(1);
return(NULL);
}
out = buffer;

View File

@ -15,7 +15,7 @@
fly with ZLIB if found at compile-time */
#ifdef WIN32
#define INCLUDE_WINSOCKS
#define INCLUDE_WINSOCK
#include "win32config.h"
#else
#include "config.h"

112
parser.c
View File

@ -277,7 +277,7 @@ scope int name##Push(xmlParserCtxtPtr ctxt, type value) { \
ctxt->name##Max * sizeof(ctxt->name##Tab[0])); \
if (ctxt->name##Tab == NULL) { \
fprintf(stderr, "realloc failed !\n"); \
exit(1); \
return(0); \
} \
} \
ctxt->name##Tab[ctxt->name##Nr] = value; \
@ -917,7 +917,7 @@ xmlParseStringCharRef(xmlParserCtxtPtr ctxt, const xmlChar **str) {
}
if (cur == ';')
ptr++;
} else if ((cur = '&') && (ptr[1] == '#')){
} else if ((cur == '&') && (ptr[1] == '#')){
ptr += 2;
cur = *ptr;
while (cur != ';') {
@ -1366,10 +1366,11 @@ fprintf(stderr, "xmlParserHandlePEReference : ctxt->token != 0\n");
*/
#define growBuffer(buffer) { \
buffer##_size *= 2; \
buffer = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
buffer = (xmlChar *) \
xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
if (buffer == NULL) { \
perror("realloc failed"); \
exit(1); \
return(NULL); \
} \
}
@ -8044,6 +8045,107 @@ xmlParseDTD(const xmlChar *ExternalID, const xmlChar *SystemID) {
return(xmlSAXParseDTD(NULL, ExternalID, SystemID));
}
/**
* xmlSAXParseBalancedChunk :
* @ctx: an XML parser context (possibly NULL)
* @sax: the SAX handler bloc (possibly NULL)
* @user_data: The user data returned on SAX callbacks (possibly NULL)
* @input: a parser input stream
* @enc: the encoding
*
* Parse a well-balanced chunk of an XML document
* The user has to provide SAX callback block whose routines will be
* called by the parser
* The allowed sequence for the Well Balanced Chunk is the one defined by
* the content production in the XML grammar:
*
* [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*
*
* Returns 0 id the chunk is well balanced, -1 in case of args problem and
* the error code otherwise
*/
int
xmlSAXParseBalancedChunk(xmlParserCtxtPtr ctx, xmlSAXHandlerPtr sax,
void *user_data, xmlParserInputPtr input,
xmlCharEncoding enc) {
xmlParserCtxtPtr ctxt;
int ret;
if (input == NULL) return(-1);
if (ctx != NULL)
ctxt = ctx;
else {
ctxt = xmlNewParserCtxt();
if (ctxt == NULL)
return(-1);
if (sax == NULL)
ctxt->myDoc = xmlNewDoc(BAD_CAST "1.0");
}
/*
* Set-up the SAX context
*/
if (sax != NULL) {
if (ctxt->sax != NULL)
xmlFree(ctxt->sax);
ctxt->sax = sax;
ctxt->userData = user_data;
}
/*
* plug some encoding conversion routines here.
*/
xmlPushInput(ctxt, input);
if (enc != XML_CHAR_ENCODING_NONE)
xmlSwitchEncoding(ctxt, enc);
/*
* let's parse that entity knowing it's an external subset.
*/
xmlParseContent(ctxt);
ret = ctxt->errNo;
if (ctx == NULL) {
if (sax != NULL)
ctxt->sax = NULL;
else
xmlFreeDoc(ctxt->myDoc);
xmlFreeParserCtxt(ctxt);
}
return(ret);
}
/**
* xmlParseBalancedChunk :
* @doc: the document the chunk pertains to
* @node: the node defining the context in which informations will be added
*
* Parse a well-balanced chunk of an XML document present in memory
*
* Returns the resulting list of nodes resulting from the parsing,
* they are not added to @node
*/
xmlNodePtr
xmlParseBalancedChunkMemory(xmlDocPtr doc, xmlNodePtr node) {
}
/**
* xmlParseBalancedChunkFile :
* @doc: the document the chunk pertains to
*
* Parse a well-balanced chunk of an XML document contained in a file
*
* Returns the resulting list of nodes resulting from the parsing,
* they are not added to @node
*/
xmlNodePtr
xmlParseBalancedChunkFile(xmlDocPtr doc, xmlNodePtr node) {
}
/**
* xmlRecoverDoc :
* @cur: a pointer to an array of xmlChar
@ -8326,7 +8428,7 @@ xmlSetupParserForBuffer(xmlParserCtxtPtr ctxt, const xmlChar* buffer,
if (input == NULL) {
perror("malloc");
xmlFree(ctxt);
exit(1);
return;
}
xmlClearParserCtxt(ctxt);

View File

@ -1,24 +1,2 @@
<?xml version="1.0"?>
<!DOCTYPE doc SYSTEM "doc.dtd">
<?xml-stylesheet type="text/xml"
href="#style1"?>
<doc>
<head>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" id="style1" version="1.0">
<xsl:import href="doc.xsl"/>
<xsl:template match="id(&apos;foo&apos;)">
<fo:block font-weight="bold">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="xsl:stylesheet">
<!-- ignore -->
</xsl:template>
</xsl:stylesheet>
</head>
<body>
<para id="foo">
...
</para>
</body>
</doc>
<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>

View File

@ -1,24 +1,2 @@
<?xml version="1.0"?>
<!DOCTYPE doc SYSTEM "doc.dtd">
<?xml-stylesheet type="text/xml"
href="#style1"?>
<doc>
<head>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" id="style1" version="1.0">
<xsl:import href="doc.xsl"/>
<xsl:template match="id(&apos;foo&apos;)">
<fo:block font-weight="bold">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="xsl:stylesheet">
<!-- ignore -->
</xsl:template>
</xsl:stylesheet>
</head>
<body>
<para id="foo">
...
</para>
</body>
</doc>
<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>

View File

@ -1,24 +1,2 @@
<?xml-stylesheet type="text/xml"
href="#style1"?>
<!DOCTYPE doc SYSTEM "doc.dtd">
<doc>
<head>
<xsl:stylesheet id="style1"
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:import href="doc.xsl"/>
<xsl:template match="id('foo')">
<fo:block font-weight="bold"><xsl:apply-templates/></fo:block>
</xsl:template>
<xsl:template match="xsl:stylesheet">
<!-- ignore -->
</xsl:template>
</xsl:stylesheet>
</head>
<body>
<para id="foo">
...
</para>
</body>
</doc>
<?xml version="1.0"?>
<diagram testattr="test" xml:lang="en" xml:link="simple" xml:space="preserve"/>

54
tree.c
View File

@ -160,13 +160,18 @@ xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix) {
} else {
xmlNsPtr prev = node->nsDef;
if (((prev->prefix == NULL) && (cur->prefix == NULL)) ||
(!xmlStrcmp(prev->prefix, cur->prefix))) {
xmlFreeNs(cur);
return(NULL);
}
while (prev->next != NULL) {
prev = prev->next;
if (((prev->prefix == NULL) && (cur->prefix == NULL)) ||
(!xmlStrcmp(prev->prefix, cur->prefix))) {
xmlFreeNs(cur);
return(NULL);
}
prev = prev->next;
}
prev->next = cur;
}
@ -182,12 +187,55 @@ xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix) {
*
* Creation of a Namespace, the old way using PI and without scoping
* DEPRECATED !!!
* Will be removed at next major release !
* It now create a namespace on the root element of the document if found.
* Returns NULL this functionnality had been removed
*/
xmlNsPtr
xmlNewGlobalNs(xmlDocPtr doc, const xmlChar *href, const xmlChar *prefix) {
return(NULL);
xmlNodePtr root;
xmlNsPtr cur;
root = xmlDocGetRootElement(doc);
if (root != NULL)
return(xmlNewNs(root, href, prefix));
/*
* if there is no root element yet, create an old Namespace type
* and it will be moved to the root at save time.
*/
cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
if (cur == NULL) {
fprintf(stderr, "xmlNewGlobalNs : malloc failed\n");
return(NULL);
}
cur->type = XML_GLOBAL_NAMESPACE;
if (href != NULL)
cur->href = xmlStrdup(href);
else
cur->href = NULL;
if (prefix != NULL)
cur->prefix = xmlStrdup(prefix);
else
cur->prefix = NULL;
/*
* Add it at the end to preserve parsing order ...
*/
cur->next = NULL;
if (doc != NULL) {
if (doc->oldNs == NULL) {
doc->oldNs = cur;
} else {
xmlNsPtr prev = doc->oldNs;
while (prev->next != NULL) prev = prev->next;
prev->next = cur;
}
}
return(NULL);
}
/**

View File

@ -74,7 +74,7 @@ xmlNewElementContent(xmlChar *name, xmlElementContentType type) {
break;
default:
fprintf(stderr, "xmlNewElementContent: unknown type %d\n", type);
exit(1);
return(NULL);
}
ret = (xmlElementContentPtr) xmlMalloc(sizeof(xmlElementContent));
if (ret == NULL) {

View File

@ -186,7 +186,7 @@ extern int name##Push(xmlXPathParserContextPtr ctxt, type value) { \
ctxt->name##Max * sizeof(ctxt->name##Tab[0])); \
if (ctxt->name##Tab == NULL) { \
fprintf(xmlXPathDebug, "realloc failed !\n"); \
exit(1); \
return(0); \
} \
} \
ctxt->name##Tab[ctxt->name##Nr] = value; \
@ -1218,11 +1218,6 @@ xmlXPathEqualValues(xmlXPathParserContextPtr ctxt) {
break;
}
break;
#ifdef DEBUG_EXPR
fprintf(xmlXPathDebug, "Equal: %s string %s \n",
arg1->stringval, arg2->stringval);
#endif
ret = !xmlStrcmp(arg1->stringval, arg2->stringval);
}
xmlXPathFreeObject(arg1);
xmlXPathFreeObject(arg2);