applied syntax patch from Rick Jones and rebuilt the web site. Daniel

* doc/xml.html doc/*.html: applied syntax patch from Rick Jones
  and rebuilt the web site.
Daniel
diff --git a/ChangeLog b/ChangeLog
index ac5cff8..197c445 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
+Thu Jul 25 01:33:47 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+	* doc/xml.html doc/*.html: applied syntax patch from Rick Jones
+	  and rebuilt the web site.
+
 Mon Jul 22 11:04:48 PDT 2002  Aleksey Sanin <aleksey@aleksey.com>
+
 	* include/libxml/tree.h: added _private member to xmlNs struct
 
 Sun Jul 21 17:48:47 CEST 2002 Daniel Veillard <daniel@veillard.com>
diff --git a/doc/FAQ.html b/doc/FAQ.html
index 3052b18..1213039 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -87,12 +87,12 @@
 </table>
 </td></tr></table></td>
 <td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
-<p>Table of Content:</p>
+<p>Table of Contents:</p>
 <ul>
 <li><a href="FAQ.html#License">License(s)</a></li>
-<li><a href="FAQ.html#Installati">Installation</a></li>
-<li><a href="FAQ.html#Compilatio">Compilation</a></li>
-<li><a href="FAQ.html#Developer">Developer corner</a></li>
+  <li><a href="FAQ.html#Installati">Installation</a></li>
+  <li><a href="FAQ.html#Compilatio">Compilation</a></li>
+  <li><a href="FAQ.html#Developer">Developer corner</a></li>
 </ul>
 <h3>
 <a name="License">License</a>(s)</h3>
@@ -100,255 +100,257 @@
 <li>
 <em>Licensing Terms for libxml</em>
     <p>libxml is released under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
-    License</a>, see the file Copyright in the distribution for the precise
+    License</a>; see the file Copyright in the distribution for the precise
     wording</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>Can I embed libxml in a proprietary application ?</em>
-    <p>Yes. The MIT License allows you to also keep proprietary the changes
-    you made to libxml, but it would be graceful to provide back bug fixes
+    <p>Yes. The MIT License allows you to keep proprietary the changes
+    you made to libxml, but it would be graceful to send-back bug fixes
     and improvements as patches for possible incorporation in the main
-    development tree</p>
-</li>
+    development tree.</p>
+  </li>
 </ol>
 <h3><a name="Installati">Installation</a></h3>
 <ol>
 <li>Unless you are forced to because your application links with a Gnome
     library requiring it,  <strong><span style="background-color: #FF0000">Do
     Not Use libxml1</span></strong>, use libxml2</li>
-<li>
+  <li>
 <em>Where can I get libxml</em> ?
     <p>The original distribution comes from <a href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> or <a href="ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/">gnome.org</a>
 </p>
-<p>Most Linux and BSD distributions include libxml, this is probably the
-    safer way for end-users</p>
-<p>David Doolin provides precompiled Windows versions at <a href="http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/         ">http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/</a>
+    <p>Most Linux and BSD distributions include libxml, this is probably the
+    safer way for end-users to use libxml.</p>
+    <p>David Doolin provides precompiled Windows versions at <a href="http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/%20%20%20%20%20%20%20%20%20">http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/</a>
 </p>
-</li>
-<li>
+  </li>
+  <li>
 <em>I see libxml and libxml2 releases, which one should I install ?</em>
     <ul>
-<li>If you are not concerned by any existing backward compatibility
-        with existing application, install libxml2 only</li>
-<li>If you are not doing development, you can safely install both.
-        usually the packages <a href="http://rpmfind.net/linux/RPM/libxml.html">libxml</a> and <a href="http://rpmfind.net/linux/RPM/libxml2.html">libxml2</a> are
-        compatible (this is not the case for development packages)</li>
-<li>If you are a developer and your system provides separate packaging
+<li>If you are not constrained by backward compatibility issues
+        with existing applications, install libxml2 only</li>
+      <li>If you are not doing development, you can safely install both.
+        Usually the packages <a href="http://rpmfind.net/linux/RPM/libxml.html">libxml</a> and <a href="http://rpmfind.net/linux/RPM/libxml2.html">libxml2</a> are
+        compatible (this is not the case for development packages).</li>
+      <li>If you are a developer and your system provides separate packaging
         for shared libraries and the development components, it is possible
         to install libxml and libxml2, and also <a href="http://rpmfind.net/linux/RPM/libxml-devel.html">libxml-devel</a>
         and <a href="http://rpmfind.net/linux/RPM/libxml2-devel.html">libxml2-devel</a>
         too for libxml2 &gt;= 2.3.0</li>
-<li>If you are developing a new application, please develop against
+      <li>If you are developing a new application, please develop against
         libxml2(-devel)</li>
-</ul>
+    </ul>
 </li>
-<li>
-<em>I can't install the libxml package it conflicts with libxml0</em>
+  <li>
+<em>I can't install the libxml package, it conflicts with libxml0</em>
     <p>You probably have an old libxml0 package used to provide the shared
-    library for libxml.so.0, you can probably safely remove it. Anyway the
-    libxml packages provided on <a href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> provides
+    library for libxml.so.0, you can probably safely remove it. The
+    libxml packages provided on <a href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> provide
     libxml.so.0</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>I can't install the libxml(2) RPM package due to failed
     dependencies</em>
     <p>The most generic solution is to re-fetch the latest src.rpm , and
     rebuild it locally with</p>
-<p><code>rpm --rebuild libxml(2)-xxx.src.rpm</code></p>
-<p>if everything goes well it will generate two binary rpm (one providing
-    the shared libs and xmllint, and the other one, the -devel package
+    <p>
+<code>rpm --rebuild libxml(2)-xxx.src.rpm</code>.</p>
+    <p>If everything goes well it will generate two binary rpm packages (one providing
+    the shared libs and xmllint, and the other one, the -devel package,
     providing includes, static libraries and scripts needed to build
     applications with libxml(2)) that you can install locally.</p>
-</li>
+  </li>
 </ol>
 <h3><a name="Compilatio">Compilation</a></h3>
 <ol>
 <li>
 <em>What is the process to compile libxml ?</em>
     <p>As most UNIX libraries libxml follows the &quot;standard&quot;:</p>
-<p><code>gunzip -c xxx.tar.gz | tar xvf -</code></p>
-<p><code>cd libxml-xxxx</code></p>
-<p><code>./configure --help</code></p>
-<p>to see the options, then the compilation/installation proper</p>
-<p><code>./configure [possible options]</code></p>
-<p><code>make</code></p>
-<p><code>make install</code></p>
-<p>At that point you may have to rerun ldconfig or similar utility to
+    <p><code>gunzip -c xxx.tar.gz | tar xvf -</code></p>
+    <p><code>cd libxml-xxxx</code></p>
+    <p><code>./configure --help</code></p>
+    <p>to see the options, then the compilation/installation proper</p>
+    <p><code>./configure [possible options]</code></p>
+    <p><code>make</code></p>
+    <p><code>make install</code></p>
+    <p>At that point you may have to rerun ldconfig or a similar utility to
     update your list of installed shared libs.</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>What other libraries are needed to compile/install libxml ?</em>
-    <p>Libxml does not requires any other library, the normal C ANSI API
+    <p>Libxml does not require any other library, the normal C ANSI API
     should be sufficient (please report any violation to this rule you may
     find).</p>
-<p>However if found at configuration time libxml will detect and use the
+    <p>However if found at configuration time libxml will detect and use the
     following libs:</p>
-<ul>
+    <ul>
 <li>
 <a href="http://www.info-zip.org/pub/infozip/zlib/">libz</a> : a
-        highly portable and available widely compression library</li>
-<li>iconv: a powerful character encoding conversion library. It's
-        included by default on recent glibc libraries, so it doesn't need to
-        be installed specifically on Linux. It seems it's now <a href="http://www.opennc.org/onlinepubs/7908799/xsh/iconv.html">part
+        highly portable and available widely compression library.</li>
+      <li>iconv: a powerful character encoding conversion library. It is
+        included by default in recent glibc libraries, so it doesn't need to
+        be installed specifically on Linux. It now seems a <a href="http://www.opennc.org/onlinepubs/7908799/xsh/iconv.html">part
         of the official UNIX</a> specification. Here is one <a href="http://clisp.cons.org/~haible/packages-libiconv.html">implementation
         of the library</a> which source can be found <a href="ftp://ftp.ilog.fr/pub/Users/haible/gnu/">here</a>.</li>
-</ul>
+    </ul>
 </li>
-<li>
-<em>make check fails on some platforms</em>
-    <p>Sometime the regression tests results don't completely match the value
+  <li>
+<em>Make check fails on some platforms</em>
+    <p>Sometimes the regression tests' results don't completely match the value
     produced by the parser, and the makefile uses diff to print the delta. On
-    some platforms the diff return breaks the compilation process, if the
+    some platforms the diff return breaks the compilation process; if the
     diff is small this is probably not a serious problem.</p>
-<p>Sometimes (especially on Solaris) make checks fails due to limitations
+    <p>Sometimes (especially on Solaris) make checks fail due to limitations
     in make. Try using GNU-make instead.</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>I use the CVS version and there is no configure script</em>
-    <p>The configure (and other Makefiles) are generated. Use the autogen.sh
-    script to regenerate the configure and Makefiles, like:</p>
-<p><code>./autogen.sh --prefix=/usr --disable-shared</code></p>
-</li>
-<li>
+    <p>The configure script (and other Makefiles) are generated. Use the autogen.sh
+    script to regenerate the configure script and Makefiles, like:</p>
+    <p><code>./autogen.sh --prefix=/usr --disable-shared</code></p>
+  </li>
+  <li>
 <em>I have troubles when running make tests with gcc-3.0</em>
     <p>It seems the initial release of gcc-3.0 has a problem with the
     optimizer which miscompiles the URI module. Please use another
-    compiler</p>
-</li>
+    compiler.</p>
+  </li>
 </ol>
 <h3>
 <a name="Developer">Developer</a> corner</h3>
 <ol>
 <li>
-<em>xmlDocDump() generates output on one line</em>
-    <p>libxml will not <strong>invent</strong> spaces in the content of a
+<em>xmlDocDump() generates output on one line.</em>
+    <p>Libxml will not <strong>invent</strong> spaces in the content of a
     document since <strong>all spaces in the content of a document are
     significant</strong>. If you build a tree from the API and want
     indentation:</p>
-<ol>
-<li>the correct way is to generate those yourself too</li>
-<li>the dangerous way is to ask libxml to add those blanks to your
+    <ol>
+<li>the correct way is to generate those yourself too.</li>
+      <li>the dangerous way is to ask libxml to add those blanks to your
         content <strong>modifying the content of your document in the
         process</strong>. The result may not be what you expect. There is
         <strong>NO</strong> way to guarantee that such a modification won't
-        impact other part of the content of your document. See <a href="http://xmlsoft.org/html/libxml-parser.html#XMLKEEPBLANKSDEFAULT">xmlKeepBlanksDefault
+        affect other parts of the content of your document. See <a href="http://xmlsoft.org/html/libxml-parser.html#XMLKEEPBLANKSDEFAULT">xmlKeepBlanksDefault
         ()</a> and <a href="http://xmlsoft.org/html/libxml-tree.html#XMLSAVEFORMATFILE">xmlSaveFormatFile
         ()</a>
 </li>
-</ol>
+    </ol>
 </li>
-<li>Extra nodes in the document:
+  <li>Extra nodes in the document:
     <p><em>For a XML file as below:</em></p>
-<pre>&lt;?xml version=&quot;1.0&quot;?&gt;
+    <pre>&lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;PLAN xmlns=&quot;http://www.argus.ca/autotest/1.0/&quot;&gt;
 &lt;NODE CommFlag=&quot;0&quot;/&gt;
 &lt;NODE CommFlag=&quot;1&quot;/&gt;
 &lt;/PLAN&gt;</pre>
-<p><em>after parsing it with the function
+    <p><em>after parsing it with the function
     pxmlDoc=xmlParseFile(...);</em></p>
-<p><em>I want to the get the content of the first node (node with the
+    <p><em>I want to the get the content of the first node (node with the
     CommFlag=&quot;0&quot;)</em></p>
-<p><em>so I did it as following;</em></p>
-<pre>xmlNodePtr pnode;
+    <p><em>so I did it as following;</em></p>
+    <pre>xmlNodePtr pnode;
 pnode=pxmlDoc-&gt;children-&gt;children;</pre>
-<p><em>but it does not work. If I change it to</em></p>
-<pre>pnode=pxmlDoc-&gt;children-&gt;children-&gt;next;</pre>
-<p><em>then it works.  Can someone explain it to me.</em></p>
-<p>
-<p>In XML all characters in the content of the document are significant
+    <p><em>but it does not work. If I change it to</em></p>
+    <pre>pnode=pxmlDoc-&gt;children-&gt;children-&gt;next;</pre>
+    <p><em>then it works.  Can someone explain it to me.</em></p>
+    <p>
+    <p>In XML all characters in the content of the document are significant
     <strong>including blanks and formatting line breaks</strong>.</p>
-<p>The extra nodes you are wondering about are just that, text nodes with
+    <p>The extra nodes you are wondering about are just that, text nodes with
     the formatting spaces which are part of the document but that people tend
     to forget. There is a function <a href="http://xmlsoft.org/html/libxml-parser.html">xmlKeepBlanksDefault
     ()</a>  to remove those at parse time, but that's an heuristic, and its
-    use should be limited to case where you are sure there is no
+    use should be limited to cases where you are certain there is no
     mixed-content in the document.</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>I get compilation errors of existing code like when accessing
-    <strong>root</strong> or <strong>childs fields</strong> of nodes</em>
+    <strong>root</strong> or <strong>child fields</strong> of nodes.</em>
     <p>You are compiling code developed for libxml version 1 and using a
     libxml2 development environment. Either switch back to libxml v1 devel or
     even better fix the code to compile with libxml2 (or both) by <a href="upgrade.html">following the instructions</a>.</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>I get compilation errors about non existing
     <strong>xmlRootNode</strong> or <strong>xmlChildrenNode</strong>
-    fields</em>
+    fields.</em>
     <p>The source code you are using has been <a href="upgrade.html">upgraded</a> to be able to compile with both libxml
     and libxml2, but you need to install a more recent version:
     libxml(-devel) &gt;= 1.8.8 or libxml2(-devel) &gt;= 2.1.0</p>
-</li>
-<li>
+  </li>
+  <li>
 <em>XPath implementation looks seriously broken</em>
-    <p>XPath implementation prior to 2.3.0 was really incomplete, upgrade to
-    a recent version, there is no known bug in the current version.</p>
-</li>
-<li>
-<em>The example provided in the web page does not compile</em>
+    <p>XPath implementation prior to 2.3.0 was really incomplete. Upgrade to
+    a recent version, there are no known bugs in the current version.</p>
+  </li>
+  <li>
+<em>The example provided in the web page does not compile.</em>
     <p>It's hard to maintain the documentation in sync with the code
     &lt;grin/&gt; ...</p>
-<p>Check the previous points 1/ and 2/ raised before, and send
+    <p>Check the previous points 1/ and 2/ raised before, and please send
     patches.</p>
-</li>
-<li>
-<em>Where can I get more examples and informations than in the web
-    page</em>
+  </li>
+  <li>
+<em>Where can I get more examples and information than privoded on the web
+    page?</em>
     <p>Ideally a libxml book would be nice. I have no such plan ... But you
     can:</p>
-<ul>
+    <ul>
 <li>check more deeply the <a href="html/libxml-lib.html">existing
         generated doc</a>
 </li>
-<li>looks for examples of use for libxml function using the Gnome code
-        for example the following will query the full Gnome CVS base for the
+      <li>look for examples of use for libxml function using the Gnome code.
+        For example the following will query the full Gnome CVS base for the
         use of the <strong>xmlAddChild()</strong> function:
         <p><a href="http://cvs.gnome.org/lxr/search?string=xmlAddChild">http://cvs.gnome.org/lxr/search?string=xmlAddChild</a></p>
-<p>This may be slow, a large hardware donation to the gnome project
+        <p>This may be slow, a large hardware donation to the gnome project
         could cure this :-)</p>
-</li>
-<li>
+      </li>
+      <li>
 <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse
         the libxml source</a> , I try to write code as clean and documented
-        as possible, so looking at it may be helpful. Especially the code of
-        xmllint.c and of the various testXXX.c tests programs should provide
-        good example on how to do things with the library.</li>
-</ul>
+        as possible, so looking at it may be helpful. In particular the code of
+        xmllint.c and of the various testXXX.c test programs should provide
+        good examples of how to do things with the library.</li>
+    </ul>
 </li>
-<li>What about C++ ?
+  <li>What about C++ ?
     <p>libxml is written in pure C in order to allow easy reuse on a number
     of platforms, including embedded systems. I don't intend to convert to
     C++.</p>
-<p>There is however a few C++ wrappers which may fulfill your needs:</p>
-<ul>
+    <p>There are however a few C++ wrappers which may fulfill your needs:</p>
+    <ul>
 <li>by Ari Johnson &lt;ari@btigate.com&gt;:
-        <p>Website: <a href="http://lusis.org/~ari/xml++/">http://lusis.org/~ari/xml++/</a>
+        <p>Website: <a href="http://lusis.org/~ari/xml%2B%2B/">http://lusis.org/~ari/xml++/</a>
 </p>
-<p>Download: <a href="http://lusis.org/~ari/xml++/libxml++.tar.gz">http://lusis.org/~ari/xml++/libxml++.tar.gz</a>
+        <p>Download: <a href="http://lusis.org/~ari/xml%2B%2B/libxml%2B%2B.tar.gz">http://lusis.org/~ari/xml++/libxml++.tar.gz</a>
 </p>
-</li>
-<li>by Peter Jones &lt;pjones@pmade.org&gt;
+      </li>
+      <li>by Peter Jones &lt;pjones@pmade.org&gt;
         <p>Website: <a href="http://pmade.org/pjones/software/xmlwrapp/">http://pmade.org/pjones/software/xmlwrapp/</a>
 </p>
+      </li>
+    </ul>
 </li>
-</ul>
-</li>
-<li>How to validate a document a posteriori ?
+  <li>How to validate a document a posteriori ?
     <p>It is possible to validate documents which had not been validated at
-    initial parsing time or documents who have been built from scratch using
+    initial parsing time or documents which have been built from scratch using
     the API. Use the <a href="http://xmlsoft.org/html/libxml-valid.html#XMLVALIDATEDTD">xmlValidateDtd()</a>
     function. It is also possible to simply add a DTD to an existing
     document:</p>
-<pre>xmlDocPtr doc; /* your existing document */
-        xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
+    <pre>xmlDocPtr doc; /* your existing document */
+xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
+
         dtd-&gt;name = xmlStrDup((xmlChar*)&quot;root_name&quot;); /* use the given root */
 
         doc-&gt;intSubset = dtd;
         if (doc-&gt;children == NULL) xmlAddChild((xmlNodePtr)doc, (xmlNodePtr)dtd);
         else xmlAddPrevSibling(doc-&gt;children, (xmlNodePtr)dtd);
           </pre>
-</li>
-<li>etc ...</li>
+  </li>
+  <li>etc ...</li>
 </ol>
 <p>
 <p><a href="bugs.html">Daniel Veillard</a></p>
diff --git a/doc/XMLinfo.html b/doc/XMLinfo.html
index e6f126f..4a327b9 100644
--- a/doc/XMLinfo.html
+++ b/doc/XMLinfo.html
@@ -103,15 +103,15 @@
    &lt;p&gt;...&lt;/p&gt;
   &lt;/chapter&gt;
 &lt;/EXAMPLE&gt;</pre>
-<p>The first line specifies that it's an XML document and gives useful
-information about its encoding. Then the document is a text format whose
+<p>The first line specifies that it is an XML document and gives useful
+information about its encoding.  Then the rest of the document is a text format whose
 structure is specified by tags between brackets. <strong>Each tag opened has
 to be closed</strong>. XML is pedantic about this. However, if a tag is empty
 (no content), a single tag can serve as both the opening and closing tag if
 it ends with <code>/&gt;</code> rather than with <code>&gt;</code>. Note
 that, for example, the image tag has no content (just an attribute) and is
 closed by ending the tag with <code>/&gt;</code>.</p>
-<p>XML can be applied successfully to a wide range of uses, from long term
+<p>XML can be applied successfully to a wide range of tasks, ranging from long term
 structured document maintenance (where it follows the steps of SGML) to
 simple data encoding mechanisms like configuration file formatting (glade),
 spreadsheets (gnumeric), or even shorter lived documents such as WebDAV where
diff --git a/doc/XSLT.html b/doc/XSLT.html
index b15e4b0..a992816 100644
--- a/doc/XSLT.html
+++ b/doc/XSLT.html
@@ -93,11 +93,10 @@
 <a href="http://www.w3.org/TR/xslt">XSL Transformations</a>,  is a
 language for transforming XML documents into other XML documents (or
 HTML/textual output).</p>
-<p>A separate library called libxslt is being built on top of libxml2. This
-module &quot;libxslt&quot; can be found in the Gnome CVS base too.</p>
+<p>A separate library called libxslt is being developed on top of libxml2. This
+module &quot;libxslt&quot; too can be found in the Gnome CVS base.</p>
 <p>You can check the <a href="http://cvs.gnome.org/lxr/source/libxslt/FEATURES">features</a>
-supported and the progresses on the <a href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog" name="Changelog">Changelog</a>
-</p>
+supported and the progresses on the <a href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog" name="Changelog">Changelog</a>.</p>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
 </tr></table></td></tr></table>
diff --git a/doc/architecture.html b/doc/architecture.html
index 8f8af42..826e4e8 100644
--- a/doc/architecture.html
+++ b/doc/architecture.html
@@ -91,17 +91,17 @@
 of the block interfaces are public. The main components are:</p>
 <ul>
 <li>an Input/Output layer</li>
-<li>FTP and HTTP client layers (optional)</li>
-<li>an Internationalization layer managing the encodings support</li>
-<li>a URI module</li>
-<li>the XML parser and its basic SAX interface</li>
-<li>an HTML parser using the same SAX interface (optional)</li>
-<li>a SAX tree module to build an in-memory DOM representation</li>
-<li>a tree module to manipulate the DOM representation</li>
-<li>a validation module using the DOM representation (optional)</li>
-<li>an XPath module for global lookup in a DOM representation
+  <li>FTP and HTTP client layers (optional)</li>
+  <li>an Internationalization layer managing the encodings support</li>
+  <li>a URI module</li>
+  <li>the XML parser and its basic SAX interface</li>
+  <li>an HTML parser using the same SAX interface (optional)</li>
+  <li>a SAX tree module to build an in-memory DOM representation</li>
+  <li>a tree module to manipulate the DOM representation</li>
+  <li>a validation module using the DOM representation (optional)</li>
+  <li>an XPath module for global lookup in a DOM representation
   (optional)</li>
-<li>a debug module (optional)</li>
+  <li>a debug module (optional)</li>
 </ul>
 <p>Graphically this gives the following:</p>
 <p><img src="libxml.gif" alt="a graphical view of the various"></p>
diff --git a/doc/bugs.html b/doc/bugs.html
index a81fd95..5b93211 100644
--- a/doc/bugs.html
+++ b/doc/bugs.html
@@ -100,28 +100,26 @@
 <p>Check the following <strong><span style="color: #FF0000">before
 posting</span></strong>:</p>
 <ul>
-<li>read the <a href="FAQ.html">FAQ</a>
-</li>
-<li>make sure you are <a href="ftp://xmlsoft.org/">using a recent
-    version</a>, and that the problem still shows up in those</li>
-<li>check the <a href="http://mail.gnome.org/archives/xml/">list
-    archives</a> to see if the problem was reported already, in this case
+<li>Read the <a href="FAQ.html">FAQ</a>.</li>
+  <li>Make sure you are <a href="ftp://xmlsoft.org/">using a recent
+    version</a>, and that the problem still shows up in a recent version.</li>
+  <li>Check the <a href="http://mail.gnome.org/archives/xml/">list
+    archives</a> to see if the problem was reported already. In this case
     there is probably a fix available, similarly check the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml">registered
-    open bugs</a>
-</li>
-<li>make sure you can reproduce the bug with xmllint or one of the test
-    programs found in source in the distribution</li>
-<li>Please send the command showing the error as well as the input (as an
+    open bugs</a>.</li>
+  <li>Make sure you can reproduce the bug with xmllint or one of the test
+    programs found in source in the distribution.</li>
+  <li>Please send the command showing the error as well as the input (as an
     attachment)</li>
 </ul>
 <p>Then send the bug with associated informations to reproduce it to the <a href="mailto:xml@gnome.org">xml@gnome.org</a> list; if it's really libxml
-related I will approve it.. Please do not send me mail directly, it makes
-things really harder to track and in some cases I'm not the best person to
-answer a given question, ask the list instead.</p>
+related I will approve it.. Please do not send mail to me directly, it makes
+things really hard to track and in some cases I am not the best person to
+answer a given question. Ask the list instead.</p>
 <p>Of course, bugs reported with a suggested patch for fixing them will
-probably be processed faster.</p>
+probably be processed faster than those without.</p>
 <p>If you're looking for help, a quick look at <a href="http://mail.gnome.org/archives/xml/">the list archive</a> may actually
-provide the answer, I usually send source samples when answering libxml usage
+provide the answer. I usually send source samples when answering libxml usage
 questions. The <a href="http://xmlsoft.org/html/book1.html">auto-generated
 documentation</a> is not as polished as I would like (i need to learn more
 about DocBook), but it's a good starting point.</p>
diff --git a/doc/catalog.html b/doc/catalog.html
index 537cfdb..74a103e 100644
--- a/doc/catalog.html
+++ b/doc/catalog.html
@@ -90,15 +90,15 @@
 <p>Table of Content:</p>
 <ol>
 <li><a href="General2">General overview</a></li>
-<li><a href="#definition">The definition</a></li>
-<li><a href="#Simple">Using catalogs</a></li>
-<li><a href="#Some">Some examples</a></li>
-<li><a href="#reference">How to tune  catalog usage</a></li>
-<li><a href="#validate">How to debug catalog processing</a></li>
-<li><a href="#Declaring">How to create and maintain catalogs</a></li>
-<li><a href="#implemento">The implementor corner quick review of the
+  <li><a href="#definition">The definition</a></li>
+  <li><a href="#Simple">Using catalogs</a></li>
+  <li><a href="#Some">Some examples</a></li>
+  <li><a href="#reference">How to tune  catalog usage</a></li>
+  <li><a href="#validate">How to debug catalog processing</a></li>
+  <li><a href="#Declaring">How to create and maintain catalogs</a></li>
+  <li><a href="#implemento">The implementor corner quick review of the
   API</a></li>
-<li><a href="#Other">Other resources</a></li>
+  <li><a href="#Other">Other resources</a></li>
 </ol>
 <h3><a name="General2">General overview</a></h3>
 <p>What is a catalog? Basically it's a lookup mechanism used when an entity
@@ -113,17 +113,17 @@
     concrete name usable for download (and URI). For example it can associate
     the logical name
     <p>&quot;-//OASIS//DTD DocBook XML V4.1.2//EN&quot;</p>
-<p>of the DocBook 4.1.2 XML DTD with the actual URL where it can be
+    <p>of the DocBook 4.1.2 XML DTD with the actual URL where it can be
     downloaded</p>
-<p>http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd</p>
-</li>
-<li>remapping from a given URL to another one, like an HTTP indirection
+    <p>http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd</p>
+  </li>
+  <li>remapping from a given URL to another one, like an HTTP indirection
     saying that
     <p>&quot;http://www.oasis-open.org/committes/tr.xsl&quot;</p>
-<p>should really be looked at</p>
-<p>&quot;http://www.oasis-open.org/committes/entity/stylesheets/base/tr.xsl&quot;</p>
-</li>
-<li>providing a local cache mechanism allowing to load the entities
+    <p>should really be looked at</p>
+    <p>&quot;http://www.oasis-open.org/committes/entity/stylesheets/base/tr.xsl&quot;</p>
+  </li>
+  <li>providing a local cache mechanism allowing to load the entities
     associated to public identifiers or remote resources, this is a really
     important feature for any significant deployment of XML or SGML since it
     allows to avoid the aleas and delays associated to fetching remote
@@ -136,7 +136,7 @@
     Resolution TR9401:1997, but is better understood by reading <a href="http://www.jclark.com/sp/catalog.htm">the SP Catalog page</a> from
     James Clark. This is relatively old and not the preferred mode of
     operation of libxml.</li>
-<li>
+  <li>
 <a href="http://www.oasis-open.org/committees/entity/spec.html">XML
     Catalogs</a> is far more flexible, more recent, uses an XML syntax and
     should scale quite better. This is the default option of libxml.</li>
@@ -334,7 +334,7 @@
 <p>Basically libxml support 2 catalog lists:</p>
 <ul>
 <li>the default one, global shared by all the application</li>
-<li>a per-document catalog, this one is built if the document uses the
+  <li>a per-document catalog, this one is built if the document uses the
     <code>oasis-xml-catalog</code> PIs to specify its own catalog list, it is
     associated to the parser context and destroyed when the parsing context
     is destroyed.</li>
@@ -390,28 +390,28 @@
     I don't agree with everything presented. Norm also wrote a more recent
     article <a href="http://wwws.sun.com/software/xml/developers/resolver/article/">XML
     entities and URI resolvers</a> describing them.</li>
-<li>An <a href="http://home.ccil.org/~cowan/XML/XCatalog.html">old XML
+  <li>An <a href="http://home.ccil.org/~cowan/XML/XCatalog.html">old XML
     catalog proposal</a> from John Cowan</li>
-<li>The <a href="http://www.rddl.org/">Resource Directory Description
+  <li>The <a href="http://www.rddl.org/">Resource Directory Description
     Language</a> (RDDL) another catalog system but more oriented toward
     providing metadata for XML namespaces.</li>
-<li>the page from the OASIS Technical <a href="http://www.oasis-open.org/committees/entity/">Committee on Entity
+  <li>the page from the OASIS Technical <a href="http://www.oasis-open.org/committees/entity/">Committee on Entity
     Resolution</a> who maintains XML Catalog, you will find pointers to the
     specification update, some background and pointers to others tools
     providing XML Catalog support</li>
-<li>Here is a <a href="buildDocBookCatalog">shell script</a> to generate
+  <li>Here is a <a href="buildDocBookCatalog">shell script</a> to generate
     XML Catalogs for DocBook 4.1.2 . If it can write to the /etc/xml/
     directory, it will set-up /etc/xml/catalog and /etc/xml/docbook based on
     the resources found on the system. Otherwise it will just create
     ~/xmlcatalog and ~/dbkxmlcatalog and doing:
     <p><code>export XMLCATALOG=$HOME/xmlcatalog</code></p>
-<p>should allow to process DocBook documentations without requiring
+    <p>should allow to process DocBook documentations without requiring
     network accesses for the DTD or stylesheets</p>
-</li>
-<li>I have uploaded <a href="ftp://xmlsoft.org/test/dbk412catalog.tar.gz">a
+  </li>
+  <li>I have uploaded <a href="ftp://xmlsoft.org/test/dbk412catalog.tar.gz">a
     small tarball</a> containing XML Catalogs for DocBook 4.1.2 which seems
     to work fine for me too</li>
-<li>The <a href="http://www.xmlsoft.org/xmlcatalog_man.html">xmlcatalog
+  <li>The <a href="http://www.xmlsoft.org/xmlcatalog_man.html">xmlcatalog
     manual page</a>
 </li>
 </ul>
diff --git a/doc/contribs.html b/doc/contribs.html
index 9e0e7b7..37f2d13 100644
--- a/doc/contribs.html
+++ b/doc/contribs.html
@@ -91,41 +91,41 @@
 <li>Bjorn Reese, William Brack and Thomas Broyer have provided a number of
     patches, Gary Pennington worked on the validation API, threading support
     and Solaris port.</li>
-<li>John Fleck helps maintaining the documentation and man pages.</li>
-<li>
+  <li>John Fleck helps maintaining the documentation and man pages.</li>
+  <li>
 <a href="mailto:igor@stud.fh-frankfurt.de">Igor  Zlatkovic</a> is now
     the maintainer of the Windows port, <a href="http://www.fh-frankfurt.de/~igor/projects/libxml/index.html">he
     provides binaries</a>
 </li>
-<li>
+  <li>
 <a href="mailto:Gary.Pennington@sun.com">Gary Pennington</a> provides
     <a href="http://garypennington.net/libxml2/">Solaris binaries</a>
 </li>
-<li>
+  <li>
 <a href="http://mail.gnome.org/archives/xml/2001-March/msg00014.html">Matt
     Sergeant</a> developed <a href="http://axkit.org/download/">XML::LibXSLT</a>, a Perl wrapper for
     libxml2/libxslt as part of the <a href="http://axkit.com/">AxKit XML
     application server</a>
 </li>
-<li>
+  <li>
 <a href="mailto:fnatter@gmx.net">Felix Natter</a> and <a href="mailto:geertk@ai.rug.nl">Geert Kloosterman</a> provide <a href="libxml-doc.el">an emacs module</a> to lookup libxml(2) functions
     documentation</li>
-<li>
+  <li>
 <a href="mailto:sherwin@nlm.nih.gov">Ziying Sherwin</a> provided <a href="http://xmlsoft.org/messages/0488.html">man pages</a>
 </li>
-<li>there is a module for <a href="http://acs-misc.sourceforge.net/nsxml.html">libxml/libxslt support
+  <li>there is a module for <a href="http://acs-misc.sourceforge.net/nsxml.html">libxml/libxslt support
     in OpenNSD/AOLServer</a>
 </li>
-<li>
+  <li>
 <a href="mailto:dkuhlman@cutter.rexx.com">Dave Kuhlman</a> provided the
     first version of libxml/libxslt <a href="http://www.rexx.com/~dkuhlman">wrappers for Python</a>
 </li>
-<li>Petr Kozelka provides <a href="http://sourceforge.net/projects/libxml2-pas">Pascal units to glue
+  <li>Petr Kozelka provides <a href="http://sourceforge.net/projects/libxml2-pas">Pascal units to glue
     libxml2</a> with Kylix and Delphi and other Pascal compilers</li>
-<li>
+  <li>
 <a href="mailto:aleksey@aleksey.com">Aleksey Sanin</a> implemented the
     <a href="http://www.w3.org/Signature/">XML Canonicalization and XML
-    Digital Signature</a><a href="http://www.aleksey.com/xmlsec/">implementations for libxml2</a>
+    Digital Signature</a> <a href="http://www.aleksey.com/xmlsec/">implementations for libxml2</a>
 </li>
 </ul>
 <p>
diff --git a/doc/docs.html b/doc/docs.html
index 33798af..58e2c81 100644
--- a/doc/docs.html
+++ b/doc/docs.html
@@ -87,32 +87,29 @@
 </table>
 </td></tr></table></td>
 <td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
-<p>There are some on-line resources about using libxml:</p>
+<p>There are several on-line resources related to using libxml:</p>
 <ol>
-<li>Check the <a href="FAQ.html">FAQ</a>
+<li>Check the <a href="FAQ.html">FAQ.</a>
 </li>
-<li>Check the <a href="http://xmlsoft.org/html/libxml-lib.html">extensive
+  <li>Check the <a href="http://xmlsoft.org/html/libxml-lib.html">extensive
     documentation</a> automatically extracted from code comments (using <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gtk-doc">gtk
     doc</a>).</li>
-<li>Look at the documentation about <a href="encoding.html">libxml
-    internationalization support</a>
-</li>
-<li>This page provides a global overview and <a href="example.html">some
+  <li>Look at the documentation about <a href="encoding.html">libxml
+    internationalization support</a>.</li>
+  <li>This page provides a global overview and <a href="example.html">some
     examples</a> on how to use libxml.</li>
-<li>John Fleck's <a href="tutorial/index.html">libxml tutorial</a>
-</li>
-<li>
+  <li>John Fleck's <a href="tutorial/index.html">libxml tutorial</a>.</li>
+  <li>
 <a href="mailto:james@daa.com.au">James Henstridge</a> wrote <a href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">some nice
     documentation</a> explaining how to use the libxml SAX interface.</li>
-<li>George Lebl wrote <a href="http://www-4.ibm.com/software/developer/library/gnome3/">an article
+  <li>George Lebl wrote <a href="http://www-4.ibm.com/software/developer/library/gnome3/">an article
     for IBM developerWorks</a> about using libxml.</li>
-<li>Check <a href="http://cvs.gnome.org/lxr/source/gnome-xml/TODO">the TODO
-    file</a>
-</li>
-<li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a>. If you are
+  <li>Check <a href="http://cvs.gnome.org/lxr/source/gnome-xml/TODO">the TODO
+    file</a>.</li>
+  <li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a> description. If you are
     starting a new project using libxml you should really use the 2.x
   version.</li>
-<li>And don't forget to look at the <a href="http://mail.gnome.org/archives/xml/">mailing-list archive</a>.</li>
+  <li>And don't forget to look at the <a href="http://mail.gnome.org/archives/xml/">mailing-list archive</a>.</li>
 </ol>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
diff --git a/doc/downloads.html b/doc/downloads.html
index 534a5b5..d9d3c4f 100644
--- a/doc/downloads.html
+++ b/doc/downloads.html
@@ -99,10 +99,8 @@
 binaries</a>. <a href="mailto:Steve.Ball@zveno.com">Steve Ball</a> provides <a href="http://www.zveno.com/open_source/libxml2xslt.html">Mac Os X binaries</a>.</p>
 <p><a name="Snapshot">Snapshot:</a></p>
 <ul>
-<li>Code from the W3C cvs base libxml <a href="ftp://xmlsoft.org/cvs-snapshot.tar.gz">cvs-snapshot.tar.gz</a>
-</li>
-<li>Docs, content of the web site, the list archive included <a href="ftp://xmlsoft.org/libxml-docs.tar.gz">libxml-docs.tar.gz</a>
-</li>
+<li>Code from the W3C cvs base libxml <a href="ftp://xmlsoft.org/cvs-snapshot.tar.gz">cvs-snapshot.tar.gz</a>.</li>
+  <li>Docs, content of the web site, the list archive included <a href="ftp://xmlsoft.org/libxml-docs.tar.gz">libxml-docs.tar.gz</a>.</li>
 </ul>
 <p><a name="Contribs">Contributions:</a></p>
 <p>I do accept external contributions, especially if compiling on another
@@ -111,10 +109,12 @@
 </p>
 <p>Libxml is also available from CVS:</p>
 <ul>
-<li><p>The <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Gnome
+<li>
+<p>The <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Gnome
     CVS base</a>. Check the <a href="http://developer.gnome.org/tools/cvs.html">Gnome CVS Tools</a>
-    page; the CVS module is <b>gnome-xml</b>.</p></li>
-<li>The <strong>libxslt</strong> module is also present there</li>
+    page; the CVS module is <b>gnome-xml</b>.</p>
+  </li>
+  <li>The <strong>libxslt</strong> module is also present there</li>
 </ul>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
diff --git a/doc/encoding.html b/doc/encoding.html
index 9fb9842..8015197 100644
--- a/doc/encoding.html
+++ b/doc/encoding.html
@@ -91,11 +91,11 @@
 <ol>
 <li><a href="encoding.html#What">What does internationalization support
     mean ?</a></li>
-<li><a href="encoding.html#internal">The internal encoding, how and
+  <li><a href="encoding.html#internal">The internal encoding, how and
   why</a></li>
-<li><a href="encoding.html#implemente">How is it implemented ?</a></li>
-<li><a href="encoding.html#Default">Default supported encodings</a></li>
-<li><a href="encoding.html#extend">How to extend the existing
+  <li><a href="encoding.html#implemente">How is it implemented ?</a></li>
+  <li><a href="encoding.html#Default">Default supported encodings</a></li>
+  <li><a href="encoding.html#extend">How to extend the existing
   support</a></li>
 </ol>
 <h3><a name="What">What does internationalization support mean ?</a></h3>
@@ -116,10 +116,10 @@
 <p>Having internationalization support in libxml means the following:</p>
 <ul>
 <li>the document is properly parsed</li>
-<li>informations about it's encoding are saved</li>
-<li>it can be modified</li>
-<li>it can be saved in its original encoding</li>
-<li>it can also be saved in another encoding supported by libxml (for
+  <li>informations about it's encoding are saved</li>
+  <li>it can be modified</li>
+  <li>it can be saved in its original encoding</li>
+  <li>it can also be saved in another encoding supported by libxml (for
     example straight UTF8 or even an ASCII form)</li>
 </ul>
 <p>Another very important point is that the whole libxml API, with the
@@ -150,7 +150,7 @@
     client code would have to check it before hand, make sure it's conformant
     to the encoding, etc ... Very hard in practice, though in some specific
     cases this may make sense.</li>
-<li>the second decision was which encoding. From the XML spec only UTF8 and
+  <li>the second decision was which encoding. From the XML spec only UTF8 and
     UTF16 really makes sense as being the two only encodings for which there
     is mandatory support. UCS-4 (32 bits fixed size encoding) could be
     considered an intelligent choice too since it's a direct Unicode mapping
@@ -167,16 +167,16 @@
         caches (main memory/external caches/internal caches) and my take is
         that this harms the system far more than the CPU requirements needed
         for the conversion to UTF-8</li>
-<li>Most of libxml version 1 users were using it with straight ASCII
+      <li>Most of libxml version 1 users were using it with straight ASCII
         most of the time, doing the conversion with an internal encoding
         requiring all their code to be rewritten was a serious show-stopper
         for using UTF-16 or UCS-4.</li>
-<li>UTF-8 is being used as the de-facto internal encoding standard for
+      <li>UTF-8 is being used as the de-facto internal encoding standard for
         related code like the <a href="http://www.pango.org/">pango</a>
         upcoming Gnome text widget, and a lot of Unix code (yep another place
         where Unix programmer base takes a different approach from Microsoft
         - they are using UTF-16)</li>
-</ul>
+    </ul>
 </li>
 </ul>
 <p>What does this mean in practice for the libxml user:</p>
@@ -184,7 +184,7 @@
 <li>xmlChar, the libxml data type is a byte, those bytes must be assembled
     as UTF-8 valid strings. The proper way to terminate an xmlChar * string
     is simply to append 0 byte, as usual.</li>
-<li>One just need to make sure that when using chars outside the ASCII set,
+  <li>One just need to make sure that when using chars outside the ASCII set,
     the values has been properly converted to UTF-8</li>
 </ul>
 <h3><a name="implemente">How is it implemented ?</a></h3>
@@ -196,10 +196,10 @@
 <li>when a document is processed, we usually don't know the encoding, a
     simple heuristic allows to detect UTF-18 and UCS-4 from whose where the
     ASCII range (0-0x7F) maps with ASCII</li>
-<li>the xml declaration if available is parsed, including the encoding
+  <li>the xml declaration if available is parsed, including the encoding
     declaration. At that point, if the autodetected encoding is different
     from the one declared a call to xmlSwitchEncoding() is issued.</li>
-<li>If there is no encoding declaration, then the input has to be in either
+  <li>If there is no encoding declaration, then the input has to be in either
     UTF-8 or UTF-16, if it is not then at some point when processing the
     input, the converter/checker of UTF-8 form will raise an encoding error.
     You may end-up with a garbled document, or no document at all ! Example:
@@ -210,8 +210,8 @@
 err.xml:1: error: Bytes: 0xE8 0x73 0x3E 0x6C
 &lt;très&gt;là&lt;/très&gt;
    ^</pre>
-</li>
-<li>xmlSwitchEncoding() does an encoding name lookup, canonicalize it, and
+  </li>
+  <li>xmlSwitchEncoding() does an encoding name lookup, canonicalize it, and
     then search the default registered encoding converters for that encoding.
     If it's not within the default set and iconv() support has been compiled
     it, it will ask iconv for such an encoder. If this fails then the parser
@@ -220,15 +220,15 @@
 err2.xml:1: error: Unsupported encoding UnsupportedEnc
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UnsupportedEnc&quot;?&gt;
                                              ^</pre>
-</li>
-<li>From that point the encoder processes progressively the input (it is
+  </li>
+  <li>From that point the encoder processes progressively the input (it is
     plugged as a front-end to the I/O module) for that entity. It captures
     and convert on-the-fly the document to be parsed to UTF-8. The parser
     itself just does UTF-8 checking of this input and process it
     transparently. The only difference is that the encoding information has
     been added to the parsing context (more precisely to the input
     corresponding to this entity).</li>
-<li>The result (when using DOM) is an internal form completely in UTF-8
+  <li>The result (when using DOM) is an internal form completely in UTF-8
     with just an encoding information on the document node.</li>
 </ol>
 <p>Ok then what happens when saving the document (assuming you
@@ -241,16 +241,16 @@
     associated to the document and if it exists will try to save to that
     encoding,
     <p>otherwise everything is written in the internal form, i.e. UTF-8</p>
-</li>
-<li>so if an encoding was specified, either at the API level or on the
+  </li>
+  <li>so if an encoding was specified, either at the API level or on the
     document, libxml will again canonicalize the encoding name, lookup for a
     converter in the registered set or through iconv. If not found the
     function will return an error code</li>
-<li>the converter is placed before the I/O buffer layer, as another kind of
+  <li>the converter is placed before the I/O buffer layer, as another kind of
     buffer, then libxml will simply push the UTF-8 serialization to through
     that buffer, which will then progressively be converted and pushed onto
     the I/O layer.</li>
-<li>It is possible that the converter code fails on some input, for example
+  <li>It is possible that the converter code fails on some input, for example
     trying to push an UTF-8 encoded Chinese character through the UTF-8 to
     ISO-8859-1 converter won't work. Since the encoders are progressive they
     will just report the error and the number of bytes converted, at that
@@ -283,10 +283,10 @@
 (located in encoding.c):</p>
 <ol>
 <li>UTF-8 is supported by default (null handlers)</li>
-<li>UTF-16, both little and big endian</li>
-<li>ISO-Latin-1 (ISO-8859-1) covering most western languages</li>
-<li>ASCII, useful mostly for saving</li>
-<li>HTML, a specific handler for the conversion of UTF-8 to ASCII with HTML
+  <li>UTF-16, both little and big endian</li>
+  <li>ISO-Latin-1 (ISO-8859-1) covering most western languages</li>
+  <li>ASCII, useful mostly for saving</li>
+  <li>HTML, a specific handler for the conversion of UTF-8 to ASCII with HTML
     predefined entities like &amp;copy; for the Copyright sign.</li>
 </ol>
 <p>More over when compiled on an Unix platform with iconv support the full
@@ -303,9 +303,9 @@
 aliases when handling a document:</p>
 <ul>
 <li>int xmlAddEncodingAlias(const char *name, const char *alias);</li>
-<li>int xmlDelEncodingAlias(const char *alias);</li>
-<li>const char * xmlGetEncodingAlias(const char *alias);</li>
-<li>void xmlCleanupEncodingAliases(void);</li>
+  <li>int xmlDelEncodingAlias(const char *alias);</li>
+  <li>const char * xmlGetEncodingAlias(const char *alias);</li>
+  <li>void xmlCleanupEncodingAliases(void);</li>
 </ul>
 <h3><a name="extend">How to extend the existing support</a></h3>
 <p>Well adding support for new encoding, or overriding one of the encoders
diff --git a/doc/example.html b/doc/example.html
index 8e9b264..c8eb55a 100644
--- a/doc/example.html
+++ b/doc/example.html
@@ -203,14 +203,14 @@
 <li>Usually a recursive parsing style is the more convenient one: XML data
     is by nature subject to repetitive constructs and usually exhibits highly
     structured patterns.</li>
-<li>The two arguments of type <em>xmlDocPtr</em> and <em>xmlNsPtr</em>,
+  <li>The two arguments of type <em>xmlDocPtr</em> and <em>xmlNsPtr</em>,
     i.e. the pointer to the global XML document and the namespace reserved to
     the application. Document wide information are needed for example to
     decode entities and it's a good coding practice to define a namespace for
     your application set of data and test that the element and attributes
     you're analyzing actually pertains to your application space. This is
     done by a simple equality test (cur-&gt;ns == ns).</li>
-<li>To retrieve text and attributes value, you can use the function
+  <li>To retrieve text and attributes value, you can use the function
     <em>xmlNodeListGetString</em> to gather all the text and entity reference
     nodes generated by the DOM output and produce an single text string.</li>
 </ul>
diff --git a/doc/help.html b/doc/help.html
index 5e69524..b2f6ffb 100644
--- a/doc/help.html
+++ b/doc/help.html
@@ -89,17 +89,17 @@
 <td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
 <p>You can help the project in various ways, the best thing to do first is to
 subscribe to the mailing-list as explained before, check the <a href="http://mail.gnome.org/archives/xml/">archives </a>and the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml">Gnome bug
-database:</a>:</p>
+database</a>:</p>
 <ol>
-<li>provide patches when you find problems</li>
-<li>provide the diffs when you port libxml to a new platform. They may not
+<li>Provide patches when you find problems.</li>
+  <li>Provide the diffs when you port libxml to a new platform. They may not
     be integrated in all cases but help pinpointing portability problems
   and</li>
-<li>provide documentation fixes (either as patches to the code comments or
+  <li>Provide documentation fixes (either as patches to the code comments or
     as HTML diffs).</li>
-<li>provide new documentations pieces (translations, examples, etc ...)</li>
-<li>Check the TODO file and try to close one of the items</li>
-<li>take one of the points raised in the archive or the bug database and
+  <li>Provide new documentations pieces (translations, examples, etc ...).</li>
+  <li>Check the TODO file and try to close one of the items.</li>
+  <li>Take one of the points raised in the archive or the bug database and
     provide a fix. <a href="mailto:daniel@veillard.com">Get in touch with me
     </a>before to avoid synchronization problems and check that the suggested
     fix will fit in nicely :-)</li>
diff --git a/doc/index.html b/doc/index.html
index 3a7a235..f2d131a 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -91,79 +91,79 @@
 <p>Libxml is the XML C library developed for the Gnome project.  XML itself
 is a metalanguage to design markup languages, i.e. text language where
 semantic and structure are added to the content using extra &quot;markup&quot;
-information enclosed between angle bracket. HTML is the most well-known
+information enclosed between angle brackets. HTML is the most well-known
 markup language. Though the library is written in C <a href="python.html">a
-variety of language binding</a> makes it available in other environments.</p>
+variety of language bindings</a> make it available in other environments.</p>
 <p>Libxml2 implements a number of existing standards related to markup
 languages:</p>
 <ul>
 <li>the XML standard: <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a>
 </li>
-<li>Namespaces in XML: <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a>
+  <li>Namespaces in XML: <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a>
 </li>
-<li>XML Base: <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
+  <li>XML Base: <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
 </li>
-<li>
+  <li>
 <a href="http://www.cis.ohio-state.edu/rfc/rfc2396.txt">RFC 2396</a> :
     Uniform Resource Identifiers <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a>
 </li>
-<li>XML Path Language (XPath) 1.0: <a href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</a>
+  <li>XML Path Language (XPath) 1.0: <a href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</a>
 </li>
-<li>HTML4 parser: <a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>
+  <li>HTML4 parser: <a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>
 </li>
-<li>most of XML Pointer Language (XPointer) Version 1.0: <a href="http://www.w3.org/TR/xptr">http://www.w3.org/TR/xptr</a>
+  <li>most of XML Pointer Language (XPointer) Version 1.0: <a href="http://www.w3.org/TR/xptr">http://www.w3.org/TR/xptr</a>
 </li>
-<li>XML Inclusions (XInclude) Version 1.0: <a href="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/</a>
+  <li>XML Inclusions (XInclude) Version 1.0: <a href="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/</a>
 </li>
-<li>[ISO-8859-1], <a href="http://www.cis.ohio-state.edu/rfc/rfc2044.txt">rfc2044</a> [UTF-8]
+  <li>[ISO-8859-1], <a href="http://www.cis.ohio-state.edu/rfc/rfc2044.txt">rfc2044</a> [UTF-8]
     and <a href="http://www.cis.ohio-state.edu/rfc/rfc2781.txt">rfc2781</a>
     [UTF-16] core encodings</li>
-<li>part of SGML Open Technical Resolution TR9401:1997</li>
-<li>XML Catalogs Working Draft 06 August 2001: <a href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html">http://www.oasis-open.org/committees/entity/spec-2001-08-06.html</a>
+  <li>part of SGML Open Technical Resolution TR9401:1997</li>
+  <li>XML Catalogs Working Draft 06 August 2001: <a href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html">http://www.oasis-open.org/committees/entity/spec-2001-08-06.html</a>
 </li>
-<li>Canonical XML Version 1.0: <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a>
+  <li>Canonical XML Version 1.0: <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a>
     and the Exclusive XML Canonicalization CR draft <a href="http://www.w3.org/TR/xml-exc-c14n">http://www.w3.org/TR/xml-exc-c14n</a>
 </li>
 </ul>
 <p>In most cases libxml tries to implement the specifications in a relatively
-strict way. As of release 2.4.16, libxml2 passes all 1800+ tests from the <a href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
+strictly compliant way. As of release 2.4.16, libxml2 passes all 1800+ tests from the <a href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
 Suite</a>.</p>
-<p>To some extent libxml2 provide some support for the following other
-specification but don't claim to implement them:</p>
+<p>To some extent libxml2 provides support for the following additional
+specifications but doesn't claim to implement them completely:</p>
 <ul>
 <li>Document Object Model (DOM) <a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>
-    it doesn't implement the API itself, gdome2 does this in top of
+    it doesn't implement the API itself, gdome2 does this on top of
   libxml2</li>
-<li>
+  <li>
 <a href="http://www.cis.ohio-state.edu/rfc/rfc959.txt">RFC 959</a> :
     libxml implements a basic FTP client code</li>
-<li>
+  <li>
 <a href="http://www.cis.ohio-state.edu/rfc/rfc1945.txt">RFC 1945</a> :
     HTTP/1.0, again a basic HTTP client code</li>
-<li>SAX: a minimal SAX implementation compatible with early expat
+  <li>SAX: a minimal SAX implementation compatible with early expat
   versions</li>
-<li>DocBook SGML v4: libxml2 includes a hackish parser to transition to
+  <li>DocBook SGML v4: libxml2 includes a hackish parser to transition to
   XML</li>
 </ul>
 <p>XML Schemas is being worked on but it would be far too early to make any
 conformance statement about it at the moment.</p>
 <p>Libxml2 is known to be very portable, the library should build and work
 without serious troubles on a variety of systems (Linux, Unix, Windows,
-CygWin, MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)</p>
+CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)</p>
 <p>Separate documents:</p>
 <ul>
 <li>
 <a href="http://xmlsoft.org/XSLT/">the libxslt page</a> providing an
     implementation of XSLT 1.0 and common extensions like EXSLT for
   libxml2</li>
-<li>
+  <li>
 <a href="http://www.cs.unibo.it/~casarini/gdome2/">the gdome2 page</a>
     : a standard DOM2 implementation for libxml2</li>
-<li>
+  <li>
 <a href="http://www.aleksey.com/xmlsec/">the XMLSec page</a>: an
     implementation of <a href="http://www.w3.org/TR/xmldsig-core/">W3C XML
     Digital Signature</a> for libxml2</li>
-<li>also check the related links section below for more related and active
+  <li>also check the related links section below for more related and active
     projects.</li>
 </ul>
 <p><a href="bugs.html">Daniel Veillard</a></p>
diff --git a/doc/intro.html b/doc/intro.html
index a05bd4e..19d284d 100644
--- a/doc/intro.html
+++ b/doc/intro.html
@@ -93,20 +93,20 @@
 <ul>
 <li>Libxml exports Push (progressive) and Pull (blocking) type parser
     interfaces for both XML and HTML.</li>
-<li>Libxml can do DTD validation at parse time, using a parsed document
+  <li>Libxml can do DTD validation at parse time, using a parsed document
     instance, or with an arbitrary DTD.</li>
-<li>Libxml includes complete <a href="http://www.w3.org/TR/xpath">XPath</a>, <a href="http://www.w3.org/TR/xptr">XPointer</a> and <a href="http://www.w3.org/TR/xinclude">XInclude</a> implementations.</li>
-<li>It is written in plain C, making as few assumptions as possible, and
+  <li>Libxml includes complete <a href="http://www.w3.org/TR/xpath">XPath</a>, <a href="http://www.w3.org/TR/xptr">XPointer</a> and <a href="http://www.w3.org/TR/xinclude">XInclude</a> implementations.</li>
+  <li>It is written in plain C, making as few assumptions as possible, and
     sticking closely to ANSI C/POSIX for easy embedding. Works on
     Linux/Unix/Windows, ported to a number of other platforms.</li>
-<li>Basic support for HTTP and FTP client allowing applications to fetch
-    remote resources</li>
-<li>The design is modular, most of the extensions can be compiled out.</li>
-<li>The internal document representation 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
+  <li>Basic support for HTTP and FTP client allowing applications to fetch
+    remote resources.</li>
+  <li>The design is modular, most of the extensions can be compiled out.</li>
+  <li>The internal document representation 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>.</li>
-<li>This library is released under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
-    License</a> see the Copyright file in the distribution for the precise
+  <li>This library is released under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
+    License</a>. See the Copyright file in the distribution for the precise
     wording.</li>
 </ul>
 <p>Warning: unless you are forced to because your application links with a
diff --git a/doc/library.html b/doc/library.html
index ca06abe..50ea781 100644
--- a/doc/library.html
+++ b/doc/library.html
@@ -103,12 +103,16 @@
 defined in &quot;parser.h&quot;:</p>
 <dl>
 <dt><code>xmlDocPtr xmlParseMemory(char *buffer, int size);</code></dt>
-<dd><p>Parse a null-terminated string containing the document.</p></dd>
+    <dd>
+<p>Parse a null-terminated string containing the document.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>xmlDocPtr xmlParseFile(const char *filename);</code></dt>
-<dd><p>Parse an XML document contained in a (possibly compressed)
-      file.</p></dd>
+    <dd>
+<p>Parse an XML document contained in a (possibly compressed)
+      file.</p>
+    </dd>
 </dl>
 <p>The parser returns a pointer to the document structure (or NULL in case of
 failure).</p>
@@ -200,52 +204,66 @@
 <dl>
 <dt><code>xmlAttrPtr xmlSetProp(xmlNodePtr node, const xmlChar *name, const
   xmlChar *value);</code></dt>
-<dd><p>This sets (or changes) an attribute carried by an ELEMENT node.
-      The value can be NULL.</p></dd>
+    <dd>
+<p>This sets (or changes) an attribute carried by an ELEMENT node.
+      The value can be NULL.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>const xmlChar *xmlGetProp(xmlNodePtr node, const xmlChar
   *name);</code></dt>
-<dd><p>This function returns a pointer to new copy of the property
-      content. Note that the user must deallocate the result.</p></dd>
+    <dd>
+<p>This function returns a pointer to new copy of the property
+      content. Note that the user must deallocate the result.</p>
+    </dd>
 </dl>
 <p>Two functions are provided for reading and writing the text associated
 with elements:</p>
 <dl>
 <dt><code>xmlNodePtr xmlStringGetNodeList(xmlDocPtr doc, const xmlChar
   *value);</code></dt>
-<dd><p>This function takes an &quot;external&quot; string and converts it to one
+    <dd>
+<p>This function takes an &quot;external&quot; string and converts it to one
       text node or possibly to a list of entity and text nodes. All
       non-predefined entity references like &amp;Gnome; will be stored
       internally as entity nodes, hence the result of the function may not be
-      a single node.</p></dd>
+      a single node.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>xmlChar *xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int
   inLine);</code></dt>
-<dd><p>This function is the inverse of
+    <dd>
+<p>This function is the inverse of
       <code>xmlStringGetNodeList()</code>. It generates a new string
       containing the content of the text and entity nodes. Note the extra
       argument inLine. If this argument is set to 1, the function will expand
       entity references.  For example, instead of returning the &amp;Gnome;
       XML encoding in the string, it will substitute it with its value (say,
-      &quot;GNU Network Object Model Environment&quot;).</p></dd>
+      &quot;GNU Network Object Model Environment&quot;).</p>
+    </dd>
 </dl>
 <h3><a name="Saving">Saving a tree</a></h3>
 <p>Basically 3 options are possible:</p>
 <dl>
 <dt><code>void xmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int
   *size);</code></dt>
-<dd><p>Returns a buffer into which the document has been saved.</p></dd>
+    <dd>
+<p>Returns a buffer into which the document has been saved.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>extern void xmlDocDump(FILE *f, xmlDocPtr doc);</code></dt>
-<dd><p>Dumps a document to an open file descriptor.</p></dd>
+    <dd>
+<p>Dumps a document to an open file descriptor.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>int xmlSaveFile(const char *filename, xmlDocPtr cur);</code></dt>
-<dd><p>Saves the document to a file. In this case, the compression
-      interface is triggered if it has been turned on.</p></dd>
+    <dd>
+<p>Saves the document to a file. In this case, the compression
+      interface is triggered if it has been turned on.</p>
+    </dd>
 </dl>
 <h3><a name="Compressio">Compression</a></h3>
 <p>The library transparently handles compression when doing file-based
@@ -253,19 +271,27 @@
 or individually for one file:</p>
 <dl>
 <dt><code>int  xmlGetDocCompressMode (xmlDocPtr doc);</code></dt>
-<dd><p>Gets the document compression ratio (0-9).</p></dd>
+    <dd>
+<p>Gets the document compression ratio (0-9).</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>void xmlSetDocCompressMode (xmlDocPtr doc, int mode);</code></dt>
-<dd><p>Sets the document compression ratio.</p></dd>
+    <dd>
+<p>Sets the document compression ratio.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>int  xmlGetCompressMode(void);</code></dt>
-<dd><p>Gets the default compression ratio.</p></dd>
+    <dd>
+<p>Gets the default compression ratio.</p>
+    </dd>
 </dl>
 <dl>
 <dt><code>void xmlSetCompressMode(int mode);</code></dt>
-<dd><p>Sets the default compression ratio.</p></dd>
+    <dd>
+<p>Sets the default compression ratio.</p>
+    </dd>
 </dl>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
diff --git a/doc/news.html b/doc/news.html
index 2aa8600..259190f 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -91,30 +91,32 @@
 for a really accurate description</h3>
 <p>Items not finished and worked on, get in touch with the list if you want
 to test those</p>
-<ul><li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
+<ul>
+<li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
     Schemas</a> and <a href="http://www.w3.org/TR/xinclude">XInclude</a>
-</li></ul>
+</li>
+</ul>
 <h3>2.4.23: July 6 2002</h3>
 <ul>
 <li>performances patches: Peter Jacobi</li>
-<li>c14n fixes, testsuite and performances: Aleksey Sanin</li>
-<li>added xmlDocFormatDump: Chema Celorio</li>
-<li>new tutorial: John Fleck</li>
-<li>new hash functions and performances: Sander Vesik, portability fix from
+  <li>c14n fixes, testsuite and performances: Aleksey Sanin</li>
+  <li>added xmlDocFormatDump: Chema Celorio</li>
+  <li>new tutorial: John Fleck</li>
+  <li>new hash functions and performances: Sander Vesik, portability fix from
     Peter Jacobi</li>
-<li>a number of bug fixes: XPath (William Brack, Richard Jinks), XML and
+  <li>a number of bug fixes: XPath (William Brack, Richard Jinks), XML and
     HTML parsers, ID lookup function</li>
-<li>removal of all remaining sprintf: Aleksey Sanin</li>
+  <li>removal of all remaining sprintf: Aleksey Sanin</li>
 </ul>
 <h3>2.4.22: May 27 2002</h3>
 <ul>
 <li>a number of bug fixes: configure scripts, base handling, parser, memory
     usage, HTML parser, XPath, documentation (Christian Cornelssen),
     indentation, URI parsing</li>
-<li>Optimizations for XMLSec, fixing and making public some of the network
+  <li>Optimizations for XMLSec, fixing and making public some of the network
     protocol handlers (Aleksey)</li>
-<li>performance patch from Gary Pennington</li>
-<li>Charles Bozeman provided date and time support for XML Schemas
+  <li>performance patch from Gary Pennington</li>
+  <li>Charles Bozeman provided date and time support for XML Schemas
   datatypes</li>
 </ul>
 <h3>2.4.21: Apr 29 2002</h3>
@@ -125,298 +127,302 @@
 it's actually not compiled in by default. The real fixes are:</p>
 <ul>
 <li>a couple of bugs or limitations introduced in 2.4.20</li>
-<li>patches for Borland C++ and MSC by Igor</li>
-<li>some fixes on XPath strings and conformance patches by Richard
+  <li>patches for Borland C++ and MSC by Igor</li>
+  <li>some fixes on XPath strings and conformance patches by Richard
   Jinks</li>
-<li>patch from Aleksey for the ExcC14N specification</li>
-<li>OSF/1 bug fix by Bjorn</li>
+  <li>patch from Aleksey for the ExcC14N specification</li>
+  <li>OSF/1 bug fix by Bjorn</li>
 </ul>
 <h3>2.4.20: Apr 15 2002</h3>
 <ul>
 <li>bug fixes: file descriptor leak, XPath, HTML output, DTD validation</li>
-<li>XPath conformance testing by Richard Jinks</li>
-<li>Portability fixes: Solaris, MPE/iX, Windows, OSF/1, python bindings,
+  <li>XPath conformance testing by Richard Jinks</li>
+  <li>Portability fixes: Solaris, MPE/iX, Windows, OSF/1, python bindings,
     libxml.m4</li>
 </ul>
 <h3>2.4.19: Mar 25 2002</h3>
 <ul>
 <li>bug fixes: half a dozen XPath bugs, Validation, ISO-Latin to UTF8
     encoder</li>
-<li>portability fixes in the HTTP code</li>
-<li>memory allocation checks using valgrind, and profiling tests</li>
-<li>revamp of the Windows build and Makefiles</li>
+  <li>portability fixes in the HTTP code</li>
+  <li>memory allocation checks using valgrind, and profiling tests</li>
+  <li>revamp of the Windows build and Makefiles</li>
 </ul>
 <h3>2.4.18: Mar 18 2002</h3>
 <ul>
 <li>bug fixes: tree, SAX, canonicalization, validation, portability,
   XPath</li>
-<li>removed the --with-buffer option it was becoming unmaintainable</li>
-<li>serious cleanup of the Python makefiles</li>
-<li>speedup patch to XPath very effective for DocBook stylesheets</li>
-<li>Fixes for Windows build, cleanup of the documentation</li>
+  <li>removed the --with-buffer option it was becoming unmaintainable</li>
+  <li>serious cleanup of the Python makefiles</li>
+  <li>speedup patch to XPath very effective for DocBook stylesheets</li>
+  <li>Fixes for Windows build, cleanup of the documentation</li>
 </ul>
 <h3>2.4.17: Mar 8 2002</h3>
 <ul>
 <li>a lot of bug fixes, including &quot;namespace nodes have no parents in
   XPath&quot;</li>
-<li>fixed/improved the Python wrappers, added more examples and more
+  <li>fixed/improved the Python wrappers, added more examples and more
     regression tests, XPath extension functions can now return node-sets</li>
-<li>added the XML Canonicalization support from Aleksey Sanin</li>
+  <li>added the XML Canonicalization support from Aleksey Sanin</li>
 </ul>
 <h3>2.4.16: Feb 20 2002</h3>
 <ul>
 <li>a lot of bug fixes, most of them were triggered by the XML Testsuite
     from OASIS and W3C. Compliance has been significantly improved.</li>
-<li>a couple of portability fixes too.</li>
+  <li>a couple of portability fixes too.</li>
 </ul>
 <h3>2.4.15: Feb 11 2002</h3>
 <ul>
 <li>Fixed the Makefiles, especially the python module ones</li>
-<li>A few bug fixes and cleanup</li>
-<li>Includes cleanup</li>
+  <li>A few bug fixes and cleanup</li>
+  <li>Includes cleanup</li>
 </ul>
 <h3>2.4.14: Feb 8 2002</h3>
 <ul>
 <li>Change of License to the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
     License</a> basically for integration in XFree86 codebase, and removing
     confusion around the previous dual-licensing</li>
-<li>added Python bindings, beta software but should already be quite
+  <li>added Python bindings, beta software but should already be quite
     complete</li>
-<li>a large number of fixes and cleanups, especially for all tree
+  <li>a large number of fixes and cleanups, especially for all tree
     manipulations</li>
-<li>cleanup of the headers, generation of a reference API definition in
+  <li>cleanup of the headers, generation of a reference API definition in
   XML</li>
 </ul>
 <h3>2.4.13: Jan 14 2002</h3>
 <ul>
 <li>update of the documentation: John Fleck and Charlie Bozeman</li>
-<li>cleanup of timing code from Justin Fletcher</li>
-<li>fixes for Windows and initial thread support on Win32: Igor and Serguei
+  <li>cleanup of timing code from Justin Fletcher</li>
+  <li>fixes for Windows and initial thread support on Win32: Igor and Serguei
     Narojnyi</li>
-<li>Cygwin patch from Robert Collins</li>
-<li>added xmlSetEntityReferenceFunc() for Keith Isdale work on xsldbg</li>
+  <li>Cygwin patch from Robert Collins</li>
+  <li>added xmlSetEntityReferenceFunc() for Keith Isdale work on xsldbg</li>
 </ul>
 <h3>2.4.12: Dec 7 2001</h3>
 <ul>
 <li>a few bug fixes: thread (Gary Pennington), xmllint (Geert Kloosterman),
     XML parser (Robin Berjon), XPointer (Danny Jamshy), I/O cleanups
   (robert)</li>
-<li>Eric Lavigne contributed project files for MacOS</li>
-<li>some makefiles cleanups</li>
+  <li>Eric Lavigne contributed project files for MacOS</li>
+  <li>some makefiles cleanups</li>
 </ul>
 <h3>2.4.11: Nov 26 2001</h3>
 <ul>
 <li>fixed a couple of errors in the includes, fixed a few bugs, some code
     cleanups</li>
-<li>xmllint man pages improvement by Heiko Rupp</li>
-<li>updated VMS build instructions from John A Fotheringham</li>
-<li>Windows Makefiles updates from Igor</li>
+  <li>xmllint man pages improvement by Heiko Rupp</li>
+  <li>updated VMS build instructions from John A Fotheringham</li>
+  <li>Windows Makefiles updates from Igor</li>
 </ul>
 <h3>2.4.10: Nov 10 2001</h3>
 <ul>
 <li>URI escaping fix (Joel Young)</li>
-<li>added xmlGetNodePath() (for paths or XPointers generation)</li>
-<li>Fixes namespace handling problems when using DTD and validation</li>
-<li>improvements on xmllint: Morus Walter patches for --format and
+  <li>added xmlGetNodePath() (for paths or XPointers generation)</li>
+  <li>Fixes namespace handling problems when using DTD and validation</li>
+  <li>improvements on xmllint: Morus Walter patches for --format and
     --encode, Stefan Kost and Heiko Rupp improvements on the --shell</li>
-<li>fixes for xmlcatalog linking pointed by Weiqi Gao</li>
-<li>fixes to the HTML parser</li>
+  <li>fixes for xmlcatalog linking pointed by Weiqi Gao</li>
+  <li>fixes to the HTML parser</li>
 </ul>
 <h3>2.4.9: Nov 6 2001</h3>
 <ul>
 <li>fixes more catalog bugs</li>
-<li>avoid a compilation problem, improve xmlGetLineNo()</li>
+  <li>avoid a compilation problem, improve xmlGetLineNo()</li>
 </ul>
 <h3>2.4.8: Nov 4 2001</h3>
 <ul>
 <li>fixed SGML catalogs broken in previous release, updated xmlcatalog
   tool</li>
-<li>fixed a compile errors and some includes troubles.</li>
+  <li>fixed a compile errors and some includes troubles.</li>
 </ul>
 <h3>2.4.7: Oct 30 2001</h3>
 <ul>
 <li>exported some debugging interfaces</li>
-<li>serious rewrite of the catalog code</li>
-<li>integrated Gary Pennington thread safety patch, added configure option
+  <li>serious rewrite of the catalog code</li>
+  <li>integrated Gary Pennington thread safety patch, added configure option
     and regression tests</li>
-<li>removed an HTML parser bug</li>
-<li>fixed a couple of potentially serious validation bugs</li>
-<li>integrated the SGML DocBook support in xmllint</li>
-<li>changed the nanoftp anonymous login passwd</li>
-<li>some I/O cleanup and a couple of interfaces for Perl wrapper</li>
-<li>general bug fixes</li>
-<li>updated xmllint man page by John Fleck</li>
-<li>some VMS and Windows updates</li>
+  <li>removed an HTML parser bug</li>
+  <li>fixed a couple of potentially serious validation bugs</li>
+  <li>integrated the SGML DocBook support in xmllint</li>
+  <li>changed the nanoftp anonymous login passwd</li>
+  <li>some I/O cleanup and a couple of interfaces for Perl wrapper</li>
+  <li>general bug fixes</li>
+  <li>updated xmllint man page by John Fleck</li>
+  <li>some VMS and Windows updates</li>
 </ul>
 <h3>2.4.6: Oct 10 2001</h3>
 <ul>
 <li>added an updated man pages by John Fleck</li>
-<li>portability and configure fixes</li>
-<li>an infinite loop on the HTML parser was removed (William)</li>
-<li>Windows makefile patches from Igor</li>
-<li>fixed half a dozen bugs reported for libxml or libxslt</li>
-<li>updated xmlcatalog to be able to modify SGML super catalogs</li>
+  <li>portability and configure fixes</li>
+  <li>an infinite loop on the HTML parser was removed (William)</li>
+  <li>Windows makefile patches from Igor</li>
+  <li>fixed half a dozen bugs reported for libxml or libxslt</li>
+  <li>updated xmlcatalog to be able to modify SGML super catalogs</li>
 </ul>
 <h3>2.4.5: Sep 14 2001</h3>
 <ul>
 <li>Remove a few annoying bugs in 2.4.4</li>
-<li>forces the HTML serializer to output decimal charrefs since some
+  <li>forces the HTML serializer to output decimal charrefs since some
     version of Netscape can't handle hexadecimal ones</li>
 </ul>
 <h3>1.8.16: Sep 14 2001</h3>
-<ul><li>maintenance release of the old libxml1 branch, couple of bug and
-    portability fixes</li></ul>
+<ul>
+<li>maintenance release of the old libxml1 branch, couple of bug and
+    portability fixes</li>
+</ul>
 <h3>2.4.4: Sep 12 2001</h3>
 <ul>
 <li>added --convert to xmlcatalog, bug fixes and cleanups of XML
   Catalog</li>
-<li>a few bug fixes and some portability changes</li>
-<li>some documentation cleanups</li>
+  <li>a few bug fixes and some portability changes</li>
+  <li>some documentation cleanups</li>
 </ul>
 <h3>2.4.3:  Aug 23 2001</h3>
 <ul>
 <li>XML Catalog support see the doc</li>
-<li>New NaN/Infinity floating point code</li>
-<li>A few bug fixes</li>
+  <li>New NaN/Infinity floating point code</li>
+  <li>A few bug fixes</li>
 </ul>
 <h3>2.4.2:  Aug 15 2001</h3>
 <ul>
 <li>adds xmlLineNumbersDefault() to control line number generation</li>
-<li>lot of bug fixes</li>
-<li>the Microsoft MSC projects files should now be up to date</li>
-<li>inheritance of namespaces from DTD defaulted attributes</li>
-<li>fixes a serious potential security bug</li>
-<li>added a --format option to xmllint</li>
+  <li>lot of bug fixes</li>
+  <li>the Microsoft MSC projects files should now be up to date</li>
+  <li>inheritance of namespaces from DTD defaulted attributes</li>
+  <li>fixes a serious potential security bug</li>
+  <li>added a --format option to xmllint</li>
 </ul>
 <h3>2.4.1:  July 24 2001</h3>
 <ul>
 <li>possibility to keep line numbers in the tree</li>
-<li>some computation NaN fixes</li>
-<li>extension of the XPath API</li>
-<li>cleanup for alpha and ia64 targets</li>
-<li>patch to allow saving through HTTP PUT or POST</li>
+  <li>some computation NaN fixes</li>
+  <li>extension of the XPath API</li>
+  <li>cleanup for alpha and ia64 targets</li>
+  <li>patch to allow saving through HTTP PUT or POST</li>
 </ul>
 <h3>2.4.0: July 10 2001</h3>
 <ul>
 <li>Fixed a few bugs in XPath, validation, and tree handling.</li>
-<li>Fixed XML Base implementation, added a couple of examples to the
+  <li>Fixed XML Base implementation, added a couple of examples to the
     regression tests</li>
-<li>A bit of cleanup</li>
+  <li>A bit of cleanup</li>
 </ul>
 <h3>2.3.14: July 5 2001</h3>
 <ul>
 <li>fixed some entities problems and reduce memory requirement when
     substituting them</li>
-<li>lots of improvements in the XPath queries interpreter can be
+  <li>lots of improvements in the XPath queries interpreter can be
     substantially faster</li>
-<li>Makefiles and configure cleanups</li>
-<li>Fixes to XPath variable eval, and compare on empty node set</li>
-<li>HTML tag closing bug fixed</li>
-<li>Fixed an URI reference computation problem when validating</li>
+  <li>Makefiles and configure cleanups</li>
+  <li>Fixes to XPath variable eval, and compare on empty node set</li>
+  <li>HTML tag closing bug fixed</li>
+  <li>Fixed an URI reference computation problem when validating</li>
 </ul>
 <h3>2.3.13: June 28 2001</h3>
 <ul>
 <li>2.3.12 configure.in was broken as well as the push mode XML parser</li>
-<li>a few more fixes for compilation on Windows MSC by Yon Derek</li>
+  <li>a few more fixes for compilation on Windows MSC by Yon Derek</li>
 </ul>
 <h3>1.8.14: June 28 2001</h3>
 <ul>
 <li>Zbigniew Chyla gave a patch to use the old XML parser in push mode</li>
-<li>Small Makefile fix</li>
+  <li>Small Makefile fix</li>
 </ul>
 <h3>2.3.12: June 26 2001</h3>
 <ul>
 <li>lots of cleanup</li>
-<li>a couple of validation fix</li>
-<li>fixed line number counting</li>
-<li>fixed serious problems in the XInclude processing</li>
-<li>added support for UTF8 BOM at beginning of entities</li>
-<li>fixed a strange gcc optimizer bugs in xpath handling of float, gcc-3.0
+  <li>a couple of validation fix</li>
+  <li>fixed line number counting</li>
+  <li>fixed serious problems in the XInclude processing</li>
+  <li>added support for UTF8 BOM at beginning of entities</li>
+  <li>fixed a strange gcc optimizer bugs in xpath handling of float, gcc-3.0
     miscompile uri.c (William), Thomas Leitner provided a fix for the
     optimizer on Tru64</li>
-<li>incorporated Yon Derek and Igor Zlatkovic  fixes and improvements for
+  <li>incorporated Yon Derek and Igor Zlatkovic  fixes and improvements for
     compilation on Windows MSC</li>
-<li>update of libxml-doc.el (Felix Natter)</li>
-<li>fixed 2 bugs in URI normalization code</li>
+  <li>update of libxml-doc.el (Felix Natter)</li>
+  <li>fixed 2 bugs in URI normalization code</li>
 </ul>
 <h3>2.3.11: June 17 2001</h3>
 <ul>
 <li>updates to trio, Makefiles and configure should fix some portability
     problems (alpha)</li>
-<li>fixed some HTML serialization problems (pre, script, and block/inline
+  <li>fixed some HTML serialization problems (pre, script, and block/inline
     handling), added encoding aware APIs, cleanup of this code</li>
-<li>added xmlHasNsProp()</li>
-<li>implemented a specific PI for encoding support in the DocBook SGML
+  <li>added xmlHasNsProp()</li>
+  <li>implemented a specific PI for encoding support in the DocBook SGML
     parser</li>
-<li>some XPath fixes (-Infinity, / as a function parameter and namespaces
+  <li>some XPath fixes (-Infinity, / as a function parameter and namespaces
     node selection)</li>
-<li>fixed a performance problem and an error in the validation code</li>
-<li>fixed XInclude routine to implement the recursive behaviour</li>
-<li>fixed xmlFreeNode problem when libxml is included statically twice</li>
-<li>added --version to xmllint for bug reports</li>
+  <li>fixed a performance problem and an error in the validation code</li>
+  <li>fixed XInclude routine to implement the recursive behaviour</li>
+  <li>fixed xmlFreeNode problem when libxml is included statically twice</li>
+  <li>added --version to xmllint for bug reports</li>
 </ul>
 <h3>2.3.10: June 1 2001</h3>
 <ul>
 <li>fixed the SGML catalog support</li>
-<li>a number of reported bugs got fixed, in XPath, iconv detection,
+  <li>a number of reported bugs got fixed, in XPath, iconv detection,
     XInclude processing</li>
-<li>XPath string function should now handle unicode correctly</li>
+  <li>XPath string function should now handle unicode correctly</li>
 </ul>
 <h3>2.3.9: May 19 2001</h3>
 <p>Lots of bugfixes, and added a basic SGML catalog support:</p>
 <ul>
 <li>HTML push bugfix #54891 and another patch from Jonas Borgström</li>
-<li>some serious speed optimization again</li>
-<li>some documentation cleanups</li>
-<li>trying to get better linking on Solaris (-R)</li>
-<li>XPath API cleanup from Thomas Broyer</li>
-<li>Validation bug fixed #54631, added a patch from Gary Pennington, fixed
+  <li>some serious speed optimization again</li>
+  <li>some documentation cleanups</li>
+  <li>trying to get better linking on Solaris (-R)</li>
+  <li>XPath API cleanup from Thomas Broyer</li>
+  <li>Validation bug fixed #54631, added a patch from Gary Pennington, fixed
     xmlValidGetValidElements()</li>
-<li>Added an INSTALL file</li>
-<li>Attribute removal added to API: #54433</li>
-<li>added a basic support for SGML catalogs</li>
-<li>fixed xmlKeepBlanksDefault(0) API</li>
-<li>bugfix in xmlNodeGetLang()</li>
-<li>fixed a small configure portability problem</li>
-<li>fixed an inversion of SYSTEM and PUBLIC identifier in HTML document</li>
+  <li>Added an INSTALL file</li>
+  <li>Attribute removal added to API: #54433</li>
+  <li>added a basic support for SGML catalogs</li>
+  <li>fixed xmlKeepBlanksDefault(0) API</li>
+  <li>bugfix in xmlNodeGetLang()</li>
+  <li>fixed a small configure portability problem</li>
+  <li>fixed an inversion of SYSTEM and PUBLIC identifier in HTML document</li>
 </ul>
 <h3>1.8.13: May 14 2001</h3>
-<ul><li>bugfixes release of the old libxml1 branch used by Gnome</li></ul>
+<ul>
+<li>bugfixes release of the old libxml1 branch used by Gnome</li>
+</ul>
 <h3>2.3.8: May 3 2001</h3>
 <ul>
 <li>Integrated an SGML DocBook parser for the Gnome project</li>
-<li>Fixed a few things in the HTML parser</li>
-<li>Fixed some XPath bugs raised by XSLT use, tried to fix the floating
+  <li>Fixed a few things in the HTML parser</li>
+  <li>Fixed some XPath bugs raised by XSLT use, tried to fix the floating
     point portability issue</li>
-<li>Speed improvement (8M/s for SAX, 3M/s for DOM, 1.5M/s for
+  <li>Speed improvement (8M/s for SAX, 3M/s for DOM, 1.5M/s for
     DOM+validation using the XML REC as input and a 700MHz celeron).</li>
-<li>incorporated more Windows cleanup</li>
-<li>added xmlSaveFormatFile()</li>
-<li>fixed problems in copying nodes with entities references (gdome)</li>
-<li>removed some troubles surrounding the new validation module</li>
+  <li>incorporated more Windows cleanup</li>
+  <li>added xmlSaveFormatFile()</li>
+  <li>fixed problems in copying nodes with entities references (gdome)</li>
+  <li>removed some troubles surrounding the new validation module</li>
 </ul>
 <h3>2.3.7: April 22 2001</h3>
 <ul>
 <li>lots of small bug fixes, corrected XPointer</li>
-<li>Non deterministic content model validation support</li>
-<li>added xmlDocCopyNode for gdome2</li>
-<li>revamped the way the HTML parser handles end of tags</li>
-<li>XPath: corrections of namespaces support and number formatting</li>
-<li>Windows: Igor Zlatkovic patches for MSC compilation</li>
-<li>HTML output fixes from P C Chow and William M. Brack</li>
-<li>Improved validation speed sensible for DocBook</li>
-<li>fixed a big bug with ID declared in external parsed entities</li>
-<li>portability fixes, update of Trio from Bjorn Reese</li>
+  <li>Non deterministic content model validation support</li>
+  <li>added xmlDocCopyNode for gdome2</li>
+  <li>revamped the way the HTML parser handles end of tags</li>
+  <li>XPath: corrections of namespaces support and number formatting</li>
+  <li>Windows: Igor Zlatkovic patches for MSC compilation</li>
+  <li>HTML output fixes from P C Chow and William M. Brack</li>
+  <li>Improved validation speed sensible for DocBook</li>
+  <li>fixed a big bug with ID declared in external parsed entities</li>
+  <li>portability fixes, update of Trio from Bjorn Reese</li>
 </ul>
 <h3>2.3.6: April 8 2001</h3>
 <ul>
 <li>Code cleanup using extreme gcc compiler warning options, found and
     cleared half a dozen potential problem</li>
-<li>the Eazel team found an XML parser bug</li>
-<li>cleaned up the user of some of the string formatting function. used the
+  <li>the Eazel team found an XML parser bug</li>
+  <li>cleaned up the user of some of the string formatting function. used the
     trio library code to provide the one needed when the platform is missing
     them</li>
-<li>xpath: removed a memory leak and fixed the predicate evaluation
+  <li>xpath: removed a memory leak and fixed the predicate evaluation
     problem, extended the testsuite and cleaned up the result. XPointer seems
     broken ...</li>
 </ul>
@@ -424,193 +430,197 @@
 <ul>
 <li>Biggest change is separate parsing and evaluation of XPath expressions,
     there is some new APIs for this too</li>
-<li>included a number of bug fixes(XML push parser, 51876, notations,
+  <li>included a number of bug fixes(XML push parser, 51876, notations,
   52299)</li>
-<li>Fixed some portability issues</li>
+  <li>Fixed some portability issues</li>
 </ul>
 <h3>2.3.4: Mar 10 2001</h3>
 <ul>
 <li>Fixed bugs #51860 and #51861</li>
-<li>Added a global variable xmlDefaultBufferSize to allow default buffer
+  <li>Added a global variable xmlDefaultBufferSize to allow default buffer
     size to be application tunable.</li>
-<li>Some cleanup in the validation code, still a bug left and this part
+  <li>Some cleanup in the validation code, still a bug left and this part
     should probably be rewritten to support ambiguous content model :-\</li>
-<li>Fix a couple of serious bugs introduced or raised by changes in 2.3.3
+  <li>Fix a couple of serious bugs introduced or raised by changes in 2.3.3
     parser</li>
-<li>Fixed another bug in xmlNodeGetContent()</li>
-<li>Bjorn fixed XPath node collection and Number formatting</li>
-<li>Fixed a loop reported in the HTML parsing</li>
-<li>blank space are reported even if the Dtd content model proves that they
+  <li>Fixed another bug in xmlNodeGetContent()</li>
+  <li>Bjorn fixed XPath node collection and Number formatting</li>
+  <li>Fixed a loop reported in the HTML parsing</li>
+  <li>blank space are reported even if the Dtd content model proves that they
     are formatting spaces, this is for XML conformance</li>
 </ul>
 <h3>2.3.3: Mar 1 2001</h3>
 <ul>
 <li>small change in XPath for XSLT</li>
-<li>documentation cleanups</li>
-<li>fix in validation by Gary Pennington</li>
-<li>serious parsing performances improvements</li>
+  <li>documentation cleanups</li>
+  <li>fix in validation by Gary Pennington</li>
+  <li>serious parsing performances improvements</li>
 </ul>
 <h3>2.3.2: Feb 24 2001</h3>
 <ul>
 <li>chasing XPath bugs, found a bunch, completed some TODO</li>
-<li>fixed a Dtd parsing bug</li>
-<li>fixed a bug in xmlNodeGetContent</li>
-<li>ID/IDREF support partly rewritten by Gary Pennington</li>
+  <li>fixed a Dtd parsing bug</li>
+  <li>fixed a bug in xmlNodeGetContent</li>
+  <li>ID/IDREF support partly rewritten by Gary Pennington</li>
 </ul>
 <h3>2.3.1: Feb 15 2001</h3>
 <ul>
 <li>some XPath and HTML bug fixes for XSLT</li>
-<li>small extension of the hash table interfaces for DOM gdome2
+  <li>small extension of the hash table interfaces for DOM gdome2
     implementation</li>
-<li>A few bug fixes</li>
+  <li>A few bug fixes</li>
 </ul>
 <h3>2.3.0: Feb 8 2001 (2.2.12 was on 25 Jan but I didn't kept track)</h3>
 <ul>
 <li>Lots of XPath bug fixes</li>
-<li>Add a mode with Dtd lookup but without validation error reporting for
+  <li>Add a mode with Dtd lookup but without validation error reporting for
     XSLT</li>
-<li>Add support for text node without escaping (XSLT)</li>
-<li>bug fixes for xmlCheckFilename</li>
-<li>validation code bug fixes from Gary Pennington</li>
-<li>Patch from Paul D. Smith correcting URI path normalization</li>
-<li>Patch to allow simultaneous install of libxml-devel and
+  <li>Add support for text node without escaping (XSLT)</li>
+  <li>bug fixes for xmlCheckFilename</li>
+  <li>validation code bug fixes from Gary Pennington</li>
+  <li>Patch from Paul D. Smith correcting URI path normalization</li>
+  <li>Patch to allow simultaneous install of libxml-devel and
   libxml2-devel</li>
-<li>the example Makefile is now fixed</li>
-<li>added HTML to the RPM packages</li>
-<li>tree copying bugfixes</li>
-<li>updates to Windows makefiles</li>
-<li>optimization patch from Bjorn Reese</li>
+  <li>the example Makefile is now fixed</li>
+  <li>added HTML to the RPM packages</li>
+  <li>tree copying bugfixes</li>
+  <li>updates to Windows makefiles</li>
+  <li>optimization patch from Bjorn Reese</li>
 </ul>
 <h3>2.2.11: Jan 4 2001</h3>
 <ul>
 <li>bunch of bug fixes (memory I/O, xpath, ftp/http, ...)</li>
-<li>added htmlHandleOmittedElem()</li>
-<li>Applied Bjorn Reese's IPV6 first patch</li>
-<li>Applied Paul D. Smith patches for validation of XInclude results</li>
-<li>added XPointer xmlns() new scheme support</li>
+  <li>added htmlHandleOmittedElem()</li>
+  <li>Applied Bjorn Reese's IPV6 first patch</li>
+  <li>Applied Paul D. Smith patches for validation of XInclude results</li>
+  <li>added XPointer xmlns() new scheme support</li>
 </ul>
 <h3>2.2.10: Nov 25 2000</h3>
 <ul>
 <li>Fix the Windows problems of 2.2.8</li>
-<li>integrate OpenVMS patches</li>
-<li>better handling of some nasty HTML input</li>
-<li>Improved the XPointer implementation</li>
-<li>integrate a number of provided patches</li>
+  <li>integrate OpenVMS patches</li>
+  <li>better handling of some nasty HTML input</li>
+  <li>Improved the XPointer implementation</li>
+  <li>integrate a number of provided patches</li>
 </ul>
 <h3>2.2.9: Nov 25 2000</h3>
-<ul><li>erroneous release :-(</li></ul>
+<ul>
+<li>erroneous release :-(</li>
+</ul>
 <h3>2.2.8: Nov 13 2000</h3>
 <ul>
 <li>First version of <a href="http://www.w3.org/TR/xinclude">XInclude</a>
     support</li>
-<li>Patch in conditional section handling</li>
-<li>updated MS compiler project</li>
-<li>fixed some XPath problems</li>
-<li>added an URI escaping function</li>
-<li>some other bug fixes</li>
+  <li>Patch in conditional section handling</li>
+  <li>updated MS compiler project</li>
+  <li>fixed some XPath problems</li>
+  <li>added an URI escaping function</li>
+  <li>some other bug fixes</li>
 </ul>
 <h3>2.2.7: Oct 31 2000</h3>
 <ul>
 <li>added message redirection</li>
-<li>XPath improvements (thanks TOM !)</li>
-<li>xmlIOParseDTD() added</li>
-<li>various small fixes in the HTML, URI, HTTP and XPointer support</li>
-<li>some cleanup of the Makefile, autoconf and the distribution content</li>
+  <li>XPath improvements (thanks TOM !)</li>
+  <li>xmlIOParseDTD() added</li>
+  <li>various small fixes in the HTML, URI, HTTP and XPointer support</li>
+  <li>some cleanup of the Makefile, autoconf and the distribution content</li>
 </ul>
 <h3>2.2.6: Oct 25 2000:</h3>
 <ul>
 <li>Added an hash table module, migrated a number of internal structure to
     those</li>
-<li>Fixed a posteriori validation problems</li>
-<li>HTTP module cleanups</li>
-<li>HTML parser improvements (tag errors, script/style handling, attribute
+  <li>Fixed a posteriori validation problems</li>
+  <li>HTTP module cleanups</li>
+  <li>HTML parser improvements (tag errors, script/style handling, attribute
     normalization)</li>
-<li>coalescing of adjacent text nodes</li>
-<li>couple of XPath bug fixes, exported the internal API</li>
+  <li>coalescing of adjacent text nodes</li>
+  <li>couple of XPath bug fixes, exported the internal API</li>
 </ul>
 <h3>2.2.5: Oct 15 2000:</h3>
 <ul>
 <li>XPointer implementation and testsuite</li>
-<li>Lot of XPath fixes, added variable and functions registration, more
+  <li>Lot of XPath fixes, added variable and functions registration, more
     tests</li>
-<li>Portability fixes, lots of enhancements toward an easy Windows build
+  <li>Portability fixes, lots of enhancements toward an easy Windows build
     and release</li>
-<li>Late validation fixes</li>
-<li>Integrated a lot of contributed patches</li>
-<li>added memory management docs</li>
-<li>a performance problem when using large buffer seems fixed</li>
+  <li>Late validation fixes</li>
+  <li>Integrated a lot of contributed patches</li>
+  <li>added memory management docs</li>
+  <li>a performance problem when using large buffer seems fixed</li>
 </ul>
 <h3>2.2.4: Oct 1 2000:</h3>
 <ul>
 <li>main XPath problem fixed</li>
-<li>Integrated portability patches for Windows</li>
-<li>Serious bug fixes on the URI and HTML code</li>
+  <li>Integrated portability patches for Windows</li>
+  <li>Serious bug fixes on the URI and HTML code</li>
 </ul>
 <h3>2.2.3: Sep 17 2000</h3>
 <ul>
 <li>bug fixes</li>
-<li>cleanup of entity handling code</li>
-<li>overall review of all loops in the parsers, all sprintf usage has been
+  <li>cleanup of entity handling code</li>
+  <li>overall review of all loops in the parsers, all sprintf usage has been
     checked too</li>
-<li>Far better handling of larges Dtd. Validating against DocBook XML Dtd
+  <li>Far better handling of larges Dtd. Validating against DocBook XML Dtd
     works smoothly now.</li>
 </ul>
 <h3>1.8.10: Sep 6 2000</h3>
-<ul><li>bug fix release for some Gnome projects</li></ul>
+<ul>
+<li>bug fix release for some Gnome projects</li>
+</ul>
 <h3>2.2.2: August 12 2000</h3>
 <ul>
 <li>mostly bug fixes</li>
-<li>started adding routines to access xml parser context options</li>
+  <li>started adding routines to access xml parser context options</li>
 </ul>
 <h3>2.2.1: July 21 2000</h3>
 <ul>
 <li>a purely bug fixes release</li>
-<li>fixed an encoding support problem when parsing from a memory block</li>
-<li>fixed a DOCTYPE parsing problem</li>
-<li>removed a bug in the function allowing to override the memory
+  <li>fixed an encoding support problem when parsing from a memory block</li>
+  <li>fixed a DOCTYPE parsing problem</li>
+  <li>removed a bug in the function allowing to override the memory
     allocation routines</li>
 </ul>
 <h3>2.2.0: July 14 2000</h3>
 <ul>
 <li>applied a lot of portability fixes</li>
-<li>better encoding support/cleanup and saving (content is now always
+  <li>better encoding support/cleanup and saving (content is now always
     encoded in UTF-8)</li>
-<li>the HTML parser now correctly handles encodings</li>
-<li>added xmlHasProp()</li>
-<li>fixed a serious problem with &amp;#38;</li>
-<li>propagated the fix to FTP client</li>
-<li>cleanup, bugfixes, etc ...</li>
-<li>Added a page about <a href="encoding.html">libxml Internationalization
+  <li>the HTML parser now correctly handles encodings</li>
+  <li>added xmlHasProp()</li>
+  <li>fixed a serious problem with &amp;#38;</li>
+  <li>propagated the fix to FTP client</li>
+  <li>cleanup, bugfixes, etc ...</li>
+  <li>Added a page about <a href="encoding.html">libxml Internationalization
     support</a>
 </li>
 </ul>
 <h3>1.8.9:  July 9 2000</h3>
 <ul>
 <li>fixed the spec the RPMs should be better</li>
-<li>fixed a serious bug in the FTP implementation, released 1.8.9 to solve
+  <li>fixed a serious bug in the FTP implementation, released 1.8.9 to solve
     rpmfind users problem</li>
 </ul>
 <h3>2.1.1: July 1 2000</h3>
 <ul>
 <li>fixes a couple of bugs in the 2.1.0 packaging</li>
-<li>improvements on the HTML parser</li>
+  <li>improvements on the HTML parser</li>
 </ul>
 <h3>2.1.0 and 1.8.8: June 29 2000</h3>
 <ul>
 <li>1.8.8 is mostly a commodity package for upgrading to libxml2 according
     to <a href="upgrade.html">new instructions</a>. It fixes a nasty problem
     about &amp;#38; charref parsing</li>
-<li>2.1.0 also ease the upgrade from libxml v1 to the recent version. it
+  <li>2.1.0 also ease the upgrade from libxml v1 to the recent version. it
     also contains numerous fixes and enhancements:
     <ul>
 <li>added xmlStopParser() to stop parsing</li>
-<li>improved a lot parsing speed when there is large CDATA blocs</li>
-<li>includes XPath patches provided by Picdar Technology</li>
-<li>tried to fix as much as possible DTD validation and namespace
+      <li>improved a lot parsing speed when there is large CDATA blocs</li>
+      <li>includes XPath patches provided by Picdar Technology</li>
+      <li>tried to fix as much as possible DTD validation and namespace
         related problems</li>
-<li>output to a given encoding has been added/tested</li>
-<li>lot of various fixes</li>
-</ul>
+      <li>output to a given encoding has been added/tested</li>
+      <li>lot of various fixes</li>
+    </ul>
 </li>
 </ul>
 <h3>2.0.0: Apr 12 2000</h3>
@@ -619,53 +629,53 @@
     idea to check the 1.x to 2.x upgrade instructions. NOTE: while initially
     scheduled for Apr 3 the release occurred only on Apr 12 due to massive
     workload.</li>
-<li>The include are now located under $prefix/include/libxml (instead of
+  <li>The include are now located under $prefix/include/libxml (instead of
     $prefix/include/gnome-xml), they also are referenced by
     <pre>#include &lt;libxml/xxx.h&gt;</pre>
-<p>instead of</p>
-<pre>#include &quot;xxx.h&quot;</pre>
-</li>
-<li>a new URI module for parsing URIs and following strictly RFC 2396</li>
-<li>the memory allocation routines used by libxml can now be overloaded
+    <p>instead of</p>
+    <pre>#include &quot;xxx.h&quot;</pre>
+  </li>
+  <li>a new URI module for parsing URIs and following strictly RFC 2396</li>
+  <li>the memory allocation routines used by libxml can now be overloaded
     dynamically by using xmlMemSetup()</li>
-<li>The previously CVS only tool tester has been renamed
+  <li>The previously CVS only tool tester has been renamed
     <strong>xmllint</strong> and is now installed as part of the libxml2
     package</li>
-<li>The I/O interface has been revamped. There is now ways to plug in
+  <li>The I/O interface has been revamped. There is now ways to plug in
     specific I/O modules, either at the URI scheme detection level using
     xmlRegisterInputCallbacks()  or by passing I/O functions when creating a
     parser context using xmlCreateIOParserCtxt()</li>
-<li>there is a C preprocessor macro LIBXML_VERSION providing the version
+  <li>there is a C preprocessor macro LIBXML_VERSION providing the version
     number of the libxml module in use</li>
-<li>a number of optional features of libxml can now be excluded at
+  <li>a number of optional features of libxml can now be excluded at
     configure time (FTP/HTTP/HTML/XPath/Debug)</li>
 </ul>
 <h3>2.0.0beta: Mar 14 2000</h3>
 <ul>
 <li>This is a first Beta release of libxml version 2</li>
-<li>It's available only from<a href="ftp://xmlsoft.org/">xmlsoft.org
+  <li>It's available only from<a href="ftp://xmlsoft.org/">xmlsoft.org
     FTP</a>, it's packaged as libxml2-2.0.0beta and available as tar and
   RPMs</li>
-<li>This version is now the head in the Gnome CVS base, the old one is
+  <li>This version is now the head in the Gnome CVS base, the old one is
     available under the tag LIB_XML_1_X</li>
-<li>This includes a very large set of changes. From a  programmatic point
+  <li>This includes a very large set of changes. From a  programmatic point
     of view applications should not have to be modified too much, check the
     <a href="upgrade.html">upgrade page</a>
 </li>
-<li>Some interfaces may changes (especially a bit about encoding).</li>
-<li>the updates includes:
+  <li>Some interfaces may changes (especially a bit about encoding).</li>
+  <li>the updates includes:
     <ul>
 <li>fix I18N support. ISO-Latin-x/UTF-8/UTF-16 (nearly) seems correctly
         handled now</li>
-<li>Better handling of entities, especially well-formedness checking
+      <li>Better handling of entities, especially well-formedness checking
         and proper PEref extensions in external subsets</li>
-<li>DTD conditional sections</li>
-<li>Validation now correctly handle entities content</li>
-<li><a href="http://rpmfind.net/tools/gdome/messages/0039.html">change
+      <li>DTD conditional sections</li>
+      <li>Validation now correctly handle entities content</li>
+      <li><a href="http://rpmfind.net/tools/gdome/messages/0039.html">change
         structures to accommodate DOM</a></li>
-</ul>
+    </ul>
 </li>
-<li>Serious progress were made toward compliance, <a href="conf/result.html">here are the result of the test</a> against the
+  <li>Serious progress were made toward compliance, <a href="conf/result.html">here are the result of the test</a> against the
     OASIS testsuite (except the Japanese tests since I don't support that
     encoding yet). This URL is rebuilt every couple of hours using the CVS
     head version.</li>
@@ -673,94 +683,96 @@
 <h3>1.8.7: Mar 6 2000</h3>
 <ul>
 <li>This is a bug fix release:</li>
-<li>It is possible to disable the ignorable blanks heuristic used by
+  <li>It is possible to disable the ignorable blanks heuristic used by
     libxml-1.x, a new function  xmlKeepBlanksDefault(0) will allow this. Note
     that for adherence to XML spec, this behaviour will be disabled by
     default in 2.x . The same function will allow to keep compatibility for
     old code.</li>
-<li>Blanks in &lt;a&gt;  &lt;/a&gt; constructs are not ignored anymore,
+  <li>Blanks in &lt;a&gt;  &lt;/a&gt; constructs are not ignored anymore,
     avoiding heuristic is really the Right Way :-\</li>
-<li>The unchecked use of snprintf which was breaking libxml-1.8.6
+  <li>The unchecked use of snprintf which was breaking libxml-1.8.6
     compilation on some platforms has been fixed</li>
-<li>nanoftp.c nanohttp.c: Fixed '#' and '?' stripping when processing
+  <li>nanoftp.c nanohttp.c: Fixed '#' and '?' stripping when processing
   URIs</li>
 </ul>
 <h3>1.8.6: Jan 31 2000</h3>
-<ul><li>added a nanoFTP transport module, debugged until the new version of <a href="http://rpmfind.net/linux/rpm2html/rpmfind.html">rpmfind</a> can use
-    it without troubles</li></ul>
+<ul>
+<li>added a nanoFTP transport module, debugged until the new version of <a href="http://rpmfind.net/linux/rpm2html/rpmfind.html">rpmfind</a> can use
+    it without troubles</li>
+</ul>
 <h3>1.8.5: Jan 21 2000</h3>
 <ul>
 <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>
-<li>fixed a hideous bug in xmlGetProp pointed by Rune.Djurhuus@fast.no</li>
-<li>Jody Goldberg &lt;jgoldberg@home.com&gt; provided another patch trying
+  <li>fixed a hideous bug in xmlGetProp pointed by Rune.Djurhuus@fast.no</li>
+  <li>Jody Goldberg &lt;jgoldberg@home.com&gt; provided another patch trying
     to solve the zlib checks problems</li>
-<li>The current state in gnome CVS base is expected to ship as 1.8.5 with
+  <li>The current state in gnome CVS base is expected to ship as 1.8.5 with
     gnumeric soon</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>
+  <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>
 <ul>
 <li>a Push interface for the XML and HTML parsers</li>
-<li>a shell-like interface to the document tree (try tester --shell :-)</li>
-<li>lots of bug fixes and improvement added over XMas holidays</li>
-<li>fixed the DTD parsing code to work with the xhtml DTD</li>
-<li>added xmlRemoveProp(), xmlRemoveID() and xmlRemoveRef()</li>
-<li>Fixed bugs in xmlNewNs()</li>
-<li>External entity loading code has been revamped, now it uses
+  <li>a shell-like interface to the document tree (try tester --shell :-)</li>
+  <li>lots of bug fixes and improvement added over XMas holidays</li>
+  <li>fixed the DTD parsing code to work with the xhtml DTD</li>
+  <li>added xmlRemoveProp(), xmlRemoveID() and xmlRemoveRef()</li>
+  <li>Fixed bugs in xmlNewNs()</li>
+  <li>External entity loading code has been revamped, now it uses
     xmlLoadExternalEntity(), some fix on entities processing were added</li>
-<li>cleaned up WIN32 includes of socket stuff</li>
+  <li>cleaned up WIN32 includes of socket stuff</li>
 </ul>
 <h3>1.8.2: Dec 21 1999</h3>
 <ul>
 <li>I got another problem with includes and C++, I hope this issue is fixed
     for good this time</li>
-<li>Added a few tree modification functions: xmlReplaceNode,
+  <li>Added a few tree modification functions: xmlReplaceNode,
     xmlAddPrevSibling, xmlAddNextSibling, xmlNodeSetName and
     xmlDocSetRootElement</li>
-<li>Tried to improve the HTML output with help from <a href="mailto:clahey@umich.edu">Chris Lahey</a>
+  <li>Tried to improve the HTML output with help from <a href="mailto:clahey@umich.edu">Chris Lahey</a>
 </li>
 </ul>
 <h3>1.8.1: Dec 18 1999</h3>
 <ul>
 <li>various patches to avoid troubles when using libxml with C++ compilers
     the &quot;namespace&quot; keyword and C escaping in include files</li>
-<li>a problem in one of the core macros IS_CHAR was corrected</li>
-<li>fixed a bug introduced in 1.8.0 breaking default namespace processing,
+  <li>a problem in one of the core macros IS_CHAR was corrected</li>
+  <li>fixed a bug introduced in 1.8.0 breaking default namespace processing,
     and more specifically the Dia application</li>
-<li>fixed a posteriori validation (validation after parsing, or by using a
+  <li>fixed a posteriori validation (validation after parsing, or by using a
     Dtd not specified in the original document)</li>
-<li>fixed a bug in</li>
+  <li>fixed a bug in</li>
 </ul>
 <h3>1.8.0: Dec 12 1999</h3>
 <ul>
 <li>cleanup, especially memory wise</li>
-<li>the parser should be more reliable, especially the HTML one, it should
+  <li>the parser should be more reliable, especially the HTML one, it should
     not crash, whatever the input !</li>
-<li>Integrated various patches, especially a speedup improvement for large
+  <li>Integrated various patches, especially a speedup improvement for large
     dataset from <a href="mailto:cnygard@bellatlantic.net">Carl Nygard</a>,
     configure with --with-buffers to enable them.</li>
-<li>attribute normalization, oops should have been added long ago !</li>
-<li>attributes defaulted from DTDs should be available, xmlSetProp() now
+  <li>attribute normalization, oops should have been added long ago !</li>
+  <li>attributes defaulted from DTDs should be available, xmlSetProp() now
     does entities escaping by default.</li>
 </ul>
 <h3>1.7.4: Oct 25 1999</h3>
 <ul>
 <li>Lots of HTML improvement</li>
-<li>Fixed some errors when saving both XML and HTML</li>
-<li>More examples, the regression tests should now look clean</li>
-<li>Fixed a bug with contiguous charref</li>
+  <li>Fixed some errors when saving both XML and HTML</li>
+  <li>More examples, the regression tests should now look clean</li>
+  <li>Fixed a bug with contiguous charref</li>
 </ul>
 <h3>1.7.3: Sep 29 1999</h3>
 <ul>
 <li>portability problems fixed</li>
-<li>snprintf was used unconditionally, leading to link problems on system
+  <li>snprintf was used unconditionally, leading to link problems on system
     were it's not available, fixed</li>
 </ul>
 <h3>1.7.1: Sep 24 1999</h3>
@@ -770,19 +782,19 @@
     is that CHAR was conflicting with a predefined type on Windows. However
     on non WIN32 environment, compatibility is provided by the way of  a
     <strong>#define </strong>.</li>
-<li>Changed another error : the use of a structure field called errno, and
+  <li>Changed another error : the use of a structure field called errno, and
     leading to troubles on platforms where it's a macro</li>
 </ul>
 <h3>1.7.0: Sep 23 1999</h3>
 <ul>
 <li>Added the ability to fetch remote DTD or parsed entities, see the <a href="html/libxml-nanohttp.html">nanohttp</a> module.</li>
-<li>Added an errno to report errors by another mean than a simple printf
+  <li>Added an errno to report errors by another mean than a simple printf
     like callback</li>
-<li>Finished ID/IDREF support and checking when validation</li>
-<li>Serious memory leaks fixed (there is now a <a href="html/libxml-xmlmemory.html">memory wrapper</a> module)</li>
-<li>Improvement of <a href="http://www.w3.org/TR/xpath">XPath</a>
+  <li>Finished ID/IDREF support and checking when validation</li>
+  <li>Serious memory leaks fixed (there is now a <a href="html/libxml-xmlmemory.html">memory wrapper</a> module)</li>
+  <li>Improvement of <a href="http://www.w3.org/TR/xpath">XPath</a>
     implementation</li>
-<li>Added an HTML parser front-end</li>
+  <li>Added an HTML parser front-end</li>
 </ul>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
diff --git a/doc/python.html b/doc/python.html
index 9f21020..8507d84 100644
--- a/doc/python.html
+++ b/doc/python.html
@@ -87,7 +87,7 @@
 </table>
 </td></tr></table></td>
 <td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
-<p>There is a number of language bindings and wrappers available for libxml2,
+<p>There are a number of language bindings and wrappers available for libxml2,
 the list below is not exhaustive. Please contact the <a href="http://mail.gnome.org/mailman/listinfo/xml-bindings">xml-bindings@gnome.org</a>
 (<a href="http://mail.gnome.org/archives/xml-bindings/">archives</a>) in
 order to get updates to this list or to discuss the specific topic of libxml2
@@ -96,38 +96,35 @@
 <li>
 <a href="mailto:ari@lusis.org">Ari Johnson</a> provides a  C++ wrapper
     for libxml:<br>
-    Website: <a href="http://lusis.org/~ari/xml++/">http://lusis.org/~ari/xml++/</a><br>
-    Download: <a href="http://lusis.org/~ari/xml++/libxml++.tar.gz">http://lusis.org/~ari/xml++/libxml++.tar.gz</a>
+    Website: <a href="http://lusis.org/~ari/xml%2B%2B/">http://lusis.org/~ari/xml++/</a><br>
+    Download: <a href="http://lusis.org/~ari/xml%2B%2B/libxml%2B%2B.tar.gz">http://lusis.org/~ari/xml++/libxml++.tar.gz</a>
 </li>
-<li>There is another <a href="http://libgdome-cpp.berlios.de/">C++ wrapper
-    based on the gdome2 </a>bindings maintained by Tobias Peters.</li>
-<li>and a third C++ wrapper by Peter Jones &lt;pjones@pmade.org&gt;
+  <li>There is another <a href="http://libgdome-cpp.berlios.de/">C++ wrapper
+    based on the gdome2 bindings</a> maintained by Tobias Peters.</li>
+  <li>and a third C++ wrapper by Peter Jones &lt;pjones@pmade.org&gt;
     <p>Website: <a href="http://pmade.org/pjones/software/xmlwrapp/">http://pmade.org/pjones/software/xmlwrapp/</a>
 </p>
-</li>
-<li>
+  </li>
+  <li>
 <a href="http://mail.gnome.org/archives/xml/2001-March/msg00014.html">Matt
     Sergeant</a> developed <a href="http://axkit.org/download/">XML::LibXSLT</a>, a Perl wrapper for
     libxml2/libxslt as part of the <a href="http://axkit.com/">AxKit XML
-    application server</a>
-</li>
-<li>
+    application server</a>.</li>
+  <li>
 <a href="mailto:dkuhlman@cutter.rexx.com">Dave Kuhlman</a> provides an
-    earlier version of the libxml/libxslt <a href="http://www.rexx.com/~dkuhlman">wrappers for Python</a>
-</li>
-<li>Gopal.V and Peter Minten develop <a href="http://savannah.gnu.org/projects/libxmlsharp">libxml#</a>, a set of
-    C# libxml2 bindings</li>
-<li>Petr Kozelka provides <a href="http://sourceforge.net/projects/libxml2-pas">Pascal units to glue
-    libxml2</a> with Kylix, Delphi and other Pascal compilers</li>
-<li>Uwe Fechner also provides <a href="http://sourceforge.net/projects/idom2-pas/">idom2</a>, a DOM2
-    implementation for Kylix2/D5/D6 from Borland</li>
-<li>Wai-Sun &quot;Squidster&quot; Chia provides <a href="http://www.rubycolor.org/arc/redist/">bindings for Ruby</a>  and
+    earlier version of the libxml/libxslt <a href="http://www.rexx.com/~dkuhlman">wrappers for Python</a>.</li>
+  <li>Gopal.V and Peter Minten develop <a href="http://savannah.gnu.org/projects/libxmlsharp">libxml#</a>, a set of
+    C# libxml2 bindings.</li>
+  <li>Petr Kozelka provides <a href="http://sourceforge.net/projects/libxml2-pas">Pascal units to glue
+    libxml2</a> with Kylix, Delphi and other Pascal compilers.</li>
+  <li>Uwe Fechner also provides <a href="http://sourceforge.net/projects/idom2-pas/">idom2</a>, a DOM2
+    implementation for Kylix2/D5/D6 from Borland.</li>
+  <li>Wai-Sun &quot;Squidster&quot; Chia provides <a href="http://www.rubycolor.org/arc/redist/">bindings for Ruby</a>  and
     libxml2 bindings are also available in Ruby through the <a href="http://libgdome-ruby.berlios.de/">libgdome-ruby</a> module
     maintained by Tobias Peters.</li>
-<li>Steve Ball and contributors maintains <a href="http://tclxml.sourceforge.net/">libxml2 and libxslt bindings for
-    Tcl</a>
-</li>
-<li>There is support for libxml2 in the DOM module of PHP.</li>
+  <li>Steve Ball and contributors maintains <a href="http://tclxml.sourceforge.net/">libxml2 and libxslt bindings for
+    Tcl</a>.</li>
+  <li>There is support for libxml2 in the DOM module of PHP.</li>
 </ul>
 <p>The distribution includes a set of Python bindings, which are guaranteed
 to be maintained as part of the library in the future, though the Python
@@ -137,7 +134,7 @@
 <li>If you use an RPM based distribution, simply install the <a href="http://rpmfind.net/linux/rpm2html/search.php?query=libxml2-python">libxml2-python
     RPM</a> (and if needed the <a href="http://rpmfind.net/linux/rpm2html/search.php?query=libxslt-python">libxslt-python
     RPM</a>).</li>
-<li>Otherwise use the <a href="ftp://xmlsoft.org/python/">libxml2-python
+  <li>Otherwise use the <a href="ftp://xmlsoft.org/python/">libxml2-python
     module distribution</a> corresponding to your installed version of
     libxml2 and libxslt. Note that to install it you will need both libxml2
     and libxslt installed and run &quot;python setup.py build install&quot; in the
@@ -145,7 +142,7 @@
 </ul>
 <p>The distribution includes a set of examples and regression tests for the
 python bindings in the <code>python/tests</code> directory. Here are some
-excepts from those tests:</p>
+excerpts from those tests:</p>
 <h3>tst.py:</h3>
 <p>This is a basic test of the file interface and DOM navigation:</p>
 <pre>import libxml2
@@ -163,19 +160,19 @@
     print &quot;child.name failed&quot;
     sys.exit(1)
 doc.freeDoc()</pre>
-<p>The Python module is called libxml2, parseFile is the equivalent of
+<p>The Python module is called libxml2; parseFile is the equivalent of
 xmlParseFile (most of the bindings are automatically generated, and the xml
 prefix is removed and the casing convention are kept). All node seen at the
 binding level share the same subset of accessors:</p>
 <ul>
 <li>
 <code>name</code> : returns the node name</li>
-<li>
+  <li>
 <code>type</code> : returns a string indicating the node type</li>
-<li>
+  <li>
 <code>content</code> : returns the content of the node, it is based on
     xmlNodeGetContent() and hence is recursive.</li>
-<li>
+  <li>
 <code>parent</code> , <code>children</code>, <code>last</code>,
     <code>next</code>, <code>prev</code>, <code>doc</code>,
     <code>properties</code>: pointing to the associated element in the tree,
diff --git a/doc/threads.html b/doc/threads.html
index 9aa55c0..eba4457 100644
--- a/doc/threads.html
+++ b/doc/threads.html
@@ -92,7 +92,7 @@
 however a couple of things to do to ensure it:</p>
 <ul>
 <li>configure the library accordingly using the --with-threads options</li>
-<li>call xmlInitParser() in the &quot;main&quot; thread before using any of the
+  <li>call xmlInitParser() in the &quot;main&quot; thread before using any of the
     libxml API (except possibly selecting a different memory allocator)</li>
 </ul>
 <p>Note that the thread safety cannot be ensured for multiple threads sharing
@@ -101,13 +101,13 @@
 The parts of the library checked for thread safety are:</p>
 <ul>
 <li>concurrent loading</li>
-<li>file access resolution</li>
-<li>catalog access</li>
-<li>catalog building</li>
-<li>entities lookup/accesses</li>
-<li>validation</li>
-<li>global variables per-thread override</li>
-<li>memory handling</li>
+  <li>file access resolution</li>
+  <li>catalog access</li>
+  <li>catalog building</li>
+  <li>entities lookup/accesses</li>
+  <li>validation</li>
+  <li>global variables per-thread override</li>
+  <li>memory handling</li>
 </ul>
 <p>XPath is supposed to be thread safe now, but this wasn't tested
 seriously.</p>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 8d50489..79ae30a 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -94,10 +94,10 @@
 <li>a general cleanup. A number of mistakes inherited from the very early
     versions couldn't be changed due to compatibility constraints. Example
     the &quot;childs&quot; element in the nodes.</li>
-<li>Uniformization of the various nodes, at least for their header and link
+  <li>Uniformization of the various nodes, at least for their header and link
     parts (doc, parent, children, prev, next), the goal is a simpler
     programming model and simplifying the task of the DOM implementors.</li>
-<li>better conformances to the XML specification, for example version 1.x
+  <li>better conformances to the XML specification, for example version 1.x
     had an heuristic to try to detect ignorable white spaces. As a result the
     SAX event generated were ignorableWhitespace() while the spec requires
     character() in that case. This also mean that a number of DOM node
@@ -108,16 +108,16 @@
 <p>So client code of libxml designed to run with version 1.x may have to be
 changed to compile against version 2.x of libxml. Here is a list of changes
 that I have collected, they may not be sufficient, so in case you find other
-change which are required, <a href="mailto:Daniel.Ïeillardw3.org">drop me a
+change which are required, <a href="mailto:Daniel.%C3%8Feillardw3.org">drop me a
 mail</a>:</p>
 <ol>
 <li>The package name have changed from libxml to libxml2, the library name
     is now -lxml2 . There is a new xml2-config script which should be used to
     select the right parameters libxml2</li>
-<li>Node <strong>childs</strong> field has been renamed
+  <li>Node <strong>childs</strong> field has been renamed
     <strong>children</strong> so s/childs/children/g should be  applied
     (probability of having &quot;childs&quot; anywhere else is close to 0+</li>
-<li>The document don't have anymore a <strong>root</strong> element it has
+  <li>The document don't have anymore a <strong>root</strong> element it has
     been replaced by <strong>children</strong> and usually you will get a
     list of element here. For example a Dtd element for the internal subset
     and it's declaration may be found in that list, as well as processing
@@ -126,7 +126,7 @@
     a document. Alternatively if you are sure to not reference DTDs nor have
     PIs or comments before or after the root element
     s/-&gt;root/-&gt;children/g will probably do it.</li>
-<li>The white space issue, this one is more complex, unless special case of
+  <li>The white space issue, this one is more complex, unless special case of
     validating parsing, the line breaks and spaces usually used for indenting
     and formatting the document content becomes significant. So they are
     reported by SAX and if your using the DOM tree, corresponding nodes are
@@ -137,25 +137,25 @@
         relying on a special (and possibly broken) set of heuristics of
         libxml to detect ignorable blanks. Don't complain if it breaks or
         make your application not 100% clean w.r.t. to it's input.</li>
-<li>the Right Way: change you code to accept possibly insignificant
+      <li>the Right Way: change you code to accept possibly insignificant
         blanks characters, or have your tree populated with weird blank text
         nodes. You can spot them using the commodity function
         <strong>xmlIsBlankNode(node)</strong> returning 1 for such blank
         nodes.</li>
-</ol>
+    </ol>
 <p>Note also that with the new default the output functions don't add any
     extra indentation when saving a tree in order to be able to round trip
     (read and save) without inflating the document with extra formatting
     chars.</p>
-</li>
-<li>The include path has changed to $prefix/libxml/ and the includes
+  </li>
+  <li>The include path has changed to $prefix/libxml/ and the includes
     themselves uses this new prefix in includes instructions... If you are
     using (as expected) the
     <pre>xml2-config --cflags</pre>
-<p>output to generate you compile commands this will probably work out of
+    <p>output to generate you compile commands this will probably work out of
     the box</p>
-</li>
-<li>xmlDetectCharEncoding takes an extra argument indicating the length in
+  </li>
+  <li>xmlDetectCharEncoding takes an extra argument indicating the length in
     byte of the head of the document available for character detection.</li>
 </ol>
 <h3>Ensuring both libxml-1.x and libxml-2.x compatibility</h3>
@@ -165,35 +165,35 @@
 <ol>
 <li>similar include naming, one should use
     <strong>#include&lt;libxml/...&gt;</strong> in both cases.</li>
-<li>similar identifiers defined via macros for the child and root fields:
+  <li>similar identifiers defined via macros for the child and root fields:
     respectively <strong>xmlChildrenNode</strong> and
     <strong>xmlRootNode</strong>
 </li>
-<li>a new macro <strong>LIBXML_TEST_VERSION</strong> which should be
+  <li>a new macro <strong>LIBXML_TEST_VERSION</strong> which should be
     inserted once in the client code</li>
 </ol>
 <p>So the roadmap to upgrade your existing libxml applications is the
 following:</p>
 <ol>
 <li>install the  libxml-1.8.8 (and libxml-devel-1.8.8) packages</li>
-<li>find all occurrences where the xmlDoc <strong>root</strong> field is
+  <li>find all occurrences where the xmlDoc <strong>root</strong> field is
     used and change it to <strong>xmlRootNode</strong>
 </li>
-<li>similarly find all occurrences where the xmlNode
+  <li>similarly find all occurrences where the xmlNode
     <strong>childs</strong> field is used and change it to
     <strong>xmlChildrenNode</strong>
 </li>
-<li>add a <strong>LIBXML_TEST_VERSION</strong> macro somewhere in your
+  <li>add a <strong>LIBXML_TEST_VERSION</strong> macro somewhere in your
     <strong>main()</strong> or in the library init entry point</li>
-<li>Recompile, check compatibility, it should still work</li>
-<li>Change your configure script to look first for xml2-config and fall
+  <li>Recompile, check compatibility, it should still work</li>
+  <li>Change your configure script to look first for xml2-config and fall
     back using xml-config . Use the --cflags and --libs output of the command
     as the Include and Linking parameters needed to use libxml.</li>
-<li>install libxml2-2.3.x and  libxml2-devel-2.3.x (libxml-1.8.y and
+  <li>install libxml2-2.3.x and  libxml2-devel-2.3.x (libxml-1.8.y and
     libxml-devel-1.8.y can be kept simultaneously)</li>
-<li>remove your config.cache, relaunch your configuration mechanism, and
+  <li>remove your config.cache, relaunch your configuration mechanism, and
     recompile, if steps 2 and 3 were done right it should compile as-is</li>
-<li>Test that your application is still running correctly, if not this may
+  <li>Test that your application is still running correctly, if not this may
     be due to extra empty nodes due to formating spaces being kept in libxml2
     contrary to libxml1, in that case insert xmlKeepBlanksDefault(1) in your
     code before calling the parser (next to
diff --git a/doc/xml.html b/doc/xml.html
index 8aee95e..4002ccc 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -20,9 +20,9 @@
 <p>Libxml is the XML C library developed for the Gnome project.  XML itself
 is a metalanguage to design markup languages, i.e. text language where
 semantic and structure are added to the content using extra "markup"
-information enclosed between angle bracket. HTML is the most well-known
+information enclosed between angle brackets. HTML is the most well-known
 markup language. Though the library is written in C <a href="python.html">a
-variety of language binding</a> makes it available in other environments.</p>
+variety of language bindings</a> make it available in other environments.</p>
 
 <p>Libxml2 implements a number of existing standards related to markup
 languages:</p>
@@ -58,16 +58,16 @@
 </ul>
 
 <p>In most cases libxml tries to implement the specifications in a relatively
-strict way. As of release 2.4.16, libxml2 passes all 1800+ tests from the <a
+strictly compliant way. As of release 2.4.16, libxml2 passes all 1800+ tests from the <a
 href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
 Suite</a>.</p>
 
-<p>To some extent libxml2 provide some support for the following other
-specification but don't claim to implement them:</p>
+<p>To some extent libxml2 provides support for the following additional
+specifications but doesn't claim to implement them completely:</p>
 <ul>
   <li>Document Object Model (DOM) <a
     href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>
-    it doesn't implement the API itself, gdome2 does this in top of
+    it doesn't implement the API itself, gdome2 does this on top of
   libxml2</li>
   <li><a href="http://www.cis.ohio-state.edu/rfc/rfc959.txt">RFC 959</a> :
     libxml implements a basic FTP client code</li>
@@ -84,7 +84,7 @@
 
 <p>Libxml2 is known to be very portable, the library should build and work
 without serious troubles on a variety of systems (Linux, Unix, Windows,
-CygWin, MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)</p>
+CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)</p>
 
 <p>Separate documents:</p>
 <ul>
@@ -122,7 +122,7 @@
     sticking closely to ANSI C/POSIX for easy embedding. Works on
     Linux/Unix/Windows, ported to a number of other platforms.</li>
   <li>Basic support for HTTP and FTP client allowing applications to fetch
-    remote resources</li>
+    remote resources.</li>
   <li>The design is modular, most of the extensions can be compiled out.</li>
   <li>The internal document representation is as close as possible to the <a
     href="http://www.w3.org/DOM/">DOM</a> interfaces.</li>
@@ -131,7 +131,7 @@
     href="http://www.jclark.com/xml/expat.html">Expat</a>.</li>
   <li>This library is released under the <a
     href="http://www.opensource.org/licenses/mit-license.html">MIT
-    License</a> see the Copyright file in the distribution for the precise
+    License</a>. See the Copyright file in the distribution for the precise
     wording.</li>
 </ul>
 
@@ -142,7 +142,7 @@
 
 <h2><a name="FAQ">FAQ</a></h2>
 
-<p>Table of Content:</p>
+<p>Table of Contents:</p>
 <ul>
   <li><a href="FAQ.html#License">License(s)</a></li>
   <li><a href="FAQ.html#Installati">Installation</a></li>
@@ -155,14 +155,14 @@
   <li><em>Licensing Terms for libxml</em>
     <p>libxml is released under the <a
     href="http://www.opensource.org/licenses/mit-license.html">MIT
-    License</a>, see the file Copyright in the distribution for the precise
+    License</a>; see the file Copyright in the distribution for the precise
     wording</p>
   </li>
   <li><em>Can I embed libxml in a proprietary application ?</em>
-    <p>Yes. The MIT License allows you to also keep proprietary the changes
-    you made to libxml, but it would be graceful to provide back bug fixes
+    <p>Yes. The MIT License allows you to keep proprietary the changes
+    you made to libxml, but it would be graceful to send-back bug fixes
     and improvements as patches for possible incorporation in the main
-    development tree</p>
+    development tree.</p>
   </li>
 </ol>
 
@@ -176,19 +176,19 @@
     href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> or <a
     href="ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/">gnome.org</a></p>
     <p>Most Linux and BSD distributions include libxml, this is probably the
-    safer way for end-users</p>
+    safer way for end-users to use libxml.</p>
     <p>David Doolin provides precompiled Windows versions at <a
     href="http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/         ">http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/</a></p>
   </li>
   <li><em>I see libxml and libxml2 releases, which one should I install ?</em>
     <ul>
-      <li>If you are not concerned by any existing backward compatibility
-        with existing application, install libxml2 only</li>
+      <li>If you are not constrained by backward compatibility issues
+        with existing applications, install libxml2 only</li>
       <li>If you are not doing development, you can safely install both.
-        usually the packages <a
+        Usually the packages <a
         href="http://rpmfind.net/linux/RPM/libxml.html">libxml</a> and <a
         href="http://rpmfind.net/linux/RPM/libxml2.html">libxml2</a> are
-        compatible (this is not the case for development packages)</li>
+        compatible (this is not the case for development packages).</li>
       <li>If you are a developer and your system provides separate packaging
         for shared libraries and the development components, it is possible
         to install libxml and libxml2, and also <a
@@ -200,20 +200,20 @@
         libxml2(-devel)</li>
     </ul>
   </li>
-  <li><em>I can't install the libxml package it conflicts with libxml0</em>
+  <li><em>I can't install the libxml package, it conflicts with libxml0</em>
     <p>You probably have an old libxml0 package used to provide the shared
-    library for libxml.so.0, you can probably safely remove it. Anyway the
+    library for libxml.so.0, you can probably safely remove it. The
     libxml packages provided on <a
-    href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> provides
+    href="ftp://rpmfind.net/pub/libxml/">rpmfind.net</a> provide
     libxml.so.0</p>
   </li>
   <li><em>I can't install the libxml(2) RPM package due to failed
     dependencies</em>
     <p>The most generic solution is to re-fetch the latest src.rpm , and
     rebuild it locally with</p>
-    <p><code>rpm --rebuild libxml(2)-xxx.src.rpm</code></p>
-    <p>if everything goes well it will generate two binary rpm (one providing
-    the shared libs and xmllint, and the other one, the -devel package
+    <p><code>rpm --rebuild libxml(2)-xxx.src.rpm</code>.</p>
+    <p>If everything goes well it will generate two binary rpm packages (one providing
+    the shared libs and xmllint, and the other one, the -devel package,
     providing includes, static libraries and scripts needed to build
     applications with libxml(2)) that you can install locally.</p>
   </li>
@@ -230,21 +230,21 @@
     <p><code>./configure [possible options]</code></p>
     <p><code>make</code></p>
     <p><code>make install</code></p>
-    <p>At that point you may have to rerun ldconfig or similar utility to
+    <p>At that point you may have to rerun ldconfig or a similar utility to
     update your list of installed shared libs.</p>
   </li>
   <li><em>What other libraries are needed to compile/install libxml ?</em>
-    <p>Libxml does not requires any other library, the normal C ANSI API
+    <p>Libxml does not require any other library, the normal C ANSI API
     should be sufficient (please report any violation to this rule you may
     find).</p>
     <p>However if found at configuration time libxml will detect and use the
     following libs:</p>
     <ul>
       <li><a href="http://www.info-zip.org/pub/infozip/zlib/">libz</a> : a
-        highly portable and available widely compression library</li>
-      <li>iconv: a powerful character encoding conversion library. It's
-        included by default on recent glibc libraries, so it doesn't need to
-        be installed specifically on Linux. It seems it's now <a
+        highly portable and available widely compression library.</li>
+      <li>iconv: a powerful character encoding conversion library. It is
+        included by default in recent glibc libraries, so it doesn't need to
+        be installed specifically on Linux. It now seems a <a
         href="http://www.opennc.org/onlinepubs/7908799/xsh/iconv.html">part
         of the official UNIX</a> specification. Here is one <a
         href="http://clisp.cons.org/~haible/packages-libiconv.html">implementation
@@ -252,40 +252,40 @@
         href="ftp://ftp.ilog.fr/pub/Users/haible/gnu/">here</a>.</li>
     </ul>
   </li>
-  <li><em>make check fails on some platforms</em>
-    <p>Sometime the regression tests results don't completely match the value
+  <li><em>Make check fails on some platforms</em>
+    <p>Sometimes the regression tests' results don't completely match the value
     produced by the parser, and the makefile uses diff to print the delta. On
-    some platforms the diff return breaks the compilation process, if the
+    some platforms the diff return breaks the compilation process; if the
     diff is small this is probably not a serious problem.</p>
-    <p>Sometimes (especially on Solaris) make checks fails due to limitations
+    <p>Sometimes (especially on Solaris) make checks fail due to limitations
     in make. Try using GNU-make instead.</p>
   </li>
   <li><em>I use the CVS version and there is no configure script</em>
-    <p>The configure (and other Makefiles) are generated. Use the autogen.sh
-    script to regenerate the configure and Makefiles, like:</p>
+    <p>The configure script (and other Makefiles) are generated. Use the autogen.sh
+    script to regenerate the configure script and Makefiles, like:</p>
     <p><code>./autogen.sh --prefix=/usr --disable-shared</code></p>
   </li>
   <li><em>I have troubles when running make tests with gcc-3.0</em>
     <p>It seems the initial release of gcc-3.0 has a problem with the
     optimizer which miscompiles the URI module. Please use another
-    compiler</p>
+    compiler.</p>
   </li>
 </ol>
 
 <h3><a name="Developer">Developer</a> corner</h3>
 <ol>
-  <li><em>xmlDocDump() generates output on one line</em>
-    <p>libxml will not <strong>invent</strong> spaces in the content of a
+  <li><em>xmlDocDump() generates output on one line.</em>
+    <p>Libxml will not <strong>invent</strong> spaces in the content of a
     document since <strong>all spaces in the content of a document are
     significant</strong>. If you build a tree from the API and want
     indentation:</p>
     <ol>
-      <li>the correct way is to generate those yourself too</li>
+      <li>the correct way is to generate those yourself too.</li>
       <li>the dangerous way is to ask libxml to add those blanks to your
         content <strong>modifying the content of your document in the
         process</strong>. The result may not be what you expect. There is
         <strong>NO</strong> way to guarantee that such a modification won't
-        impact other part of the content of your document. See <a
+        affect other parts of the content of your document. See <a
         href="http://xmlsoft.org/html/libxml-parser.html#XMLKEEPBLANKSDEFAULT">xmlKeepBlanksDefault
         ()</a> and <a
         href="http://xmlsoft.org/html/libxml-tree.html#XMLSAVEFORMATFILE">xmlSaveFormatFile
@@ -317,11 +317,11 @@
     to forget. There is a function <a
     href="http://xmlsoft.org/html/libxml-parser.html">xmlKeepBlanksDefault
     ()</a>  to remove those at parse time, but that's an heuristic, and its
-    use should be limited to case where you are sure there is no
+    use should be limited to cases where you are certain there is no
     mixed-content in the document.</p>
   </li>
   <li><em>I get compilation errors of existing code like when accessing
-    <strong>root</strong> or <strong>childs fields</strong> of nodes</em>
+    <strong>root</strong> or <strong>child fields</strong> of nodes.</em>
     <p>You are compiling code developed for libxml version 1 and using a
     libxml2 development environment. Either switch back to libxml v1 devel or
     even better fix the code to compile with libxml2 (or both) by <a
@@ -329,31 +329,31 @@
   </li>
   <li><em>I get compilation errors about non existing
     <strong>xmlRootNode</strong> or <strong>xmlChildrenNode</strong>
-    fields</em>
+    fields.</em>
     <p>The source code you are using has been <a
     href="upgrade.html">upgraded</a> to be able to compile with both libxml
     and libxml2, but you need to install a more recent version:
     libxml(-devel) &gt;= 1.8.8 or libxml2(-devel) &gt;= 2.1.0</p>
   </li>
   <li><em>XPath implementation looks seriously broken</em>
-    <p>XPath implementation prior to 2.3.0 was really incomplete, upgrade to
-    a recent version, there is no known bug in the current version.</p>
+    <p>XPath implementation prior to 2.3.0 was really incomplete. Upgrade to
+    a recent version, there are no known bugs in the current version.</p>
   </li>
-  <li><em>The example provided in the web page does not compile</em>
+  <li><em>The example provided in the web page does not compile.</em>
     <p>It's hard to maintain the documentation in sync with the code
     &lt;grin/&gt; ...</p>
-    <p>Check the previous points 1/ and 2/ raised before, and send
+    <p>Check the previous points 1/ and 2/ raised before, and please send
     patches.</p>
   </li>
-  <li><em>Where can I get more examples and informations than in the web
-    page</em>
+  <li><em>Where can I get more examples and information than privoded on the web
+    page?</em>
     <p>Ideally a libxml book would be nice. I have no such plan ... But you
     can:</p>
     <ul>
       <li>check more deeply the <a href="html/libxml-lib.html">existing
         generated doc</a></li>
-      <li>looks for examples of use for libxml function using the Gnome code
-        for example the following will query the full Gnome CVS base for the
+      <li>look for examples of use for libxml function using the Gnome code.
+        For example the following will query the full Gnome CVS base for the
         use of the <strong>xmlAddChild()</strong> function:
         <p><a
         href="http://cvs.gnome.org/lxr/search?string=xmlAddChild">http://cvs.gnome.org/lxr/search?string=xmlAddChild</a></p>
@@ -363,16 +363,16 @@
       <li><a
         href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse
         the libxml source</a> , I try to write code as clean and documented
-        as possible, so looking at it may be helpful. Especially the code of
-        xmllint.c and of the various testXXX.c tests programs should provide
-        good example on how to do things with the library.</li>
+        as possible, so looking at it may be helpful. In particular the code of
+        xmllint.c and of the various testXXX.c test programs should provide
+        good examples of how to do things with the library.</li>
     </ul>
   </li>
   <li>What about C++ ?
     <p>libxml is written in pure C in order to allow easy reuse on a number
     of platforms, including embedded systems. I don't intend to convert to
     C++.</p>
-    <p>There is however a few C++ wrappers which may fulfill your needs:</p>
+    <p>There are however a few C++ wrappers which may fulfill your needs:</p>
     <ul>
       <li>by Ari Johnson &lt;ari@btigate.com&gt;:
         <p>Website: <a
@@ -388,13 +388,14 @@
   </li>
   <li>How to validate a document a posteriori ?
     <p>It is possible to validate documents which had not been validated at
-    initial parsing time or documents who have been built from scratch using
+    initial parsing time or documents which have been built from scratch using
     the API. Use the <a
     href="http://xmlsoft.org/html/libxml-valid.html#XMLVALIDATEDTD">xmlValidateDtd()</a>
     function. It is also possible to simply add a DTD to an existing
     document:</p>
     <pre>xmlDocPtr doc; /* your existing document */
-        xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
+xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
+
         dtd-&gt;name = xmlStrDup((xmlChar*)"root_name"); /* use the given root */
 
         doc-&gt;intSubset = dtd;
@@ -409,18 +410,18 @@
 
 <h2><a name="Documentat">Documentation</a></h2>
 
-<p>There are some on-line resources about using libxml:</p>
+<p>There are several on-line resources related to using libxml:</p>
 <ol>
-  <li>Check the <a href="FAQ.html">FAQ</a></li>
+  <li>Check the <a href="FAQ.html">FAQ.</a></li>
   <li>Check the <a href="http://xmlsoft.org/html/libxml-lib.html">extensive
     documentation</a> automatically extracted from code comments (using <a
     href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gtk-doc">gtk
     doc</a>).</li>
   <li>Look at the documentation about <a href="encoding.html">libxml
-    internationalization support</a></li>
+    internationalization support</a>.</li>
   <li>This page provides a global overview and <a href="example.html">some
     examples</a> on how to use libxml.</li>
-  <li>John Fleck's <a href="tutorial/index.html">libxml tutorial</a></li>
+  <li>John Fleck's <a href="tutorial/index.html">libxml tutorial</a>.</li>
   <li><a href="mailto:james@daa.com.au">James Henstridge</a> wrote <a
     href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">some nice
     documentation</a> explaining how to use the libxml SAX interface.</li>
@@ -428,8 +429,8 @@
     href="http://www-4.ibm.com/software/developer/library/gnome3/">an article
     for IBM developerWorks</a> about using libxml.</li>
   <li>Check <a href="http://cvs.gnome.org/lxr/source/gnome-xml/TODO">the TODO
-    file</a></li>
-  <li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a>. If you are
+    file</a>.</li>
+  <li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a> description. If you are
     starting a new project using libxml you should really use the 2.x
   version.</li>
   <li>And don't forget to look at the <a
@@ -457,32 +458,32 @@
 <p>Check the following <strong><span style="color: #FF0000">before
 posting</span></strong>:</p>
 <ul>
-  <li>read the <a href="FAQ.html">FAQ</a></li>
-  <li>make sure you are <a href="ftp://xmlsoft.org/">using a recent
-    version</a>, and that the problem still shows up in those</li>
-  <li>check the <a href="http://mail.gnome.org/archives/xml/">list
-    archives</a> to see if the problem was reported already, in this case
+  <li>Read the <a href="FAQ.html">FAQ</a>.</li>
+  <li>Make sure you are <a href="ftp://xmlsoft.org/">using a recent
+    version</a>, and that the problem still shows up in a recent version.</li>
+  <li>Check the <a href="http://mail.gnome.org/archives/xml/">list
+    archives</a> to see if the problem was reported already. In this case
     there is probably a fix available, similarly check the <a
     href="http://bugzilla.gnome.org/buglist.cgi?product=libxml">registered
-    open bugs</a></li>
-  <li>make sure you can reproduce the bug with xmllint or one of the test
-    programs found in source in the distribution</li>
+    open bugs</a>.</li>
+  <li>Make sure you can reproduce the bug with xmllint or one of the test
+    programs found in source in the distribution.</li>
   <li>Please send the command showing the error as well as the input (as an
     attachment)</li>
 </ul>
 
 <p>Then send the bug with associated informations to reproduce it to the <a
 href="mailto:xml@gnome.org">xml@gnome.org</a> list; if it's really libxml
-related I will approve it.. Please do not send me mail directly, it makes
-things really harder to track and in some cases I'm not the best person to
-answer a given question, ask the list instead.</p>
+related I will approve it.. Please do not send mail to me directly, it makes
+things really hard to track and in some cases I am not the best person to
+answer a given question. Ask the list instead.</p>
 
 <p>Of course, bugs reported with a suggested patch for fixing them will
-probably be processed faster.</p>
+probably be processed faster than those without.</p>
 
 <p>If you're looking for help, a quick look at <a
 href="http://mail.gnome.org/archives/xml/">the list archive</a> may actually
-provide the answer, I usually send source samples when answering libxml usage
+provide the answer. I usually send source samples when answering libxml usage
 questions. The <a href="http://xmlsoft.org/html/book1.html">auto-generated
 documentation</a> is not as polished as I would like (i need to learn more
 about DocBook), but it's a good starting point.</p>
@@ -493,17 +494,17 @@
 subscribe to the mailing-list as explained before, check the <a
 href="http://mail.gnome.org/archives/xml/">archives </a>and the <a
 href="http://bugzilla.gnome.org/buglist.cgi?product=libxml">Gnome bug
-database:</a>:</p>
+database</a>:</p>
 <ol>
-  <li>provide patches when you find problems</li>
-  <li>provide the diffs when you port libxml to a new platform. They may not
+  <li>Provide patches when you find problems.</li>
+  <li>Provide the diffs when you port libxml to a new platform. They may not
     be integrated in all cases but help pinpointing portability problems
   and</li>
-  <li>provide documentation fixes (either as patches to the code comments or
+  <li>Provide documentation fixes (either as patches to the code comments or
     as HTML diffs).</li>
-  <li>provide new documentations pieces (translations, examples, etc ...)</li>
-  <li>Check the TODO file and try to close one of the items</li>
-  <li>take one of the points raised in the archive or the bug database and
+  <li>Provide new documentations pieces (translations, examples, etc ...).</li>
+  <li>Check the TODO file and try to close one of the items.</li>
+  <li>Take one of the points raised in the archive or the bug database and
     provide a fix. <a href="mailto:daniel@veillard.com">Get in touch with me
     </a>before to avoid synchronization problems and check that the suggested
     fix will fit in nicely :-)</li>
@@ -535,9 +536,9 @@
 <p><a name="Snapshot">Snapshot:</a></p>
 <ul>
   <li>Code from the W3C cvs base libxml <a
-    href="ftp://xmlsoft.org/cvs-snapshot.tar.gz">cvs-snapshot.tar.gz</a></li>
+    href="ftp://xmlsoft.org/cvs-snapshot.tar.gz">cvs-snapshot.tar.gz</a>.</li>
   <li>Docs, content of the web site, the list archive included <a
-    href="ftp://xmlsoft.org/libxml-docs.tar.gz">libxml-docs.tar.gz</a></li>
+    href="ftp://xmlsoft.org/libxml-docs.tar.gz">libxml-docs.tar.gz</a>.</li>
 </ul>
 
 <p><a name="Contribs">Contributions:</a></p>
@@ -1368,8 +1369,8 @@
   &lt;/chapter&gt;
 &lt;/EXAMPLE&gt;</pre>
 
-<p>The first line specifies that it's an XML document and gives useful
-information about its encoding. Then the document is a text format whose
+<p>The first line specifies that it is an XML document and gives useful
+information about its encoding.  Then the rest of the document is a text format whose
 structure is specified by tags between brackets. <strong>Each tag opened has
 to be closed</strong>. XML is pedantic about this. However, if a tag is empty
 (no content), a single tag can serve as both the opening and closing tag if
@@ -1377,7 +1378,7 @@
 that, for example, the image tag has no content (just an attribute) and is
 closed by ending the tag with <code>/&gt;</code>.</p>
 
-<p>XML can be applied successfully to a wide range of uses, from long term
+<p>XML can be applied successfully to a wide range of tasks, ranging from long term
 structured document maintenance (where it follows the steps of SGML) to
 simple data encoding mechanisms like configuration file formatting (glade),
 spreadsheets (gnumeric), or even shorter lived documents such as WebDAV where
@@ -1391,18 +1392,18 @@
 language for transforming XML documents into other XML documents (or
 HTML/textual output).</p>
 
-<p>A separate library called libxslt is being built on top of libxml2. This
-module "libxslt" can be found in the Gnome CVS base too.</p>
+<p>A separate library called libxslt is being developed on top of libxml2. This
+module "libxslt" too can be found in the Gnome CVS base.</p>
 
 <p>You can check the <a
 href="http://cvs.gnome.org/lxr/source/libxslt/FEATURES">features</a>
 supported and the progresses on the <a
 href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog"
-name="Changelog">Changelog</a></p>
+name="Changelog">Changelog</a>.</p>
 
 <h2><a name="Python">Python and bindings</a></h2>
 
-<p>There is a number of language bindings and wrappers available for libxml2,
+<p>There are a number of language bindings and wrappers available for libxml2,
 the list below is not exhaustive. Please contact the <a
 href="http://mail.gnome.org/mailman/listinfo/xml-bindings">xml-bindings@gnome.org</a>
 (<a href="http://mail.gnome.org/archives/xml-bindings/">archives</a>) in
@@ -1416,7 +1417,7 @@
     Download: <a
     href="http://lusis.org/~ari/xml++/libxml++.tar.gz">http://lusis.org/~ari/xml++/libxml++.tar.gz</a></li>
   <li>There is another <a href="http://libgdome-cpp.berlios.de/">C++ wrapper
-    based on the gdome2 </a>bindings maintained by Tobias Peters.</li>
+    based on the gdome2 bindings</a> maintained by Tobias Peters.</li>
   <li>and a third C++ wrapper by Peter Jones &lt;pjones@pmade.org&gt;
     <p>Website: <a
     href="http://pmade.org/pjones/software/xmlwrapp/">http://pmade.org/pjones/software/xmlwrapp/</a></p>
@@ -1426,19 +1427,19 @@
     Sergeant</a> developed <a
     href="http://axkit.org/download/">XML::LibXSLT</a>, a Perl wrapper for
     libxml2/libxslt as part of the <a href="http://axkit.com/">AxKit XML
-    application server</a></li>
+    application server</a>.</li>
   <li><a href="mailto:dkuhlman@cutter.rexx.com">Dave Kuhlman</a> provides an
     earlier version of the libxml/libxslt <a
-    href="http://www.rexx.com/~dkuhlman">wrappers for Python</a></li>
+    href="http://www.rexx.com/~dkuhlman">wrappers for Python</a>.</li>
   <li>Gopal.V and Peter Minten develop <a
     href="http://savannah.gnu.org/projects/libxmlsharp">libxml#</a>, a set of
-    C# libxml2 bindings</li>
+    C# libxml2 bindings.</li>
   <li>Petr Kozelka provides <a
     href="http://sourceforge.net/projects/libxml2-pas">Pascal units to glue
-    libxml2</a> with Kylix, Delphi and other Pascal compilers</li>
+    libxml2</a> with Kylix, Delphi and other Pascal compilers.</li>
   <li>Uwe Fechner also provides <a
     href="http://sourceforge.net/projects/idom2-pas/">idom2</a>, a DOM2
-    implementation for Kylix2/D5/D6 from Borland</li>
+    implementation for Kylix2/D5/D6 from Borland.</li>
   <li>Wai-Sun "Squidster" Chia provides <a
     href="http://www.rubycolor.org/arc/redist/">bindings for Ruby</a>  and
     libxml2 bindings are also available in Ruby through the <a
@@ -1446,7 +1447,7 @@
     maintained by Tobias Peters.</li>
   <li>Steve Ball and contributors maintains <a
     href="http://tclxml.sourceforge.net/">libxml2 and libxslt bindings for
-    Tcl</a></li>
+    Tcl</a>.</li>
   <li>There is support for libxml2 in the DOM module of PHP.</li>
 </ul>
 
@@ -1470,7 +1471,7 @@
 
 <p>The distribution includes a set of examples and regression tests for the
 python bindings in the <code>python/tests</code> directory. Here are some
-excepts from those tests:</p>
+excerpts from those tests:</p>
 
 <h3>tst.py:</h3>
 
@@ -1491,7 +1492,7 @@
     sys.exit(1)
 doc.freeDoc()</pre>
 
-<p>The Python module is called libxml2, parseFile is the equivalent of
+<p>The Python module is called libxml2; parseFile is the equivalent of
 xmlParseFile (most of the bindings are automatically generated, and the xml
 prefix is removed and the casing convention are kept). All node seen at the
 binding level share the same subset of accessors:</p>
@@ -1885,19 +1886,19 @@
 
 <p>DTD is the acronym for Document Type Definition. This is a description of
 the content for a family of XML files. This is part of the XML 1.0
-specification, and allows to describe and check that a given document
-instance conforms to a set of rules detailing its structure and content.</p>
+specification, and allows one to describe and verify that a given document
+instance conforms to the set of rules detailing its structure and content.</p>
 
 <p>Validation is the process of checking a document against a DTD (more
 generally against a set of construction rules).</p>
 
 <p>The validation process and building DTDs are the two most difficult parts
-of the XML life cycle. Briefly a DTD defines all the possibles element to be
+of the XML life cycle. Briefly a DTD defines all the possible elements to be
 found within your document, what is the formal shape of your document tree
-(by defining the allowed content of an element, either text, a regular
+(by defining the allowed content of an element; either text, a regular
 expression for the allowed list of children, or mixed content i.e. both text
-and children). The DTD also defines the allowed attributes for all elements
-and the types of the attributes.</p>
+and children). The DTD also defines the valid attributes for all elements
+and the types of those attributes.</p>
 
 <h3><a name="definition1">The definition</a></h3>
 
@@ -1916,9 +1917,9 @@
 
 <h3><a name="Simple1">Simple rules</a></h3>
 
-<p>Writing DTD can be done in multiple ways, the rules to build them if you
-need something fixed or something which can evolve over time can be radically
-different. Really complex DTD like DocBook ones are flexible but quite harder
+<p>Writing DTDs can be done in many ways. The rules to build them if you
+need something permanent or something which can evolve over time can be radically
+different. Really complex DTDs like DocBook ones are flexible but quite harder
 to design. I will just focus on DTDs for a formats with a fixed simple
 structure. It is just a set of basic rules, and definitely not exhaustive nor
 usable for complex DTD design.</p>
@@ -1933,14 +1934,14 @@
 
 <p>Notes:</p>
 <ul>
-  <li>the system string is actually an URI-Reference (as defined in <a
+  <li>The system string is actually an URI-Reference (as defined in <a
     href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>) so you can use a
-    full URL string indicating the location of your DTD on the Web, this is a
-    really good thing to do if you want others to validate your document</li>
-  <li>it is also possible to associate a <code>PUBLIC</code> identifier (a
+    full URL string indicating the location of your DTD on the Web. This is a
+    really good thing to do if you want others to validate your document.</li>
+  <li>It is also possible to associate a <code>PUBLIC</code> identifier (a
     magic string) so that the DTD is looked up in catalogs on the client side
-    without having to locate it on the web</li>
-  <li>a dtd contains a set of elements and attributes declarations, but they
+    without having to locate it on the web.</li>
+  <li>A DTD contains a set of element and attribute declarations, but they
     don't define what the root of the document should be. This is explicitly
     told to the parser/validator as the first element of the
     <code>DOCTYPE</code> declaration.</li>
@@ -1952,7 +1953,7 @@
 
 <p><code>&lt;!ELEMENT spec (front, body, back?)&gt;</code></p>
 
-<p>it also expresses that the spec element contains one <code>front</code>,
+<p>It also expresses that the spec element contains one <code>front</code>,
 one <code>body</code> and one optional <code>back</code> children elements in
 this order. The declaration of one element of the structure and its content
 are done in a single declaration. Similarly the following declares
@@ -1960,7 +1961,7 @@
 
 <p><code>&lt;!ELEMENT div1 (head, (p | list | note)*, div2?)&gt;</code></p>
 
-<p>means div1 contains one <code>head</code> then a series of optional
+<p>which means div1 contains one <code>head</code> then a series of optional
 <code>p</code>, <code>list</code>s and <code>note</code>s and then an
 optional <code>div2</code>. And last but not least an element can contain
 text:</p>
@@ -1978,7 +1979,7 @@
 
 <h4><a name="Declaring1">Declaring attributes</a>:</h4>
 
-<p>again the attributes declaration includes their content definition:</p>
+<p>Again the attributes declaration includes their content definition:</p>
 
 <p><code>&lt;!ATTLIST termdef name CDATA #IMPLIED&gt;</code></p>
 
@@ -2012,36 +2013,36 @@
 
 <p>Notes:</p>
 <ul>
-  <li>usually the attributes pertaining to a given element are declared in a
+  <li>Usually the attributes pertaining to a given element are declared in a
     single expression, but it is just a convention adopted by a lot of DTD
     writers:
     <pre>&lt;!ATTLIST termdef
           id      ID      #REQUIRED
           name    CDATA   #IMPLIED&gt;</pre>
     <p>The previous construct defines both <code>id</code> and
-    <code>name</code> attributes for the element <code>termdef</code></p>
+    <code>name</code> attributes for the element <code>termdef</code>.</p>
   </li>
 </ul>
 
 <h3><a name="Some1">Some examples</a></h3>
 
 <p>The directory <code>test/valid/dtds/</code> in the libxml distribution
-contains some complex DTD examples. The  <code>test/valid/dia.xml</code>
-example shows an XML file where the simple DTD is directly included within
+contains some complex DTD examples. The example in the file <code>test/valid/dia.xml</code>
+shows an XML file where the simple DTD is directly included within
 the document.</p>
 
 <h3><a name="validate1">How to validate</a></h3>
 
-<p>The simplest is to use the xmllint program coming with libxml. The
-<code>--valid</code> option turn on validation of the files given as input,
-for example the following validates a copy of the first revision of the XML
+<p>The simplest way is to use the xmllint program included with libxml. The
+<code>--valid</code> option turns-on validation of the files given as input.
+For example the following validates a copy of the first revision of the XML
 1.0 specification:</p>
 
 <p><code>xmllint --valid --noout test/valid/REC-xml-19980210.xml</code></p>
 
-<p>the -- noout is used to not output the resulting tree.</p>
+<p>the -- noout is used to disable output of the resulting tree.</p>
 
-<p>The <code>--dtdvalid dtd</code> allows to validate the document(s) against
+<p>The <code>--dtdvalid dtd</code> allows validation of the document(s) against
 a given DTD.</p>
 
 <p>Libxml exports an API to handle DTDs and validation, check the <a
diff --git a/doc/xmldtd.html b/doc/xmldtd.html
index 0cf8ec7..de4f48a 100644
--- a/doc/xmldtd.html
+++ b/doc/xmldtd.html
@@ -90,48 +90,49 @@
 <p>Table of Content:</p>
 <ol>
 <li><a href="#General5">General overview</a></li>
-<li><a href="#definition">The definition</a></li>
-<li>
-<a href="#Simple">Simple rules</a><ol>
+  <li><a href="#definition">The definition</a></li>
+  <li>
+<a href="#Simple">Simple rules</a>
+    <ol>
 <li><a href="#reference">How to reference a DTD from a document</a></li>
-<li><a href="#Declaring">Declaring elements</a></li>
-<li><a href="#Declaring1">Declaring attributes</a></li>
-</ol>
+      <li><a href="#Declaring">Declaring elements</a></li>
+      <li><a href="#Declaring1">Declaring attributes</a></li>
+    </ol>
 </li>
-<li><a href="#Some">Some examples</a></li>
-<li><a href="#validate">How to validate</a></li>
-<li><a href="#Other">Other resources</a></li>
+  <li><a href="#Some">Some examples</a></li>
+  <li><a href="#validate">How to validate</a></li>
+  <li><a href="#Other">Other resources</a></li>
 </ol>
 <h3><a name="General5">General overview</a></h3>
 <p>Well what is validation and what is a DTD ?</p>
 <p>DTD is the acronym for Document Type Definition. This is a description of
 the content for a family of XML files. This is part of the XML 1.0
-specification, and allows to describe and check that a given document
-instance conforms to a set of rules detailing its structure and content.</p>
+specification, and allows one to describe and verify that a given document
+instance conforms to the set of rules detailing its structure and content.</p>
 <p>Validation is the process of checking a document against a DTD (more
 generally against a set of construction rules).</p>
 <p>The validation process and building DTDs are the two most difficult parts
-of the XML life cycle. Briefly a DTD defines all the possibles element to be
+of the XML life cycle. Briefly a DTD defines all the possible elements to be
 found within your document, what is the formal shape of your document tree
-(by defining the allowed content of an element, either text, a regular
+(by defining the allowed content of an element; either text, a regular
 expression for the allowed list of children, or mixed content i.e. both text
-and children). The DTD also defines the allowed attributes for all elements
-and the types of the attributes.</p>
+and children). The DTD also defines the valid attributes for all elements
+and the types of those attributes.</p>
 <h3><a name="definition1">The definition</a></h3>
 <p>The <a href="http://www.w3.org/TR/REC-xml">W3C XML Recommendation</a> (<a href="http://www.xml.com/axml/axml.html">Tim Bray's annotated version of
 Rev1</a>):</p>
 <ul>
 <li><a href="http://www.w3.org/TR/REC-xml#elemdecls">Declaring
   elements</a></li>
-<li><a href="http://www.w3.org/TR/REC-xml#attdecls">Declaring
+  <li><a href="http://www.w3.org/TR/REC-xml#attdecls">Declaring
   attributes</a></li>
 </ul>
 <p>(unfortunately) all this is inherited from the SGML world, the syntax is
 ancient...</p>
 <h3><a name="Simple1">Simple rules</a></h3>
-<p>Writing DTD can be done in multiple ways, the rules to build them if you
-need something fixed or something which can evolve over time can be radically
-different. Really complex DTD like DocBook ones are flexible but quite harder
+<p>Writing DTDs can be done in many ways. The rules to build them if you
+need something permanent or something which can evolve over time can be radically
+different. Really complex DTDs like DocBook ones are flexible but quite harder
 to design. I will just focus on DTDs for a formats with a fixed simple
 structure. It is just a set of basic rules, and definitely not exhaustive nor
 usable for complex DTD design.</p>
@@ -143,13 +144,13 @@
 <p><code>&lt;!DOCTYPE spec SYSTEM &quot;dtds/mydtd&quot;&gt;</code></p>
 <p>Notes:</p>
 <ul>
-<li>the system string is actually an URI-Reference (as defined in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>) so you can use a
-    full URL string indicating the location of your DTD on the Web, this is a
-    really good thing to do if you want others to validate your document</li>
-<li>it is also possible to associate a <code>PUBLIC</code> identifier (a
+<li>The system string is actually an URI-Reference (as defined in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>) so you can use a
+    full URL string indicating the location of your DTD on the Web. This is a
+    really good thing to do if you want others to validate your document.</li>
+  <li>It is also possible to associate a <code>PUBLIC</code> identifier (a
     magic string) so that the DTD is looked up in catalogs on the client side
-    without having to locate it on the web</li>
-<li>a dtd contains a set of elements and attributes declarations, but they
+    without having to locate it on the web.</li>
+  <li>A DTD contains a set of element and attribute declarations, but they
     don't define what the root of the document should be. This is explicitly
     told to the parser/validator as the first element of the
     <code>DOCTYPE</code> declaration.</li>
@@ -158,13 +159,13 @@
 <a name="Declaring2">Declaring elements</a>:</h4>
 <p>The following declares an element <code>spec</code>:</p>
 <p><code>&lt;!ELEMENT spec (front, body, back?)&gt;</code></p>
-<p>it also expresses that the spec element contains one <code>front</code>,
+<p>It also expresses that the spec element contains one <code>front</code>,
 one <code>body</code> and one optional <code>back</code> children elements in
 this order. The declaration of one element of the structure and its content
 are done in a single declaration. Similarly the following declares
 <code>div1</code> elements:</p>
 <p><code>&lt;!ELEMENT div1 (head, (p | list | note)*, div2?)&gt;</code></p>
-<p>means div1 contains one <code>head</code> then a series of optional
+<p>which means div1 contains one <code>head</code> then a series of optional
 <code>p</code>, <code>list</code>s and <code>note</code>s and then an
 optional <code>div2</code>. And last but not least an element can contain
 text:</p>
@@ -179,7 +180,7 @@
 order.</p>
 <h4>
 <a name="Declaring1">Declaring attributes</a>:</h4>
-<p>again the attributes declaration includes their content definition:</p>
+<p>Again the attributes declaration includes their content definition:</p>
 <p><code>&lt;!ATTLIST termdef name CDATA #IMPLIED&gt;</code></p>
 <p>means that the element <code>termdef</code> can have a <code>name</code>
 attribute containing text (<code>CDATA</code>) and which is optional
@@ -204,36 +205,39 @@
 meaning that it is optional, or the default value (possibly prefixed by
 <code>#FIXED</code> if it is the only allowed).</p>
 <p>Notes:</p>
-<ul><li>usually the attributes pertaining to a given element are declared in a
+<ul>
+<li>Usually the attributes pertaining to a given element are declared in a
     single expression, but it is just a convention adopted by a lot of DTD
     writers:
     <pre>&lt;!ATTLIST termdef
           id      ID      #REQUIRED
           name    CDATA   #IMPLIED&gt;</pre>
-<p>The previous construct defines both <code>id</code> and
-    <code>name</code> attributes for the element <code>termdef</code>
-</p>
-</li></ul>
+    <p>The previous construct defines both <code>id</code> and
+    <code>name</code> attributes for the element <code>termdef</code>.</p>
+  </li>
+</ul>
 <h3><a name="Some1">Some examples</a></h3>
 <p>The directory <code>test/valid/dtds/</code> in the libxml distribution
-contains some complex DTD examples. The  <code>test/valid/dia.xml</code>
-example shows an XML file where the simple DTD is directly included within
+contains some complex DTD examples. The example in the file <code>test/valid/dia.xml</code>
+shows an XML file where the simple DTD is directly included within
 the document.</p>
 <h3><a name="validate1">How to validate</a></h3>
-<p>The simplest is to use the xmllint program coming with libxml. The
-<code>--valid</code> option turn on validation of the files given as input,
-for example the following validates a copy of the first revision of the XML
+<p>The simplest way is to use the xmllint program included with libxml. The
+<code>--valid</code> option turns-on validation of the files given as input.
+For example the following validates a copy of the first revision of the XML
 1.0 specification:</p>
 <p><code>xmllint --valid --noout test/valid/REC-xml-19980210.xml</code></p>
-<p>the -- noout is used to not output the resulting tree.</p>
-<p>The <code>--dtdvalid dtd</code> allows to validate the document(s) against
+<p>the -- noout is used to disable output of the resulting tree.</p>
+<p>The <code>--dtdvalid dtd</code> allows validation of the document(s) against
 a given DTD.</p>
 <p>Libxml exports an API to handle DTDs and validation, check the <a href="http://xmlsoft.org/html/libxml-valid.html">associated
 description</a>.</p>
 <h3><a name="Other1">Other resources</a></h3>
 <p>DTDs are as old as SGML. So there may be a number of examples on-line, I
 will just list one for now, others pointers welcome:</p>
-<ul><li><a href="http://www.xml101.com:8081/dtd/">XML-101 DTD</a></li></ul>
+<ul>
+<li><a href="http://www.xml101.com:8081/dtd/">XML-101 DTD</a></li>
+</ul>
 <p>I suggest looking at the examples found under test/valid/dtd and any of
 the large number of books available on XML. The dia example in test/valid
 should be both simple and complete enough to allow you to build your own.</p>
diff --git a/doc/xmlio.html b/doc/xmlio.html
index 7a390a2..cf218d9 100644
--- a/doc/xmlio.html
+++ b/doc/xmlio.html
@@ -90,11 +90,11 @@
 <p>Table of Content:</p>
 <ol>
 <li><a href="#General1">General overview</a></li>
-<li><a href="#basic">The basic buffer type</a></li>
-<li><a href="#Input">Input I/O handlers</a></li>
-<li><a href="#Output">Output I/O handlers</a></li>
-<li><a href="#entities">The entities loader</a></li>
-<li><a href="#Example2">Example of customized I/O</a></li>
+  <li><a href="#basic">The basic buffer type</a></li>
+  <li><a href="#Input">Input I/O handlers</a></li>
+  <li><a href="#Output">Output I/O handlers</a></li>
+  <li><a href="#entities">The entities loader</a></li>
+  <li><a href="#Example2">Example of customized I/O</a></li>
 </ol>
 <h3><a name="General1">General overview</a></h3>
 <p>The module <code><a href="http://xmlsoft.org/html/libxml-xmlio.html">xmlIO.h</a></code> provides
@@ -107,35 +107,35 @@
     <code>xmlGetExternalEntityLoader()</code> and
     <code>xmlSetExternalEntityLoader()</code>. <a href="#entities">Check the
     example</a>.</li>
-<li>Input I/O buffers which are a commodity structure used by the parser(s)
+  <li>Input I/O buffers which are a commodity structure used by the parser(s)
     input layer to handle fetching the informations to feed the parser. This
     provides buffering and is also a placeholder where the encoding
     converters to UTF8 are piggy-backed.</li>
-<li>Output I/O buffers are similar to the Input ones and fulfill similar
+  <li>Output I/O buffers are similar to the Input ones and fulfill similar
     task but when generating a serialization from a tree.</li>
-<li>A mechanism to register sets of I/O callbacks and associate them with
+  <li>A mechanism to register sets of I/O callbacks and associate them with
     specific naming schemes like the protocol part of the URIs.
     <p>This affect the default I/O operations and allows to use specific I/O
     handlers for certain names.</p>
-</li>
+  </li>
 </ul>
 <p>The general mechanism used when loading http://rpmfind.net/xml.html for
 example in the HTML parser is the following:</p>
 <ol>
 <li>The default entity loader calls <code>xmlNewInputFromFile()</code> with
     the parsing context and the URI string.</li>
-<li>the URI string is checked against the existing registered handlers
+  <li>the URI string is checked against the existing registered handlers
     using their match() callback function, if the HTTP module was compiled
     in, it is registered and its match() function will succeeds</li>
-<li>the open() function of the handler is called and if successful will
+  <li>the open() function of the handler is called and if successful will
     return an I/O Input buffer</li>
-<li>the parser will the start reading from this buffer and progressively
+  <li>the parser will the start reading from this buffer and progressively
     fetch information from the resource, calling the read() function of the
     handler until the resource is exhausted</li>
-<li>if an encoding change is detected it will be installed on the input
+  <li>if an encoding change is detected it will be installed on the input
     buffer, providing buffering and efficient use of the conversion
   routines</li>
-<li>once the parser has finished, the close() function of the handler is
+  <li>once the parser has finished, the close() function of the handler is
     called once and the Input buffer and associated resources are
   deallocated.</li>
 </ol>
@@ -143,7 +143,7 @@
 default libxml I/O routines.</p>
 <h3><a name="basic">The basic buffer type</a></h3>
 <p>All the buffer manipulation handling is done using the
-<code>xmlBuffer</code> type define in <code><a href="http://xmlsoft.org/html/libxml-tree.html">tree.h</a></code>which is a
+<code>xmlBuffer</code> type define in <code><a href="http://xmlsoft.org/html/libxml-tree.html">tree.h</a> </code>which is a
 resizable memory buffer. The buffer allocation strategy can be selected to be
 either best-fit or use an exponential doubling one (CPU vs. memory use
 trade-off). The values are <code>XML_BUFFER_ALLOC_EXACT</code> and
@@ -239,8 +239,8 @@
 
 
 } </pre>
-</li>
-<li>And then use it to save the document:
+  </li>
+  <li>And then use it to save the document:
     <pre>FILE *f;
 xmlOutputBufferPtr output;
 xmlDocPtr doc;
@@ -252,7 +252,7 @@
 output = xmlOutputBufferCreateOwn(f, NULL);
 res = xmlSaveFileTo(output, doc, NULL);
     </pre>
-</li>
+  </li>
 </ol>
 <p><a href="bugs.html">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
diff --git a/doc/xmlmem.html b/doc/xmlmem.html
index 57023e4..02ac994 100644
--- a/doc/xmlmem.html
+++ b/doc/xmlmem.html
@@ -90,10 +90,10 @@
 <p>Table of Content:</p>
 <ol>
 <li><a href="#General3">General overview</a></li>
-<li><a href="#setting">Setting libxml set of memory routines</a></li>
-<li><a href="#cleanup">Cleaning up after parsing</a></li>
-<li><a href="#Debugging">Debugging routines</a></li>
-<li><a href="#General4">General memory requirements</a></li>
+  <li><a href="#setting">Setting libxml set of memory routines</a></li>
+  <li><a href="#cleanup">Cleaning up after parsing</a></li>
+  <li><a href="#Debugging">Debugging routines</a></li>
+  <li><a href="#General4">General memory requirements</a></li>
 </ol>
 <h3><a name="General3">General overview</a></h3>
 <p>The module <code><a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlmemory.h</a></code>
@@ -101,9 +101,9 @@
 <ul>
 <li>libxml does not use the libc memory allocator directly but xmlFree(),
     xmlMalloc() and xmlRealloc()</li>
-<li>those routines can be reallocated to a specific set of routine, by
+  <li>those routines can be reallocated to a specific set of routine, by
     default the libc ones i.e. free(), malloc() and realloc()</li>
-<li>the xmlmemory.c module includes a set of debugging routine</li>
+  <li>the xmlmemory.c module includes a set of debugging routine</li>
 </ul>
 <h3><a name="setting">Setting libxml set of memory routines</a></h3>
 <p>It is sometimes useful to not use the default memory allocator, either for
@@ -113,7 +113,7 @@
 <li>
 <a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMemGet
     ()</a> which return the current set of functions in use by the parser</li>
-<li>
+  <li>
 <a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMemSetup()</a>
     which allow to set up a new set of memory allocation functions</li>
 </ul>
@@ -132,7 +132,7 @@
     ()</a> is a centralized routine to free the parsing states. Note that it
     won't deallocate any produced tree if any (use the xmlFreeDoc() and
     related routines for this).</li>
-<li>
+  <li>
 <a href="http://xmlsoft.org/html/libxml-parser.html">xmlInitParser
     ()</a> is the dual routine allowing to preallocate the parsing state
     which can be useful for example to avoid initialization reentrancy
@@ -149,10 +149,11 @@
 or call a specific routine when a given block number is allocated:</p>
 <ul>
 <li>
-<a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMallocLoc()</a><a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlReallocLoc()</a>
+<a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMallocLoc()</a>
+    <a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlReallocLoc()</a>
     and <a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMemStrdupLoc()</a>
     are the memory debugging replacement allocation routines</li>
-<li>
+  <li>
 <a href="http://xmlsoft.org/html/libxml-xmlmemory.html">xmlMemoryDump
     ()</a> dumps all the informations about the allocated memory block lefts
     in the <code>.memdump</code> file</li>
@@ -170,15 +171,15 @@
 possible to find more easily:</p>
 <ol>
 <li>write down the block number xxxx not allocated</li>
-<li>export the environment variable XML_MEM_BREAKPOINT=xxxx , the easiest
+  <li>export the environment variable XML_MEM_BREAKPOINT=xxxx , the easiest
     when using GDB is to simply give the command
     <p><code>set environment XML_MEM_BREAKPOINT xxxx</code></p>
-<p>before running the program.</p>
-</li>
-<li>run the program under a debugger and set a breakpoint on
+    <p>before running the program.</p>
+  </li>
+  <li>run the program under a debugger and set a breakpoint on
     xmlMallocBreakpoint() a specific function called when this precise block
     is allocated</li>
-<li>when the breakpoint is reached you can then do a fine analysis of the
+  <li>when the breakpoint is reached you can then do a fine analysis of the
     allocation an step  to see the condition resulting in the missing
     deallocation.</li>
 </ol>
@@ -197,7 +198,7 @@
     The I/O and encoding handlers will probably account for a few KBytes.
     This is true for both the XML and HTML parser (though the HTML parser
     need more state).</li>
-<li>If you are generating the DOM tree then memory requirements will grow
+  <li>If you are generating the DOM tree then memory requirements will grow
     nearly linear with the size of the data. In general for a balanced
     textual document the internal memory requirement is about 4 times the
     size of the UTF8 serialization of this document (example the XML-1.0
@@ -205,7 +206,7 @@
     memory when parsed). Validation will add a amount of memory required for
     maintaining the external Dtd state which should be linear with the
     complexity of the content model defined by the Dtd</li>
-<li>If you don't care about the advanced features of libxml like
+  <li>If you don't care about the advanced features of libxml like
     validation, DOM, XPath or XPointer, but really need to work fixed memory
     requirements, then the SAX interface should be used.</li>
 </ul>