Rebuilt the docs, Daniel
diff --git a/doc/html/libxml-xmlautomata.html b/doc/html/libxml-xmlautomata.html
index 63481c5..d47131f 100644
--- a/doc/html/libxml-xmlautomata.html
+++ b/doc/html/libxml-xmlautomata.html
@@ -117,11 +117,13 @@
 ></DIV
 ><H1
 ><A
-NAME="LIBXML-XMLAUTOMATA">xmlautomata</H1
+NAME="LIBXML-XMLAUTOMATA"
+></A
+>xmlautomata</H1
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN27967"
+NAME="AEN30150"
 ></A
 ><H2
 >Name</H2
@@ -129,7 +131,9 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN27970"><H2
+NAME="AEN30153"
+></A
+><H2
 >Synopsis</H2
 ><TABLE
 BORDER="0"
@@ -388,7 +392,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN28035"
+NAME="AEN30218"
 ></A
 ><H2
 >Description</H2
@@ -398,14 +402,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN28038"
+NAME="AEN30221"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28040"
+NAME="AEN30223"
 ></A
 ><H3
 ><A
@@ -431,7 +435,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28045"
+NAME="AEN30228"
 ></A
 ><H3
 ><A
@@ -459,7 +463,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28051"
+NAME="AEN30234"
 ></A
 ><H3
 ><A
@@ -485,7 +489,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28056"
+NAME="AEN30239"
 ></A
 ><H3
 ><A
@@ -513,7 +517,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28062"
+NAME="AEN30245"
 ></A
 ><H3
 ><A
@@ -543,7 +547,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28069"><P
+NAME="AEN30252"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -580,7 +586,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28078"
+NAME="AEN30261"
 ></A
 ><H3
 ><A
@@ -610,7 +616,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28085"><P
+NAME="AEN30268"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -646,7 +654,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28094"
+NAME="AEN30277"
 ></A
 ><H3
 ><A
@@ -673,13 +681,15 @@
 ></TR
 ></TABLE
 ><P
-></P
+>Initial state lookup</P
 ><P
 ></P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28102"><P
+NAME="AEN30285"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -733,7 +743,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28115"
+NAME="AEN30298"
 ></A
 ><H3
 ><A
@@ -767,7 +777,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28123"><P
+NAME="AEN30306"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -838,7 +850,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28140"
+NAME="AEN30323"
 ></A
 ><H3
 ><A
@@ -871,7 +883,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28148"><P
+NAME="AEN30331"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -925,7 +939,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28161"
+NAME="AEN30344"
 ></A
 ><H3
 ><A
@@ -972,19 +986,26 @@
 >to</I
 ></TT
 > is NULL, this create first a new target state in the automata
-and then adds a an epsilon transition from the <TT
+and then adds a transition from the <TT
 CLASS="PARAMETER"
 ><I
 >from</I
 ></TT
-> state to the
-target state</P
+> state to the target state
+activated by the value of <TT
+CLASS="PARAMETER"
+><I
+>token</I
+></TT
+></P
 ><P
 ></P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28174"><P
+NAME="AEN30358"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -1060,7 +1081,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> the input string associated to that transition</TD
 ></TR
 ><TR
 ><TD
@@ -1077,7 +1098,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> data passed to the callback function if the transition is activated</TD
 ></TR
 ><TR
 ><TD
@@ -1106,7 +1127,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28203"
+NAME="AEN30387"
 ></A
 ><H3
 ><A
@@ -1183,7 +1204,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28219"><P
+NAME="AEN30403"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -1293,7 +1316,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+>  the maximum successive occurences of token</TD
 ></TR
 ><TR
 ><TD
@@ -1310,7 +1333,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+>  data associated to the transition</TD
 ></TR
 ><TR
 ><TD
@@ -1339,7 +1362,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28256"
+NAME="AEN30440"
 ></A
 ><H3
 ><A
@@ -1416,7 +1439,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28272"><P
+NAME="AEN30456"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -1526,7 +1551,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+>  the maximum successive occurences of token</TD
 ></TR
 ><TR
 ><TD
@@ -1543,7 +1568,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+>  data associated to the transition</TD
 ></TR
 ><TR
 ><TD
@@ -1572,7 +1597,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28309"
+NAME="AEN30493"
 ></A
 ><H3
 ><A
@@ -1632,7 +1657,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28322"><P
+NAME="AEN30506"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -1708,7 +1735,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> allow to transition if not all all transitions have been activated</TD
 ></TR
 ><TR
 ><TD
@@ -1737,7 +1764,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28347"
+NAME="AEN30531"
 ></A
 ><H3
 ><A
@@ -1772,11 +1799,27 @@
 ></TR
 ></TABLE
 ><P
+>If <TT
+CLASS="PARAMETER"
+><I
+>to</I
+></TT
+> is NULL, this create first a new target state in the automata
+and then adds a an epsilon transition from the <TT
+CLASS="PARAMETER"
+><I
+>from</I
+></TT
+> state to the
+target state</P
+><P
 ></P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28356"><P
+NAME="AEN30543"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -1801,7 +1844,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> an automata</TD
 ></TR
 ><TR
 ><TD
@@ -1818,7 +1861,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> the starting point of the transition</TD
 ></TR
 ><TR
 ><TD
@@ -1835,7 +1878,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+> the target point of the transition or NULL</TD
 ></TR
 ><TR
 ><TD
@@ -1853,7 +1896,7 @@
 WIDTH="80%"
 ALIGN="LEFT"
 VALIGN="TOP"
->&nbsp;</TD
+>the target state or NULL in case of error</TD
 ></TR
 ></TBODY
 ></TABLE
@@ -1864,7 +1907,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28377"
+NAME="AEN30564"
 ></A
 ><H3
 ><A
@@ -1919,7 +1962,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28389"><P
+NAME="AEN30576"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -2024,7 +2069,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28414"
+NAME="AEN30601"
 ></A
 ><H3
 ><A
@@ -2079,7 +2124,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28426"><P
+NAME="AEN30613"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -2184,7 +2231,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28451"
+NAME="AEN30638"
 ></A
 ><H3
 ><A
@@ -2216,7 +2263,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28458"><P
+NAME="AEN30645"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -2304,7 +2353,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28479"
+NAME="AEN30666"
 ></A
 ><H3
 ><A
@@ -2338,7 +2387,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28487"><P
+NAME="AEN30674"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"
@@ -2392,7 +2443,7 @@
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN28500"
+NAME="AEN30687"
 ></A
 ><H3
 ><A
@@ -2422,7 +2473,9 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN28507"><P
+NAME="AEN30694"
+></A
+><P
 ></P
 ><TABLE
 BORDER="0"