[lxml-dev] questions about xslt with xml, where to get help?
Stefan Behnel
stefan_ml at behnel.de
Thu Jul 10 08:48:01 CEST 2008
Hi,
Dominique.Holzwarth at ch.delarue.com wrote:
> result = transform(DOMdocument, **{statustext='some text', mode='navigation'})
this fails because there is no node called "some text" in your data. The
parameter you pass is an XPath value, not a plain Python value, so if you want
to pass a string instead of a node name, use "'some text'".
Any patch to the docs will be appreciated. :)
Stefan
More information about the lxml-dev
mailing list