Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel
diff --git a/doc/html/gnome-xml-htmlparser.html b/doc/html/gnome-xml-htmlparser.html
index 119e226..ebf2e9b 100644
--- a/doc/html/gnome-xml-htmlparser.html
+++ b/doc/html/gnome-xml-htmlparser.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN6506"
+NAME="AEN7224"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN6509"
+NAME="AEN7227"
></A
><H2
>Synopsis</H2
@@ -277,7 +277,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN6547"
+NAME="AEN7265"
></A
><H2
>Description</H2
@@ -287,248 +287,131 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN6550"
+NAME="AEN7268"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6552"
+NAME="AEN7270"
></A
><H3
><A
NAME="HTMLPARSERCTXT"
></A
>htmlParserCtxt</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlParserCtxt htmlParserCtxt;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6557"
+NAME="AEN7274"
></A
><H3
><A
NAME="HTMLPARSERCTXTPTR"
></A
>htmlParserCtxtPtr</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlParserCtxtPtr htmlParserCtxtPtr;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6562"
+NAME="AEN7278"
></A
><H3
><A
NAME="HTMLPARSERNODEINFO"
></A
>htmlParserNodeInfo</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlParserNodeInfo htmlParserNodeInfo;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6567"
+NAME="AEN7282"
></A
><H3
><A
NAME="HTMLSAXHANDLER"
></A
>htmlSAXHandler</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlSAXHandler htmlSAXHandler;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6572"
+NAME="AEN7286"
></A
><H3
><A
NAME="HTMLSAXHANDLERPTR"
></A
>htmlSAXHandlerPtr</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlSAXHandlerPtr htmlSAXHandlerPtr;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6577"
+NAME="AEN7290"
></A
><H3
><A
NAME="HTMLPARSERINPUT"
></A
>htmlParserInput</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlParserInput htmlParserInput;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6582"
+NAME="AEN7294"
></A
><H3
><A
NAME="HTMLPARSERINPUTPTR"
></A
>htmlParserInputPtr</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlParserInputPtr htmlParserInputPtr;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6587"
+NAME="AEN7298"
></A
><H3
><A
NAME="HTMLDOCPTR"
></A
>htmlDocPtr</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlDocPtr htmlDocPtr;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6592"
+NAME="AEN7302"
></A
><H3
><A
NAME="HTMLNODEPTR"
></A
>htmlNodePtr</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->typedef xmlNodePtr htmlNodePtr;</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6597"
+NAME="AEN7306"
></A
><H3
><A
@@ -584,7 +467,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> The tag name</TD
+> </TD
></TR
><TR
><TD
@@ -599,7 +482,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the related htmlElemDescPtr or NULL if not found.</TD
+> </TD
></TR
></TABLE
><P
@@ -609,7 +492,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6618"
+NAME="AEN7327"
></A
><H3
><A
@@ -667,7 +550,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the entity name</TD
+> </TD
></TR
><TR
><TD
@@ -682,7 +565,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the associated htmlEntityDescPtr if found, NULL otherwise.</TD
+> </TD
></TR
></TABLE
><P
@@ -692,7 +575,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6640"
+NAME="AEN7349"
></A
><H3
><A
@@ -754,7 +637,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> an HTML parser context</TD
+> </TD
></TR
><TR
><TD
@@ -771,7 +654,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> location to store the entity name</TD
+> </TD
></TR
><TR
><TD
@@ -786,8 +669,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the associated htmlEntityDescPtr if found, or NULL otherwise,
-if non-NULL *str will have to be freed by the caller.</TD
+> </TD
></TR
></TABLE
><P
@@ -797,7 +679,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6667"
+NAME="AEN7376"
></A
><H3
><A
@@ -856,7 +738,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> an HTML parser context</TD
+> </TD
></TR
><TR
><TD
@@ -871,7 +753,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the value parsed (as an int)</TD
+> </TD
></TR
></TABLE
><P
@@ -881,7 +763,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6689"
+NAME="AEN7398"
></A
><H3
><A
@@ -938,7 +820,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> an HTML parser context</TD
+> </TD
></TR
></TABLE
><P
@@ -948,7 +830,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6707"
+NAME="AEN7416"
></A
><H3
><A
@@ -1012,7 +894,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a pointer to an array of CHAR</TD
+> </TD
></TR
><TR
><TD
@@ -1029,7 +911,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a free form C string describing the HTML document encoding, or NULL</TD
+> </TD
></TR
><TR
><TD
@@ -1046,7 +928,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the SAX handler block</TD
+> </TD
></TR
><TR
><TD
@@ -1063,7 +945,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> if using SAX, this pointer will be provided on callbacks. </TD
+> </TD
></TR
><TR
><TD
@@ -1078,7 +960,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the resulting document tree</TD
+> </TD
></TR
></TABLE
><P
@@ -1088,7 +970,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6741"
+NAME="AEN7450"
></A
><H3
><A
@@ -1145,7 +1027,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a pointer to an array of CHAR</TD
+> </TD
></TR
><TR
><TD
@@ -1162,7 +1044,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a free form C string describing the HTML document encoding, or NULL</TD
+> </TD
></TR
><TR
><TD
@@ -1177,7 +1059,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the resulting document tree</TD
+> </TD
></TR
></TABLE
><P
@@ -1187,7 +1069,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6766"
+NAME="AEN7475"
></A
><H3
><A
@@ -1249,7 +1131,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the filename</TD
+> </TD
></TR
><TR
><TD
@@ -1266,7 +1148,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a free form C string describing the HTML document encoding, or NULL</TD
+> </TD
></TR
><TR
><TD
@@ -1283,7 +1165,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the SAX handler block</TD
+> </TD
></TR
><TR
><TD
@@ -1300,7 +1182,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> if using SAX, this pointer will be provided on callbacks. </TD
+> </TD
></TR
><TR
><TD
@@ -1315,7 +1197,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the resulting document tree</TD
+> </TD
></TR
></TABLE
><P
@@ -1325,7 +1207,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN6799"
+NAME="AEN7508"
></A
><H3
><A
@@ -1380,7 +1262,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the filename</TD
+> </TD
></TR
><TR
><TD
@@ -1397,7 +1279,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a free form C string describing the HTML document encoding, or NULL</TD
+> </TD
></TR
><TR
><TD
@@ -1412,7 +1294,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the resulting document tree</TD
+> </TD
></TR
></TABLE
><P