[lxml-dev] questions about xslt with xml, where to get help?
Stefan Behnel
stefan_ml at behnel.de
Wed Jul 9 16:19:27 CEST 2008
Hi,
Dominique.Holzwarth at ch.delarue.com wrote:
> I'm not completely sure whether this mailing list only intended to further
> develop lxml or as well for _users_ of lxml...
both.
> I'm having problems with getting xsl transformation run. When i do:
>
> xslt_doc = etree.parse(stylesheet)
>
> transform = etree.XSLT(xslt_doc)
>
> result = transform(DOMdocument, **{statustext='some text', mode='navigation'})
>
> the result will just be empty
this is the right way of doing it. I would expect a problem with your stylesheet.
Stefan
More information about the lxml-dev
mailing list