applied a new patch from Stéphane Bidoul for cleanups rebuilt the API

* xmlreader.c doc/apibuild.py: applied a new patch from
  Stéphane Bidoul for cleanups
* doc/libxml2-api.xml: rebuilt the API description with
  new entry points
Daniel
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 7f3158e..be2f934 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -7,7 +7,7 @@
 #
 # daniel@veillard.com
 #
-import sys
+import os, sys
 import string
 import glob
 
@@ -1307,7 +1307,7 @@
 	 self.scanModules()
          
      def modulename_file(self, file):
-         module = string.split(file, '/')[-1]
+         module = os.path.basename(file)
 	 if module[-2:] == '.h':
 	     module = module[:-2]
 	 return module