Regenerated the documentation, Daniel.
diff --git a/doc/html/gnome-xml-entities.html b/doc/html/gnome-xml-entities.html
index 22ad347..71f2994 100644
--- a/doc/html/gnome-xml-entities.html
+++ b/doc/html/gnome-xml-entities.html
@@ -115,7 +115,7 @@
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3775"
+NAME="AEN4098"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3778"
+NAME="AEN4101"
></A
><H2
>Synopsis</H2
@@ -344,7 +344,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3835"
+NAME="AEN4158"
></A
><H2
>Description</H2
@@ -354,14 +354,14 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3838"
+NAME="AEN4161"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3840"
+NAME="AEN4163"
></A
><H3
><A
@@ -377,7 +377,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_INTERNAL_GENERAL_ENTITY</PRE
+>#define XML_INTERNAL_GENERAL_ENTITY 1</PRE
></TD
></TR
></TABLE
@@ -387,7 +387,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3845"
+NAME="AEN4168"
></A
><H3
><A
@@ -403,7 +403,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_EXTERNAL_GENERAL_PARSED_ENTITY</PRE
+>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2</PRE
></TD
></TR
></TABLE
@@ -413,7 +413,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3850"
+NAME="AEN4173"
></A
><H3
><A
@@ -429,7 +429,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</PRE
+>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3</PRE
></TD
></TR
></TABLE
@@ -439,7 +439,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3855"
+NAME="AEN4178"
></A
><H3
><A
@@ -455,7 +455,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_INTERNAL_PARAMETER_ENTITY</PRE
+>#define XML_INTERNAL_PARAMETER_ENTITY 4</PRE
></TD
></TR
></TABLE
@@ -465,7 +465,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3860"
+NAME="AEN4183"
></A
><H3
><A
@@ -481,7 +481,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_EXTERNAL_PARAMETER_ENTITY</PRE
+>#define XML_EXTERNAL_PARAMETER_ENTITY 5</PRE
></TD
></TR
></TABLE
@@ -491,7 +491,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3865"
+NAME="AEN4188"
></A
><H3
><A
@@ -507,7 +507,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_INTERNAL_PREDEFINED_ENTITY</PRE
+>#define XML_INTERNAL_PREDEFINED_ENTITY 6</PRE
></TD
></TR
></TABLE
@@ -517,20 +517,33 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3870"
+NAME="AEN4193"
></A
><H3
><A
NAME="XMLENTITYPTR"
></A
>xmlEntityPtr</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>typedef xmlEntity *xmlEntityPtr;</PRE
+></TD
+></TR
+></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3874"
+NAME="AEN4198"
></A
><H3
><A
@@ -546,7 +559,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XML_MIN_ENTITIES_TABLE</PRE
+>#define XML_MIN_ENTITIES_TABLE 32</PRE
></TD
></TR
></TABLE
@@ -556,20 +569,33 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3879"
+NAME="AEN4203"
></A
><H3
><A
NAME="XMLENTITIESTABLEPTR"
></A
>xmlEntitiesTablePtr</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
+></TD
+></TR
+></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3883"
+NAME="AEN4208"
></A
><H3
><A
@@ -639,7 +665,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document</TD
></TR
><TR
><TD
@@ -656,7 +682,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -673,7 +699,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity type XML_xxx_yyy_ENTITY</TD
></TR
><TR
><TD
@@ -690,7 +716,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity external ID if available</TD
></TR
><TR
><TD
@@ -707,7 +733,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity system ID if available</TD
></TR
><TR
><TD
@@ -724,7 +750,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity content</TD
></TR
></TABLE
><P
@@ -734,7 +760,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3923"
+NAME="AEN4248"
></A
><H3
><A
@@ -804,7 +830,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document</TD
></TR
><TR
><TD
@@ -821,7 +847,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -838,7 +864,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity type XML_xxx_yyy_ENTITY</TD
></TR
><TR
><TD
@@ -855,7 +881,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity external ID if available</TD
></TR
><TR
><TD
@@ -872,7 +898,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity system ID if available</TD
></TR
><TR
><TD
@@ -889,7 +915,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity content</TD
></TR
></TABLE
><P
@@ -899,7 +925,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3963"
+NAME="AEN4288"
></A
><H3
><A
@@ -955,7 +981,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -970,7 +996,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>NULL if not, othervise the entity</TD
></TR
></TABLE
><P
@@ -980,7 +1006,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3984"
+NAME="AEN4309"
></A
><H3
><A
@@ -1042,7 +1068,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document referencing the entity</TD
></TR
><TR
><TD
@@ -1059,7 +1085,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -1074,7 +1100,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>A pointer to the entity structure or NULL if not found.</TD
></TR
></TABLE
><P
@@ -1084,7 +1110,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4010"
+NAME="AEN4335"
></A
><H3
><A
@@ -1145,7 +1171,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document referencing the entity</TD
></TR
><TR
><TD
@@ -1162,7 +1188,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -1177,7 +1203,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>A pointer to the entity structure or NULL if not found.</TD
></TR
></TABLE
><P
@@ -1187,7 +1213,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4036"
+NAME="AEN4361"
></A
><H3
><A
@@ -1248,7 +1274,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document referencing the entity</TD
></TR
><TR
><TD
@@ -1265,7 +1291,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the entity name</TD
></TR
><TR
><TD
@@ -1280,7 +1306,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>A pointer to the entity structure or NULL if not found.</TD
></TR
></TABLE
><P
@@ -1290,7 +1316,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4062"
+NAME="AEN4387"
></A
><H3
><A
@@ -1324,7 +1350,8 @@
>Do a global encoding of a string, replacing the predefined entities
and non ASCII values with their entities and CharRef counterparts.</P
><P
->TODO: remove this, once we are not afraid of breaking binary compatibility</P
+>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
+compatibility</P
><P
>People must migrate their code to xmlEncodeEntitiesReentrant !
This routine will issue a warning when encountered.</P
@@ -1356,7 +1383,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document containing the string</TD
></TR
><TR
><TD
@@ -1373,7 +1400,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> A string to convert to XML.</TD
></TR
><TR
><TD
@@ -1388,7 +1415,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>A newly allocated string with the substitution done.</TD
></TR
></TABLE
><P
@@ -1398,7 +1425,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4090"
+NAME="AEN4415"
></A
><H3
><A
@@ -1464,7 +1491,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the document containing the string</TD
></TR
><TR
><TD
@@ -1481,7 +1508,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> A string to convert to XML.</TD
></TR
><TR
><TD
@@ -1496,7 +1523,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>A newly allocated string with the substitution done.</TD
></TR
></TABLE
><P
@@ -1506,7 +1533,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4117"
+NAME="AEN4442"
></A
><H3
><A
@@ -1557,7 +1584,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
></TR
></TABLE
><P
@@ -1567,7 +1594,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4133"
+NAME="AEN4458"
></A
><H3
><A
@@ -1623,7 +1650,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> An entity table</TD
></TR
><TR
><TD
@@ -1638,7 +1665,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>the new xmlEntitiesTablePtr or NULL in case of error.</TD
></TR
></TABLE
><P
@@ -1648,7 +1675,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4154"
+NAME="AEN4479"
></A
><H3
><A
@@ -1701,7 +1728,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> An entity table</TD
></TR
></TABLE
><P
@@ -1711,7 +1738,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4170"
+NAME="AEN4495"
></A
><H3
><A
@@ -1768,7 +1795,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> An XML buffer.</TD
></TR
><TR
><TD
@@ -1785,7 +1812,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> An entity table</TD
></TR
></TABLE
><P