On Fri, 03 Sep 2010 22:33:55 +0200 Stefan Behnel <stefan_ml@behnel.de> wrote:
Ok, next questions then: which version of lxml, libxml2 and libxslt are you using, and what command line do you use to do the same thing in libxslt?
Stefan
from lxml import etree print "lxml.etree: ", etree.LXML_VERSION lxml.etree: (2, 2, 6, 0) print "libxml used: ", etree.LIBXML_VERSION
print "libxml compiled: ", etree.LIBXML_COMPILED_VERSION
print "libxslt used: ", etree.LIBXSLT_VERSION
print "libxslt compiled: ", etree.LIBXSLT_COMPILED_VERSION
Python 2.6.5 (release26-maint, Aug 3 2010, 17:34:54) [GCC 4.5.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. libxml used: (2, 7, 7) libxml compiled: (2, 7, 7) libxslt used: (1, 1, 26) libxslt compiled: (1, 1, 26) /usr/bin/xsltproc --maxdepth 10000 --nonet --xinclude --stringparam olink.base.uri "doc.html" --stringparam collect.xref.targets "yes" --stringparam targets.filename "doc.html.db" --stringparam target.database.document "olinkdb-html.xml" /path/to/the/xsl/xhtml/docbook.xsl.xsl doc.xml > doc.html Regards, -- cJ