improving some documentation comments found and fixed a mem leak with

* tree.c: improving some documentation comments
* xmlregexp.c: found and fixed a mem leak with python regression tests
* doc/*: rebuilt the doc and the API XML file including the
  xmlregexp.h xmlautomata.h and xmlunicode.h headers
* python/generator.py python/libxml2class.txt python/libxml_wrap.h
  python/types.c: added access to the XML Schemas regexps from
  python
* python/tests/Makefile.am python/tests/regexp.py: added a
  simple regexp bindings test
Daniel
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html
index 7aa417f..688e320 100644
--- a/doc/APIchunk1.html
+++ b/doc/APIchunk1.html
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <html>
 <head>
-<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <link rel="SHORTCUT ICON" href="/favicon.ico">
 <style type="text/css"><!--
 TD {font-family: Verdana,Arial,Helvetica}
@@ -16,7 +16,7 @@
 <body bgcolor="#8b7765" text="#000000" link="#000000" vlink="#000000">
 <table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr>
 <td width="180">
-<a href="http://www.gnome.org/"><img src="smallfootonly.gif" alt="Gnome Logo"></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo"></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo"></a>
+<a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo"></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo"></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo"></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo"></a></div>
 </td>
 <td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center">
 <h1>The XML C library for Gnome</h1>
@@ -55,6 +55,7 @@
 <li><a href="DOM.html">DOM Principles</a></li>
 <li><a href="example.html">A real example</a></li>
 <li><a href="contribs.html">Contributions</a></li>
+<li><a href="tutorial/index.html">Tutorial</a></li>
 <li>
 <a href="xml.html">flat page</a>, <a href="site.xsl">stylesheet</a>
 </li>
@@ -80,6 +81,7 @@
 <li><a href="ftp://xmlsoft.org/">FTP</a></li>
 <li><a href="http://www.fh-frankfurt.de/~igor/projects/libxml/">Windows binaries</a></li>
 <li><a href="http://garypennington.net/libxml2/">Solaris binaries</a></li>
+<li><a href="http://www.zveno.com/open_source/libxml2xslt.html">MacOsX binaries</a></li>
 <li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li>
 <li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml&amp;product=libxml2">Bug Tracker</a></li>
 </ul></td></tr>
@@ -102,12 +104,14 @@
 <a href="APIchunk12.html">g-i</a>
 <a href="APIchunk13.html">j-l</a>
 <a href="APIchunk14.html">m-n</a>
-<a href="APIchunk15.html">o-p</a>
-<a href="APIchunk16.html">q-r</a>
-<a href="APIchunk17.html">s-s</a>
-<a href="APIchunk18.html">t-t</a>
-<a href="APIchunk19.html">u-v</a>
-<a href="APIchunk20.html">w-x</a>
+<a href="APIchunk15.html">o-o</a>
+<a href="APIchunk16.html">p-p</a>
+<a href="APIchunk17.html">q-r</a>
+<a href="APIchunk18.html">s-s</a>
+<a href="APIchunk19.html">t-t</a>
+<a href="APIchunk20.html">u-v</a>
+<a href="APIchunk21.html">w-w</a>
+<a href="APIchunk22.html">x-x</a>
 </h2>
 <h2>Letter D:</h2>
 <dl>
@@ -168,7 +172,7 @@
 </dd>
 <dt>Datatype</dt>
 <dd>
-<a href="html/libxml-index.html#XMLREGEXPCOMPILE">xmlRegexpCompile</a>
+<a href="html/libxml-xmlregexp.html#XMLREGEXPCOMPILE">xmlRegexpCompile</a>
 </dd>
 <dt>Deallocate</dt>
 <dd>
@@ -213,7 +217,7 @@
 </dd>
 <dt>Deseret</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISDESERET">xmlUCSIsDeseret</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISDESERET">xmlUCSIsDeseret</a>
 </dd>
 <dt>Determine</dt>
 <dd>
@@ -222,7 +226,7 @@
 </dd>
 <dt>Devanagari</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISDEVANAGARI">xmlUCSIsDevanagari</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISDEVANAGARI">xmlUCSIsDevanagari</a>
 </dd>
 <dt>Digit</dt>
 <dd>
@@ -234,7 +238,7 @@
 </dd>
 <dt>Dingbats</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISDINGBATS">xmlUCSIsDingbats</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISDINGBATS">xmlUCSIsDingbats</a>
 </dd>
 <dt>Disabled</dt>
 <dd>
@@ -327,6 +331,7 @@
 <a href="html/libxml-tree.html#XMLDOCDUMPFORMATMEMORYENC">xmlDocDumpFormatMemoryEnc</a>
 <a href="html/libxml-tree.html#XMLDOCDUMPMEMORY">xmlDocDumpMemory</a>
 <a href="html/libxml-tree.html#XMLDOCDUMPMEMORYENC">xmlDocDumpMemoryEnc</a>
+<a href="html/libxml-tree.html#XMLDOCFORMATDUMP">xmlDocFormatDump</a>
 <a href="html/libxml-tree.html#XMLELEMDUMP">xmlElemDump</a>
 <a href="html/libxml-debugxml.html#XMLLSONENODE">xmlLsOneNode</a>
 <a href="html/libxml-xmlmemory.html#XMLMEMORYDUMP">xmlMemoryDump</a>
@@ -445,11 +450,11 @@
 </dd>
 <dt>EnclosedAlphanumerics</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISENCLOSEDALPHANUMERICS">xmlUCSIsEnclosedAlphanumerics</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISENCLOSEDALPHANUMERICS">xmlUCSIsEnclosedAlphanumerics</a>
 </dd>
 <dt>EnclosedCJKLettersandMonths</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISENCLOSEDCJKLETTERSANDMONTHS">xmlUCSIsEnclosedCJKLettersandMonths</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISENCLOSEDCJKLETTERSANDMONTHS">xmlUCSIsEnclosedCJKLettersandMonths</a>
 </dd>
 <dt>Encoding</dt>
 <dd>
@@ -497,7 +502,7 @@
 </dd>
 <dt>Ethiopic</dt>
 <dd>
-<a href="html/libxml-index.html#XMLUCSISETHIOPIC">xmlUCSIsEthiopic</a>
+<a href="html/libxml-xmlunicode.html#XMLUCSISETHIOPIC">xmlUCSIsEthiopic</a>
 </dd>
 <dt>Evaluate</dt>
 <dd>
@@ -531,7 +536,7 @@
 </dd>
 <dt>Exp</dt>
 <dd>
-<a href="html/libxml-index.html#XMLAUTOMATACOMPILE">xmlAutomataCompile</a>
+<a href="html/libxml-xmlautomata.html#XMLAUTOMATACOMPILE">xmlAutomataCompile</a>
 </dd>
 <dt>Expr</dt>
 <dd>
@@ -586,12 +591,14 @@
 <a href="APIchunk12.html">g-i</a>
 <a href="APIchunk13.html">j-l</a>
 <a href="APIchunk14.html">m-n</a>
-<a href="APIchunk15.html">o-p</a>
-<a href="APIchunk16.html">q-r</a>
-<a href="APIchunk17.html">s-s</a>
-<a href="APIchunk18.html">t-t</a>
-<a href="APIchunk19.html">u-v</a>
-<a href="APIchunk20.html">w-x</a>
+<a href="APIchunk15.html">o-o</a>
+<a href="APIchunk16.html">p-p</a>
+<a href="APIchunk17.html">q-r</a>
+<a href="APIchunk18.html">s-s</a>
+<a href="APIchunk19.html">t-t</a>
+<a href="APIchunk20.html">u-v</a>
+<a href="APIchunk21.html">w-w</a>
+<a href="APIchunk22.html">x-x</a>
 </h2>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>