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
diff --git a/ChangeLog b/ChangeLog
index 2af9bb9..aa04c54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/HTMLparser.c b/HTMLparser.c
index a5b1657..a1fdac5 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -69,7 +69,7 @@
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 @@
buffer = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
if (buffer == NULL) { \
perror("realloc failed"); \
- exit(1); \
+ return(NULL); \
} \
}
diff --git a/SAXresult/ns4 b/SAXresult/ns4
index 47b58d8..674b9a3 100644
--- a/SAXresult/ns4
+++ b/SAXresult/ns4
@@ -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()
diff --git a/configure.in b/configure.in
index 79dfd5d..2f4d9ce 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@
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
diff --git a/doc/html/gnome-xml-entities.html b/doc/html/gnome-xml-entities.html
index 4b8005c..bfb9447 100644
--- a/doc/html/gnome-xml-entities.html
+++ b/doc/html/gnome-xml-entities.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN5846"
+NAME="AEN5870"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN5849"
+NAME="AEN5873"
></A
><H2
>Synopsis</H2
@@ -356,7 +356,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN5909"
+NAME="AEN5933"
></A
><H2
>Description</H2
@@ -366,14 +366,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5919"
+NAME="AEN5943"
></A
><H3
><A
@@ -425,7 +425,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5924"
+NAME="AEN5948"
></A
><H3
><A
@@ -451,7 +451,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5929"
+NAME="AEN5953"
></A
><H3
><A
@@ -477,7 +477,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5934"
+NAME="AEN5958"
></A
><H3
><A
@@ -503,7 +503,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5939"
+NAME="AEN5963"
></A
><H3
><A
@@ -529,7 +529,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5944"
+NAME="AEN5968"
></A
><H3
><A
@@ -564,7 +564,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5949"
+NAME="AEN5973"
></A
><H3
><A
@@ -590,7 +590,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5954"
+NAME="AEN5978"
></A
><H3
><A
@@ -616,7 +616,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5959"
+NAME="AEN5983"
></A
><H3
><A
@@ -646,7 +646,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5964"
+NAME="AEN5988"
></A
><H3
><A
@@ -672,7 +672,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5969"
+NAME="AEN5993"
></A
><H3
><A
@@ -837,7 +837,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6009"
+NAME="AEN6033"
></A
><H3
><A
@@ -1002,7 +1002,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6049"
+NAME="AEN6073"
></A
><H3
><A
@@ -1083,7 +1083,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6070"
+NAME="AEN6094"
></A
><H3
><A
@@ -1187,7 +1187,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6096"
+NAME="AEN6120"
></A
><H3
><A
@@ -1290,7 +1290,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6122"
+NAME="AEN6146"
></A
><H3
><A
@@ -1393,7 +1393,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6148"
+NAME="AEN6172"
></A
><H3
><A
@@ -1502,7 +1502,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6176"
+NAME="AEN6200"
></A
><H3
><A
@@ -1610,7 +1610,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6203"
+NAME="AEN6227"
></A
><H3
><A
@@ -1671,7 +1671,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6219"
+NAME="AEN6243"
></A
><H3
><A
@@ -1752,7 +1752,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6240"
+NAME="AEN6264"
></A
><H3
><A
@@ -1815,7 +1815,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6256"
+NAME="AEN6280"
></A
><H3
><A
@@ -1899,7 +1899,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6277"
+NAME="AEN6301"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-htmlparser.html b/doc/html/gnome-xml-htmlparser.html
index d783d2d..125e023 100644
--- a/doc/html/gnome-xml-htmlparser.html
+++ b/doc/html/gnome-xml-htmlparser.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN8033"
+NAME="AEN8057"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN8036"
+NAME="AEN8060"
></A
><H2
>Synopsis</H2
@@ -354,7 +354,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN8093"
+NAME="AEN8117"
></A
><H2
>Description</H2
@@ -364,14 +364,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8103"
+NAME="AEN8127"
></A
><H3
><A
@@ -423,7 +423,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8108"
+NAME="AEN8132"
></A
><H3
><A
@@ -449,7 +449,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8113"
+NAME="AEN8137"
></A
><H3
><A
@@ -475,7 +475,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8118"
+NAME="AEN8142"
></A
><H3
><A
@@ -501,7 +501,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8123"
+NAME="AEN8147"
></A
><H3
><A
@@ -527,7 +527,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8128"
+NAME="AEN8152"
></A
><H3
><A
@@ -553,7 +553,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8133"
+NAME="AEN8157"
></A
><H3
><A
@@ -579,7 +579,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8138"
+NAME="AEN8162"
></A
><H3
><A
@@ -605,7 +605,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8143"
+NAME="AEN8167"
></A
><H3
><A
@@ -639,7 +639,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8148"
+NAME="AEN8172"
></A
><H3
><A
@@ -665,7 +665,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8153"
+NAME="AEN8177"
></A
><H3
><A
@@ -695,7 +695,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8158"
+NAME="AEN8182"
></A
><H3
><A
@@ -721,7 +721,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8163"
+NAME="AEN8187"
></A
><H3
><A
@@ -802,7 +802,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8184"
+NAME="AEN8208"
></A
><H3
><A
@@ -885,7 +885,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8206"
+NAME="AEN8230"
></A
><H3
><A
@@ -986,7 +986,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8231"
+NAME="AEN8255"
></A
><H3
><A
@@ -1109,7 +1109,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8261"
+NAME="AEN8285"
></A
><H3
><A
@@ -1214,7 +1214,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8288"
+NAME="AEN8312"
></A
><H3
><A
@@ -1298,7 +1298,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8310"
+NAME="AEN8334"
></A
><H3
><A
@@ -1365,7 +1365,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8328"
+NAME="AEN8352"
></A
><H3
><A
@@ -1505,7 +1505,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8362"
+NAME="AEN8386"
></A
><H3
><A
@@ -1604,7 +1604,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8387"
+NAME="AEN8411"
></A
><H3
><A
@@ -1742,7 +1742,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8420"
+NAME="AEN8444"
></A
><H3
><A
@@ -1839,7 +1839,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8444"
+NAME="AEN8468"
></A
><H3
><A
@@ -1903,7 +1903,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8460"
+NAME="AEN8484"
></A
><H3
><A
@@ -2090,7 +2090,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8504"
+NAME="AEN8528"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-htmltree.html b/doc/html/gnome-xml-htmltree.html
index 9cf42a7..9e0e4b2 100644
--- a/doc/html/gnome-xml-htmltree.html
+++ b/doc/html/gnome-xml-htmltree.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN8541"
+NAME="AEN8565"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN8544"
+NAME="AEN8568"
></A
><H2
>Synopsis</H2
@@ -188,7 +188,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN8558"
+NAME="AEN8582"
></A
><H2
>Description</H2
@@ -198,14 +198,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8568"
+NAME="AEN8592"
></A
><H3
><A
@@ -257,7 +257,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8573"
+NAME="AEN8597"
></A
><H3
><A
@@ -283,7 +283,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8578"
+NAME="AEN8602"
></A
><H3
><A
@@ -386,7 +386,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8603"
+NAME="AEN8627"
></A
><H3
><A
@@ -470,7 +470,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8624"
+NAME="AEN8648"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-nanohttp.html b/doc/html/gnome-xml-nanohttp.html
index eec26eb..d94b564 100644
--- a/doc/html/gnome-xml-nanohttp.html
+++ b/doc/html/gnome-xml-nanohttp.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN9080"
+NAME="AEN9104"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN9083"
+NAME="AEN9107"
></A
><H2
>Synopsis</H2
@@ -183,7 +183,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN9093"
+NAME="AEN9117"
></A
><H2
>Description</H2
@@ -193,14 +193,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9125"
+NAME="AEN9149"
></A
><H3
><A
@@ -453,7 +453,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9157"
+NAME="AEN9181"
></A
><H3
><A
@@ -533,7 +533,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9176"
+NAME="AEN9200"
></A
><H3
><A
@@ -608,7 +608,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9195"
+NAME="AEN9219"
></A
><H3
><A
@@ -731,7 +731,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9224"
+NAME="AEN9248"
></A
><H3
><A
@@ -825,7 +825,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9247"
+NAME="AEN9271"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-parserinternals.html b/doc/html/gnome-xml-parserinternals.html
index 7a031ed..68909b0 100644
--- a/doc/html/gnome-xml-parserinternals.html
+++ b/doc/html/gnome-xml-parserinternals.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN9524"
+NAME="AEN9548"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN9527"
+NAME="AEN9551"
></A
><H2
>Synopsis</H2
@@ -882,7 +882,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN9737"
+NAME="AEN9761"
></A
><H2
>Description</H2
@@ -892,14 +892,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9747"
+NAME="AEN9771"
></A
><H3
><A
@@ -938,7 +938,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9751"
+NAME="AEN9775"
></A
><H3
><A
@@ -996,7 +996,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9765"
+NAME="AEN9789"
></A
><H3
><A
@@ -1054,7 +1054,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9779"
+NAME="AEN9803"
></A
><H3
><A
@@ -1112,7 +1112,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9793"
+NAME="AEN9817"
></A
><H3
><A
@@ -1170,7 +1170,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9807"
+NAME="AEN9831"
></A
><H3
><A
@@ -1228,7 +1228,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9821"
+NAME="AEN9845"
></A
><H3
><A
@@ -1286,7 +1286,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9835"
+NAME="AEN9859"
></A
><H3
><A
@@ -1344,7 +1344,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9849"
+NAME="AEN9873"
></A
><H3
><A
@@ -1402,7 +1402,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9863"
+NAME="AEN9887"
></A
><H3
><A
@@ -1460,7 +1460,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9877"
+NAME="AEN9901"
></A
><H3
><A
@@ -1518,7 +1518,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9891"
+NAME="AEN9915"
></A
><H3
><A
@@ -1576,7 +1576,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9905"
+NAME="AEN9929"
></A
><H3
><A
@@ -1634,7 +1634,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9919"
+NAME="AEN9943"
></A
><H3
><A
@@ -1692,7 +1692,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9933"
+NAME="AEN9957"
></A
><H3
><A
@@ -1750,7 +1750,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9947"
+NAME="AEN9971"
></A
><H3
><A
@@ -1831,7 +1831,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9968"
+NAME="AEN9992"
></A
><H3
><A
@@ -1911,7 +1911,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9988"
+NAME="AEN10012"
></A
><H3
><A
@@ -2007,7 +2007,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10012"
+NAME="AEN10036"
></A
><H3
><A
@@ -2071,7 +2071,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10028"
+NAME="AEN10052"
></A
><H3
><A
@@ -2132,7 +2132,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10044"
+NAME="AEN10068"
></A
><H3
><A
@@ -2217,7 +2217,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10065"
+NAME="AEN10089"
></A
><H3
><A
@@ -2304,7 +2304,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10087"
+NAME="AEN10111"
></A
><H3
><A
@@ -2406,7 +2406,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10113"
+NAME="AEN10137"
></A
><H3
><A
@@ -2491,7 +2491,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10134"
+NAME="AEN10158"
></A
><H3
><A
@@ -2573,7 +2573,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10155"
+NAME="AEN10179"
></A
><H3
><A
@@ -2636,7 +2636,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10171"
+NAME="AEN10195"
></A
><H3
><A
@@ -2735,7 +2735,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10196"
+NAME="AEN10220"
></A
><H3
><A
@@ -2844,7 +2844,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10225"
+NAME="AEN10249"
></A
><H3
><A
@@ -2930,7 +2930,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10248"
+NAME="AEN10272"
></A
><H3
><A
@@ -3039,7 +3039,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10277"
+NAME="AEN10301"
></A
><H3
><A
@@ -3124,7 +3124,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10300"
+NAME="AEN10324"
></A
><H3
><A
@@ -3206,7 +3206,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10321"
+NAME="AEN10345"
></A
><H3
><A
@@ -3275,7 +3275,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10339"
+NAME="AEN10363"
></A
><H3
><A
@@ -3364,7 +3364,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10363"
+NAME="AEN10387"
></A
><H3
><A
@@ -3452,7 +3452,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10387"
+NAME="AEN10411"
></A
><H3
><A
@@ -3537,7 +3537,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10410"
+NAME="AEN10434"
></A
><H3
><A
@@ -3642,7 +3642,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10437"
+NAME="AEN10461"
></A
><H3
><A
@@ -3780,7 +3780,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10471"
+NAME="AEN10495"
></A
><H3
><A
@@ -3863,7 +3863,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10493"
+NAME="AEN10517"
></A
><H3
><A
@@ -3946,7 +3946,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10515"
+NAME="AEN10539"
></A
><H3
><A
@@ -4030,7 +4030,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10536"
+NAME="AEN10560"
></A
><H3
><A
@@ -4161,7 +4161,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10569"
+NAME="AEN10593"
></A
><H3
><A
@@ -4228,7 +4228,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10586"
+NAME="AEN10610"
></A
><H3
><A
@@ -4311,7 +4311,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10608"
+NAME="AEN10632"
></A
><H3
><A
@@ -4378,7 +4378,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10626"
+NAME="AEN10650"
></A
><H3
><A
@@ -4453,7 +4453,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10646"
+NAME="AEN10670"
></A
><H3
><A
@@ -4531,7 +4531,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10669"
+NAME="AEN10693"
></A
><H3
><A
@@ -4670,7 +4670,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10706"
+NAME="AEN10730"
></A
><H3
><A
@@ -4759,7 +4759,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10730"
+NAME="AEN10754"
></A
><H3
><A
@@ -4846,7 +4846,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10753"
+NAME="AEN10777"
></A
><H3
><A
@@ -4949,7 +4949,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10780"
+NAME="AEN10804"
></A
><H3
><A
@@ -5093,7 +5093,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10818"
+NAME="AEN10842"
></A
><H3
><A
@@ -5160,7 +5160,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10836"
+NAME="AEN10860"
></A
><H3
><A
@@ -5258,7 +5258,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10862"
+NAME="AEN10886"
></A
><H3
><A
@@ -5361,7 +5361,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10888"
+NAME="AEN10912"
></A
><H3
><A
@@ -5484,7 +5484,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10919"
+NAME="AEN10943"
></A
><H3
><A
@@ -5567,7 +5567,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10941"
+NAME="AEN10965"
></A
><H3
><A
@@ -5646,7 +5646,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10960"
+NAME="AEN10984"
></A
><H3
><A
@@ -5734,7 +5734,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10983"
+NAME="AEN11007"
></A
><H3
><A
@@ -5835,7 +5835,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11007"
+NAME="AEN11031"
></A
><H3
><A
@@ -5909,7 +5909,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11026"
+NAME="AEN11050"
></A
><H3
><A
@@ -5995,7 +5995,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11047"
+NAME="AEN11071"
></A
><H3
><A
@@ -6065,7 +6065,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11065"
+NAME="AEN11089"
></A
><H3
><A
@@ -6190,7 +6190,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11099"
+NAME="AEN11123"
></A
><H3
><A
@@ -6292,7 +6292,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11128"
+NAME="AEN11152"
></A
><H3
><A
@@ -6361,7 +6361,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11147"
+NAME="AEN11171"
></A
><H3
><A
@@ -6432,7 +6432,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11167"
+NAME="AEN11191"
></A
><H3
><A
@@ -6497,7 +6497,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11184"
+NAME="AEN11208"
></A
><H3
><A
@@ -6579,7 +6579,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11203"
+NAME="AEN11227"
></A
><H3
><A
@@ -6662,7 +6662,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11225"
+NAME="AEN11249"
></A
><H3
><A
@@ -6747,7 +6747,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11248"
+NAME="AEN11272"
></A
><H3
><A
@@ -6830,7 +6830,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11270"
+NAME="AEN11294"
></A
><H3
><A
@@ -6915,7 +6915,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11293"
+NAME="AEN11317"
></A
><H3
><A
@@ -7010,7 +7010,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11315"
+NAME="AEN11339"
></A
><H3
><A
@@ -7075,7 +7075,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11332"
+NAME="AEN11356"
></A
><H3
><A
@@ -7140,7 +7140,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11349"
+NAME="AEN11373"
></A
><H3
><A
@@ -7249,7 +7249,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11377"
+NAME="AEN11401"
></A
><H3
><A
@@ -7275,7 +7275,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11382"
+NAME="AEN11406"
></A
><H3
><A
@@ -7301,7 +7301,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11387"
+NAME="AEN11411"
></A
><H3
><A
@@ -7327,7 +7327,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11392"
+NAME="AEN11416"
></A
><H3
><A
@@ -7353,7 +7353,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11397"
+NAME="AEN11421"
></A
><H3
><A
@@ -7536,7 +7536,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11442"
+NAME="AEN11466"
></A
><H3
><A
@@ -7633,7 +7633,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11466"
+NAME="AEN11490"
></A
><H3
><A
@@ -7712,7 +7712,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11486"
+NAME="AEN11510"
></A
><H3
><A
@@ -7809,7 +7809,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11510"
+NAME="AEN11534"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-tree.html b/doc/html/gnome-xml-tree.html
index 374dab6..d14b4c6 100644
--- a/doc/html/gnome-xml-tree.html
+++ b/doc/html/gnome-xml-tree.html
@@ -894,6 +894,16 @@
HREF="gnome-xml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> <A
+HREF="gnome-xml-tree.html#XMLNEWDOCFRAGMENT"
+>xmlNewDocFragment</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#XMLDOCGETROOTELEMENT"
>xmlDocGetRootElement</A
> (<A
@@ -1445,7 +1455,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3346"
+NAME="AEN3349"
></A
><H2
>Description</H2
@@ -1455,14 +1465,14 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3349"
+NAME="AEN3352"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3351"
+NAME="AEN3354"
></A
><H3
><A
@@ -1502,7 +1512,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3356"
+NAME="AEN3359"
></A
><H3
><A
@@ -1515,7 +1525,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3360"
+NAME="AEN3363"
></A
><H3
><A
@@ -1541,7 +1551,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3365"
+NAME="AEN3368"
></A
><H3
><A
@@ -1567,7 +1577,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3370"
+NAME="AEN3373"
></A
><H3
><A
@@ -1597,7 +1607,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3375"
+NAME="AEN3378"
></A
><H3
><A
@@ -1623,7 +1633,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3380"
+NAME="AEN3383"
></A
><H3
><A
@@ -1660,7 +1670,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3385"
+NAME="AEN3388"
></A
><H3
><A
@@ -1691,7 +1701,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3390"
+NAME="AEN3393"
></A
><H3
><A
@@ -1720,7 +1730,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3395"
+NAME="AEN3398"
></A
><H3
><A
@@ -1746,7 +1756,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3400"
+NAME="AEN3403"
></A
><H3
><A
@@ -1781,7 +1791,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3405"
+NAME="AEN3408"
></A
><H3
><A
@@ -1807,7 +1817,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3410"
+NAME="AEN3413"
></A
><H3
><A
@@ -1838,7 +1848,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3415"
+NAME="AEN3418"
></A
><H3
><A
@@ -1869,7 +1879,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3420"
+NAME="AEN3423"
></A
><H3
><A
@@ -1901,7 +1911,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3425"
+NAME="AEN3428"
></A
><H3
><A
@@ -1927,7 +1937,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3430"
+NAME="AEN3433"
></A
><H3
><A
@@ -1958,7 +1968,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3435"
+NAME="AEN3438"
></A
><H3
><A
@@ -1989,7 +1999,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3440"
+NAME="AEN3443"
></A
><H3
><A
@@ -2015,7 +2025,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3445"
+NAME="AEN3448"
></A
><H3
><A
@@ -2044,7 +2054,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3450"
+NAME="AEN3453"
></A
><H3
><A
@@ -2075,7 +2085,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3455"
+NAME="AEN3458"
></A
><H3
><A
@@ -2101,7 +2111,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3460"
+NAME="AEN3463"
></A
><H3
><A
@@ -2136,7 +2146,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3465"
+NAME="AEN3468"
></A
><H3
><A
@@ -2162,7 +2172,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3470"
+NAME="AEN3473"
></A
><H3
><A
@@ -2199,7 +2209,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3475"
+NAME="AEN3478"
></A
><H3
><A
@@ -2225,7 +2235,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3480"
+NAME="AEN3483"
></A
><H3
><A
@@ -2255,7 +2265,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3485"
+NAME="AEN3488"
></A
><H3
><A
@@ -2281,7 +2291,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3490"
+NAME="AEN3493"
></A
><H3
><A
@@ -2311,7 +2321,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3495"
+NAME="AEN3498"
></A
><H3
><A
@@ -2337,7 +2347,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3500"
+NAME="AEN3503"
></A
><H3
><A
@@ -2368,7 +2378,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3506"
+NAME="AEN3509"
></A
><H3
><A
@@ -2399,7 +2409,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3511"
+NAME="AEN3514"
></A
><H3
><A
@@ -2425,7 +2435,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3516"
+NAME="AEN3519"
></A
><H3
><A
@@ -2472,7 +2482,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3521"
+NAME="AEN3524"
></A
><H3
><A
@@ -2498,7 +2508,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3526"
+NAME="AEN3529"
></A
><H3
><A
@@ -2541,7 +2551,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3531"
+NAME="AEN3534"
></A
><H3
><A
@@ -2567,7 +2577,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3536"
+NAME="AEN3539"
></A
><H3
><A
@@ -2593,7 +2603,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3541"
+NAME="AEN3544"
></A
><H3
><A
@@ -2619,7 +2629,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3546"
+NAME="AEN3549"
></A
><H3
><A
@@ -2645,7 +2655,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3551"
+NAME="AEN3554"
></A
><H3
><A
@@ -2671,7 +2681,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3556"
+NAME="AEN3559"
></A
><H3
><A
@@ -2732,7 +2742,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3572"
+NAME="AEN3575"
></A
><H3
><A
@@ -2813,7 +2823,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3593"
+NAME="AEN3596"
></A
><H3
><A
@@ -2876,7 +2886,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3609"
+NAME="AEN3612"
></A
><H3
><A
@@ -2975,7 +2985,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3634"
+NAME="AEN3637"
></A
><H3
><A
@@ -3078,7 +3088,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3659"
+NAME="AEN3662"
></A
><H3
><A
@@ -3162,7 +3172,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3680"
+NAME="AEN3683"
></A
><H3
><A
@@ -3243,7 +3253,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3700"
+NAME="AEN3703"
></A
><H3
><A
@@ -3339,7 +3349,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3724"
+NAME="AEN3727"
></A
><H3
><A
@@ -3402,7 +3412,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3740"
+NAME="AEN3743"
></A
><H3
><A
@@ -3483,7 +3493,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3761"
+NAME="AEN3764"
></A
><H3
><A
@@ -3559,7 +3569,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3780"
+NAME="AEN3783"
></A
><H3
><A
@@ -3641,7 +3651,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3800"
+NAME="AEN3803"
></A
><H3
><A
@@ -3719,7 +3729,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3820"
+NAME="AEN3823"
></A
><H3
><A
@@ -3863,7 +3873,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3856"
+NAME="AEN3859"
></A
><H3
><A
@@ -4007,7 +4017,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3892"
+NAME="AEN3895"
></A
><H3
><A
@@ -4070,7 +4080,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3908"
+NAME="AEN3911"
></A
><H3
><A
@@ -4107,7 +4117,7 @@
><P
>Creation of a Namespace, the old way using PI and without scoping
DEPRECATED !!!
-Will be removed at next major release !</P
+It now create a namespace on the root element of the document if found.</P
><P
></P
><DIV
@@ -4195,7 +4205,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3939"
+NAME="AEN3942"
></A
><H3
><A
@@ -4320,7 +4330,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3970"
+NAME="AEN3973"
></A
><H3
><A
@@ -4383,7 +4393,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3986"
+NAME="AEN3989"
></A
><H3
><A
@@ -4464,7 +4474,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4007"
+NAME="AEN4010"
></A
><H3
><A
@@ -4528,7 +4538,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4023"
+NAME="AEN4026"
></A
><H3
><A
@@ -4651,7 +4661,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4054"
+NAME="AEN4057"
></A
><H3
><A
@@ -4774,7 +4784,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4085"
+NAME="AEN4088"
></A
><H3
><A
@@ -4918,7 +4928,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4121"
+NAME="AEN4124"
></A
><H3
><A
@@ -4981,7 +4991,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4137"
+NAME="AEN4140"
></A
><H3
><A
@@ -5044,7 +5054,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4153"
+NAME="AEN4156"
></A
><H3
><A
@@ -5146,7 +5156,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4179"
+NAME="AEN4182"
></A
><H3
><A
@@ -5248,7 +5258,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4205"
+NAME="AEN4208"
></A
><H3
><A
@@ -5329,7 +5339,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4226"
+NAME="AEN4229"
></A
><H3
><A
@@ -5429,7 +5439,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4251"
+NAME="AEN4254"
></A
><H3
><A
@@ -5599,7 +5609,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4292"
+NAME="AEN4295"
></A
><H3
><A
@@ -5754,7 +5764,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4330"
+NAME="AEN4333"
></A
><H3
><A
@@ -5868,7 +5878,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4358"
+NAME="AEN4361"
></A
><H3
><A
@@ -6044,7 +6054,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4400"
+NAME="AEN4403"
></A
><H3
><A
@@ -6205,7 +6215,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4439"
+NAME="AEN4442"
></A
><H3
><A
@@ -6307,7 +6317,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4465"
+NAME="AEN4468"
></A
><H3
><A
@@ -6388,7 +6398,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4486"
+NAME="AEN4489"
></A
><H3
><A
@@ -6490,7 +6500,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4512"
+NAME="AEN4515"
></A
><H3
><A
@@ -6611,7 +6621,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4542"
+NAME="AEN4545"
></A
><H3
><A
@@ -6710,7 +6720,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4567"
+NAME="AEN4570"
></A
><H3
><A
@@ -6812,7 +6822,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4593"
+NAME="AEN4596"
></A
><H3
><A
@@ -6893,7 +6903,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4614"
+NAME="AEN4617"
></A
><H3
><A
@@ -7013,7 +7023,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4644"
+NAME="AEN4647"
></A
><H3
><A
@@ -7115,7 +7125,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4670"
+NAME="AEN4673"
></A
><H3
><A
@@ -7214,7 +7224,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4695"
+NAME="AEN4698"
></A
><H3
><A
@@ -7295,7 +7305,88 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4716"
+NAME="AEN4719"
+></A
+><H3
+><A
+NAME="XMLNEWDOCFRAGMENT"
+></A
+>xmlNewDocFragment ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><A
+HREF="gnome-xml-tree.html#XMLNODEPTR"
+>xmlNodePtr</A
+> xmlNewDocFragment (<A
+HREF="gnome-xml-tree.html#XMLDOCPTR"
+>xmlDocPtr</A
+> doc);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Creation of a new Fragment node.</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 owning the fragment</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="AEN4740"
></A
><H3
><A
@@ -7377,7 +7468,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4737"
+NAME="AEN4761"
></A
><H3
><A
@@ -7458,7 +7549,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4758"
+NAME="AEN4782"
></A
><H3
><A
@@ -7536,7 +7627,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4778"
+NAME="AEN4802"
></A
><H3
><A
@@ -7639,7 +7730,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4804"
+NAME="AEN4828"
></A
><H3
><A
@@ -7724,7 +7815,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4825"
+NAME="AEN4849"
></A
><H3
><A
@@ -7831,7 +7922,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4852"
+NAME="AEN4876"
></A
><H3
><A
@@ -7935,7 +8026,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4878"
+NAME="AEN4902"
></A
><H3
><A
@@ -8049,7 +8140,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4906"
+NAME="AEN4930"
></A
><H3
><A
@@ -8163,7 +8254,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4934"
+NAME="AEN4958"
></A
><H3
><A
@@ -8277,7 +8368,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4962"
+NAME="AEN4986"
></A
><H3
><A
@@ -8340,7 +8431,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4978"
+NAME="AEN5002"
></A
><H3
><A
@@ -8442,7 +8533,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5004"
+NAME="AEN5028"
></A
><H3
><A
@@ -8549,7 +8640,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5030"
+NAME="AEN5054"
></A
><H3
><A
@@ -8613,7 +8704,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5046"
+NAME="AEN5070"
></A
><H3
><A
@@ -8676,7 +8767,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5062"
+NAME="AEN5086"
></A
><H3
><A
@@ -8755,7 +8846,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5082"
+NAME="AEN5106"
></A
><H3
><A
@@ -8886,7 +8977,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5114"
+NAME="AEN5138"
></A
><H3
><A
@@ -9010,7 +9101,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5145"
+NAME="AEN5169"
></A
><H3
><A
@@ -9114,7 +9205,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5171"
+NAME="AEN5195"
></A
><H3
><A
@@ -9198,7 +9289,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5192"
+NAME="AEN5216"
></A
><H3
><A
@@ -9279,7 +9370,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5213"
+NAME="AEN5237"
></A
><H3
><A
@@ -9360,7 +9451,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5234"
+NAME="AEN5258"
></A
><H3
><A
@@ -9483,7 +9574,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5265"
+NAME="AEN5289"
></A
><H3
><A
@@ -9592,7 +9683,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5292"
+NAME="AEN5316"
></A
><H3
><A
@@ -9723,7 +9814,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5324"
+NAME="AEN5348"
></A
><H3
><A
@@ -9826,7 +9917,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5350"
+NAME="AEN5374"
></A
><H3
><A
@@ -9947,7 +10038,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5380"
+NAME="AEN5404"
></A
><H3
><A
@@ -10068,7 +10159,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5410"
+NAME="AEN5434"
></A
><H3
><A
@@ -10152,7 +10243,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5431"
+NAME="AEN5455"
></A
><H3
><A
@@ -10259,7 +10350,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5457"
+NAME="AEN5481"
></A
><H3
><A
@@ -10343,7 +10434,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5478"
+NAME="AEN5502"
></A
><H3
><A
@@ -10450,7 +10541,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5504"
+NAME="AEN5528"
></A
><H3
><A
@@ -10535,7 +10626,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5525"
+NAME="AEN5549"
></A
><H3
><A
@@ -10618,7 +10709,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5546"
+NAME="AEN5570"
></A
><H3
><A
@@ -10703,7 +10794,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5567"
+NAME="AEN5591"
></A
><H3
><A
@@ -10807,7 +10898,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5593"
+NAME="AEN5617"
></A
><H3
><A
@@ -10883,7 +10974,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5612"
+NAME="AEN5636"
></A
><H3
><A
@@ -10968,7 +11059,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5633"
+NAME="AEN5657"
></A
><H3
><A
@@ -11050,7 +11141,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5653"
+NAME="AEN5677"
></A
><H3
><A
@@ -11136,7 +11227,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5674"
+NAME="AEN5698"
></A
><H3
><A
@@ -11239,7 +11330,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5699"
+NAME="AEN5723"
></A
><H3
><A
@@ -11323,7 +11414,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5720"
+NAME="AEN5744"
></A
><H3
><A
@@ -11428,7 +11519,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5746"
+NAME="AEN5770"
></A
><H3
><A
@@ -11531,7 +11622,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5771"
+NAME="AEN5795"
></A
><H3
><A
@@ -11609,7 +11700,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5791"
+NAME="AEN5815"
></A
><H3
><A
@@ -11691,7 +11782,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5811"
+NAME="AEN5835"
></A
><H3
><A
@@ -11749,7 +11840,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5826"
+NAME="AEN5850"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-valid.html b/doc/html/gnome-xml-valid.html
index 5982090..27ed67b 100644
--- a/doc/html/gnome-xml-valid.html
+++ b/doc/html/gnome-xml-valid.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN6288"
+NAME="AEN6312"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN6291"
+NAME="AEN6315"
></A
><H2
>Synopsis</H2
@@ -859,7 +859,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN6487"
+NAME="AEN6511"
></A
><H2
>Description</H2
@@ -869,14 +869,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6514"
+NAME="AEN6538"
></A
><H3
><A
@@ -1064,7 +1064,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6536"
+NAME="AEN6560"
></A
><H3
><A
@@ -1094,7 +1094,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6541"
+NAME="AEN6565"
></A
><H3
><A
@@ -1120,7 +1120,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6546"
+NAME="AEN6570"
></A
><H3
><A
@@ -1146,7 +1146,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6551"
+NAME="AEN6575"
></A
><H3
><A
@@ -1176,7 +1176,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6556"
+NAME="AEN6580"
></A
><H3
><A
@@ -1202,7 +1202,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6561"
+NAME="AEN6585"
></A
><H3
><A
@@ -1228,7 +1228,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6566"
+NAME="AEN6590"
></A
><H3
><A
@@ -1258,7 +1258,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6571"
+NAME="AEN6595"
></A
><H3
><A
@@ -1284,7 +1284,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6576"
+NAME="AEN6600"
></A
><H3
><A
@@ -1310,7 +1310,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6581"
+NAME="AEN6605"
></A
><H3
><A
@@ -1340,7 +1340,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6586"
+NAME="AEN6610"
></A
><H3
><A
@@ -1366,7 +1366,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6591"
+NAME="AEN6615"
></A
><H3
><A
@@ -1392,7 +1392,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6596"
+NAME="AEN6620"
></A
><H3
><A
@@ -1422,7 +1422,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6601"
+NAME="AEN6625"
></A
><H3
><A
@@ -1448,7 +1448,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6606"
+NAME="AEN6630"
></A
><H3
><A
@@ -1474,7 +1474,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6611"
+NAME="AEN6635"
></A
><H3
><A
@@ -1504,7 +1504,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6616"
+NAME="AEN6640"
></A
><H3
><A
@@ -1530,7 +1530,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6621"
+NAME="AEN6645"
></A
><H3
><A
@@ -1695,7 +1695,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6662"
+NAME="AEN6686"
></A
><H3
><A
@@ -1776,7 +1776,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6683"
+NAME="AEN6707"
></A
><H3
><A
@@ -1839,7 +1839,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6699"
+NAME="AEN6723"
></A
><H3
><A
@@ -1923,7 +1923,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6720"
+NAME="AEN6744"
></A
><H3
><A
@@ -2025,7 +2025,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6746"
+NAME="AEN6770"
></A
><H3
><A
@@ -2106,7 +2106,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6767"
+NAME="AEN6791"
></A
><H3
><A
@@ -2169,7 +2169,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6783"
+NAME="AEN6807"
></A
><H3
><A
@@ -2334,7 +2334,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6824"
+NAME="AEN6848"
></A
><H3
><A
@@ -2415,7 +2415,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6845"
+NAME="AEN6869"
></A
><H3
><A
@@ -2478,7 +2478,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6861"
+NAME="AEN6885"
></A
><H3
><A
@@ -2562,7 +2562,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6882"
+NAME="AEN6906"
></A
><H3
><A
@@ -2644,7 +2644,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6903"
+NAME="AEN6927"
></A
><H3
><A
@@ -2707,7 +2707,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6919"
+NAME="AEN6943"
></A
><H3
><A
@@ -2789,7 +2789,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6940"
+NAME="AEN6964"
></A
><H3
><A
@@ -3017,7 +3017,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6996"
+NAME="AEN7020"
></A
><H3
><A
@@ -3098,7 +3098,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7017"
+NAME="AEN7041"
></A
><H3
><A
@@ -3161,7 +3161,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7033"
+NAME="AEN7057"
></A
><H3
><A
@@ -3245,7 +3245,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7054"
+NAME="AEN7078"
></A
><H3
><A
@@ -3389,7 +3389,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7090"
+NAME="AEN7114"
></A
><H3
><A
@@ -3468,7 +3468,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7110"
+NAME="AEN7134"
></A
><H3
><A
@@ -3531,7 +3531,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7126"
+NAME="AEN7150"
></A
><H3
><A
@@ -3633,7 +3633,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7152"
+NAME="AEN7176"
></A
><H3
><A
@@ -3755,7 +3755,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7182"
+NAME="AEN7206"
></A
><H3
><A
@@ -3854,7 +3854,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7207"
+NAME="AEN7231"
></A
><H3
><A
@@ -3998,7 +3998,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7243"
+NAME="AEN7267"
></A
><H3
><A
@@ -4077,7 +4077,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7263"
+NAME="AEN7287"
></A
><H3
><A
@@ -4140,7 +4140,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7279"
+NAME="AEN7303"
></A
><H3
><A
@@ -4262,7 +4262,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7309"
+NAME="AEN7333"
></A
><H3
><A
@@ -4361,7 +4361,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7334"
+NAME="AEN7358"
></A
><H3
><A
@@ -4464,7 +4464,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7359"
+NAME="AEN7383"
></A
><H3
><A
@@ -4589,7 +4589,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7389"
+NAME="AEN7413"
></A
><H3
><A
@@ -4716,7 +4716,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7420"
+NAME="AEN7444"
></A
><H3
><A
@@ -4830,7 +4830,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7449"
+NAME="AEN7473"
></A
><H3
><A
@@ -4954,7 +4954,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7479"
+NAME="AEN7503"
></A
><H3
><A
@@ -5076,7 +5076,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7510"
+NAME="AEN7534"
></A
><H3
><A
@@ -5179,7 +5179,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7536"
+NAME="AEN7560"
></A
><H3
><A
@@ -5299,7 +5299,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7566"
+NAME="AEN7590"
></A
><H3
><A
@@ -5429,7 +5429,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7598"
+NAME="AEN7622"
></A
><H3
><A
@@ -5603,7 +5603,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7639"
+NAME="AEN7663"
></A
><H3
><A
@@ -5705,7 +5705,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7665"
+NAME="AEN7689"
></A
><H3
><A
@@ -5826,7 +5826,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7695"
+NAME="AEN7719"
></A
><H3
><A
@@ -5926,7 +5926,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7720"
+NAME="AEN7744"
></A
><H3
><A
@@ -6050,7 +6050,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7751"
+NAME="AEN7775"
></A
><H3
><A
@@ -6152,7 +6152,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7777"
+NAME="AEN7801"
></A
><H3
><A
@@ -6254,7 +6254,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7803"
+NAME="AEN7827"
></A
><H3
><A
@@ -6420,7 +6420,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7841"
+NAME="AEN7865"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-xml-error.html b/doc/html/gnome-xml-xml-error.html
index 47f3a66..84e5899 100644
--- a/doc/html/gnome-xml-xml-error.html
+++ b/doc/html/gnome-xml-xml-error.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN7879"
+NAME="AEN7903"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN7882"
+NAME="AEN7906"
></A
><H2
>Synopsis</H2
@@ -187,7 +187,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN7894"
+NAME="AEN7918"
></A
><H2
>Description</H2
@@ -197,14 +197,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7904"
+NAME="AEN7928"
></A
><H3
><A
@@ -438,7 +438,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7927"
+NAME="AEN7951"
></A
><H3
><A
@@ -535,7 +535,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7950"
+NAME="AEN7974"
></A
><H3
><A
@@ -632,7 +632,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7973"
+NAME="AEN7997"
></A
><H3
><A
@@ -729,7 +729,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN7996"
+NAME="AEN8020"
></A
><H3
><A
@@ -792,7 +792,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8012"
+NAME="AEN8036"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-xmlmemory.html b/doc/html/gnome-xml-xmlmemory.html
index f7aae4f..7105c25 100644
--- a/doc/html/gnome-xml-xmlmemory.html
+++ b/doc/html/gnome-xml-xmlmemory.html
@@ -103,7 +103,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN12120"
+NAME="AEN12144"
></A
><H2
>Name</H2
@@ -111,7 +111,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN12123"
+NAME="AEN12147"
></A
><H2
>Synopsis</H2
@@ -137,18 +137,12 @@
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 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN12146"
+NAME="AEN12168"
></A
><H2
>Description</H2
@@ -228,14 +222,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12156"
+NAME="AEN12178"
></A
><H3
><A
@@ -314,7 +308,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the memory block pointer</TD
></TR
></TABLE
><P
@@ -324,7 +318,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12172"
+NAME="AEN12194"
></A
><H3
><A
@@ -340,10 +334,7 @@
><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 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
></TABLE
><P
@@ -390,7 +381,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12189"
+NAME="AEN12210"
></A
><H3
><A
@@ -407,10 +398,7 @@
><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 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the initial memory block pointer</TD
></TR
><TR
><TD
@@ -464,7 +452,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
></TABLE
><P
@@ -474,7 +462,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12210"
+NAME="AEN12230"
></A
><H3
><A
@@ -552,7 +540,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12230"
+NAME="AEN12250"
></A
><H3
><A
@@ -610,7 +598,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12245"
+NAME="AEN12265"
></A
><H3
><A
@@ -668,7 +656,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12260"
+NAME="AEN12280"
></A
><H3
><A
@@ -696,7 +684,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12266"
+NAME="AEN12286"
></A
><H3
><A
@@ -760,7 +748,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12282"
+NAME="AEN12302"
></A
><H3
><A
@@ -847,7 +835,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12303"
+NAME="AEN12323"
></A
><H3
><A
@@ -873,7 +861,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12308"
+NAME="AEN12328"
></A
><H3
><A
@@ -899,7 +887,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12313"
+NAME="AEN12333"
></A
><H3
><A
@@ -925,7 +913,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12318"
+NAME="AEN12338"
></A
><H3
><A
@@ -1030,7 +1018,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12343"
+NAME="AEN12363"
></A
><H3
><A
@@ -1147,7 +1135,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN12371"
+NAME="AEN12391"
></A
><H3
><A
diff --git a/doc/html/gnome-xml-xpath.html b/doc/html/gnome-xml-xpath.html
index f0f3e4e..ede908b 100644
--- a/doc/html/gnome-xml-xpath.html
+++ b/doc/html/gnome-xml-xpath.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN8653"
+NAME="AEN8677"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN8656"
+NAME="AEN8680"
></A
><H2
>Synopsis</H2
@@ -347,7 +347,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN8713"
+NAME="AEN8737"
></A
><H2
>Description</H2
@@ -357,14 +357,14 @@
><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 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8723"
+NAME="AEN8747"
></A
><H3
><A
@@ -441,7 +441,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8728"
+NAME="AEN8752"
></A
><H3
><A
@@ -478,7 +478,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8733"
+NAME="AEN8757"
></A
><H3
><A
@@ -504,7 +504,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8738"
+NAME="AEN8762"
></A
><H3
><A
@@ -534,7 +534,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8743"
+NAME="AEN8767"
></A
><H3
><A
@@ -560,7 +560,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8748"
+NAME="AEN8772"
></A
><H3
><A
@@ -586,7 +586,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8753"
+NAME="AEN8777"
></A
><H3
><A
@@ -612,7 +612,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8758"
+NAME="AEN8782"
></A
><H3
><A
@@ -638,7 +638,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8763"
+NAME="AEN8787"
></A
><H3
><A
@@ -664,7 +664,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8768"
+NAME="AEN8792"
></A
><H3
><A
@@ -690,7 +690,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8773"
+NAME="AEN8797"
></A
><H3
><A
@@ -716,7 +716,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8778"
+NAME="AEN8802"
></A
><H3
><A
@@ -749,7 +749,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8783"
+NAME="AEN8807"
></A
><H3
><A
@@ -775,7 +775,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8788"
+NAME="AEN8812"
></A
><H3
><A
@@ -869,7 +869,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8811"
+NAME="AEN8835"
></A
><H3
><A
@@ -898,7 +898,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8816"
+NAME="AEN8840"
></A
><H3
><A
@@ -924,7 +924,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8821"
+NAME="AEN8845"
></A
><H3
><A
@@ -953,7 +953,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8826"
+NAME="AEN8850"
></A
><H3
><A
@@ -979,7 +979,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8831"
+NAME="AEN8855"
></A
><H3
><A
@@ -1058,7 +1058,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8850"
+NAME="AEN8874"
></A
><H3
><A
@@ -1087,7 +1087,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8855"
+NAME="AEN8879"
></A
><H3
><A
@@ -1113,7 +1113,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8860"
+NAME="AEN8884"
></A
><H3
><A
@@ -1213,7 +1213,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8885"
+NAME="AEN8909"
></A
><H3
><A
@@ -1242,7 +1242,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8890"
+NAME="AEN8914"
></A
><H3
><A
@@ -1268,7 +1268,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8895"
+NAME="AEN8919"
></A
><H3
><A
@@ -1347,7 +1347,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8914"
+NAME="AEN8938"
></A
><H3
><A
@@ -1428,7 +1428,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8935"
+NAME="AEN8959"
></A
><H3
><A
@@ -1491,7 +1491,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8951"
+NAME="AEN8975"
></A
><H3
><A
@@ -1594,7 +1594,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8977"
+NAME="AEN9001"
></A
><H3
><A
@@ -1657,7 +1657,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN8993"
+NAME="AEN9017"
></A
><H3
><A
@@ -1760,7 +1760,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9019"
+NAME="AEN9043"
></A
><H3
><A
@@ -1846,7 +1846,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9041"
+NAME="AEN9065"
></A
><H3
><A
@@ -1918,7 +1918,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN9059"
+NAME="AEN9083"
></A
><H3
><A
diff --git a/doc/html/index.sgml b/doc/html/index.sgml
index d09373d..90e2c5d 100644
--- a/doc/html/index.sgml
+++ b/doc/html/index.sgml
@@ -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">
diff --git a/doc/xml.html b/doc/xml.html
index 0bc1cbc..a9d91da 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -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 @@
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 @@
<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 @@
ATTRIBUTE prop2
ENTITY_REF
TEXT
- content= too
- ELEMENT head
+ content= linux too
ELEMENT title
TEXT
content=Welcome to Gnome
@@ -374,7 +402,11 @@
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 @@
<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 @@
doc = xmlNewDoc("1.0");
doc->root = xmlNewDocNode(doc, NULL, "EXAMPLE", NULL);
xmlSetProp(doc->root, "prop1", "gnome is great");
- xmlSetProp(doc->root, "prop2", "&linux; too");
+ xmlSetProp(doc->root, "prop2", "& 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 @@
<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 @@
<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 "&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 @@
<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 @@
<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>
diff --git a/entities.c b/entities.c
index 027acd0..d6580cf 100644
--- a/entities.c
+++ b/entities.c
@@ -388,13 +388,14 @@
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 @@
buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar));
if (buffer == NULL) {
perror("malloc failed");
- exit(1);
+ return(NULL);
}
out = buffer;
}
@@ -530,10 +531,11 @@
*/
#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 @@
buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar));
if (buffer == NULL) {
perror("malloc failed");
- exit(1);
+ return(NULL);
}
out = buffer;
diff --git a/nanohttp.c b/nanohttp.c
index 6a921e1..4b27225 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -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"
diff --git a/parser.c b/parser.c
index a861deb..eb9a578 100644
--- a/parser.c
+++ b/parser.c
@@ -277,7 +277,7 @@
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 @@
}
if (cur == ';')
ptr++;
- } else if ((cur = '&') && (ptr[1] == '#')){
+ } else if ((cur == '&') && (ptr[1] == '#')){
ptr += 2;
cur = *ptr;
while (cur != ';') {
@@ -1366,10 +1366,11 @@
*/
#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); \
} \
}
@@ -8045,6 +8046,107 @@
}
/**
+ * 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 @@
if (input == NULL) {
perror("malloc");
xmlFree(ctxt);
- exit(1);
+ return;
}
xmlClearParserCtxt(ctxt);
diff --git a/result/noent/ns4 b/result/noent/ns4
index fb37243..fb7bc3e 100644
--- a/result/noent/ns4
+++ b/result/noent/ns4
@@ -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('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>
+<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>
diff --git a/result/ns4 b/result/ns4
index fb37243..fb7bc3e 100644
--- a/result/ns4
+++ b/result/ns4
@@ -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('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>
+<diagram xml:lang="en" xml:link="simple" xml:space="preserve" testattr="test"/>
diff --git a/test/ns4 b/test/ns4
index a0f15e0..136bf92 100644
--- a/test/ns4
+++ b/test/ns4
@@ -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"/>
diff --git a/tree.c b/tree.c
index 3c14578..425b454 100644
--- a/tree.c
+++ b/tree.c
@@ -160,13 +160,18 @@
} 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 @@
*
* 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);
}
/**
diff --git a/valid.c b/valid.c
index 0efa3c6..7ee20a0 100644
--- a/valid.c
+++ b/valid.c
@@ -74,7 +74,7 @@
break;
default:
fprintf(stderr, "xmlNewElementContent: unknown type %d\n", type);
- exit(1);
+ return(NULL);
}
ret = (xmlElementContentPtr) xmlMalloc(sizeof(xmlElementContent));
if (ret == NULL) {
diff --git a/xpath.c b/xpath.c
index 4882b04..7f2a589 100644
--- a/xpath.c
+++ b/xpath.c
@@ -186,7 +186,7 @@
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 @@
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);