[xml] Preview of the python support



  For those interested, I have put the current state of the
distribution including the python bindings at
    ftp://xmlsoft.org/test/
   there are both a tarball and RPMs of the pythonbeta pre-release.

 It's beta quality, but should be usable as is. People interested
in libxml2 bindings in general should have a look at the
python/libxml2class.txt which is the list of automatically generated
functions/classes/methods for libxml2. This covers approximately 330
functions from the libxml2 API. Most of them are automatically generated
from the doc/libxml2-api.xml description of the API and
python/libxml2-python-api.xml whcih describes some specific support needed.

 The python module is called "libxml2" and the python/tests directory
includes a set of examples. Feedback on the mapping welcome, I have asked
for a specific mailing list to the Gnome sysadmin support but it's not
created yet I'm afraid.

 Special thanks to Dave Kuhlman for providing initial Python bindings
and sharing his expertise, the SAX mapping was certainly influenced by
his own libxml_saxlib module !
 
  Next step is the libxslt wrapper ... the target is to be able to
extend the engine with functions written in Python, this should not
be too hard considering the current libxml2 binding have that capability
at the XPath level.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]