[lxml-dev] Url corruption during XSLT transformation

Stefan Behnel stefan_ml at behnel.de
Tue Jun 12 18:39:15 CEST 2007


Hi,

Alexander Kozlovsky wrote:
> I use lxml for Windows (lxml-1.2.1.win32-py2.4.exe)
>
> Does lxml distributive for Windows contain both libxml2 and libxslt2
> or I'm missing something here?

Yes, on Windows, they are statically linked into the lxml modules.

http://codespeak.net/lxml/dev/build.html#static-linking-on-windows

You can check which libxml2 version they were built with:

  from lxml import etree
  print "lxml.etree:       ", etree.LXML_VERSION
  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

Stefan



More information about the lxml-dev mailing list