[lxml-dev] Error from Variables in Extension Functions?
Stefan Behnel
stefan_ml at behnel.de
Thu Jun 12 11:45:59 CEST 2008
Hi,
Thomas Schraitle wrote:
> lxml-2.0.6
> [...]
> <xsl:variable name="content">
> <xsl:apply-templates/>
> </xsl:variable>
> <A><xsl:value-of select="myns:mytext($content)"/></A>
> [...]
> XSLTApplyError: XPath evaluation returned no result.
Thanks for the test case. lxml 2.1 gives me a NotImplementedError when trying
to convert the XSLT result tree fragment in "content" to a Python object. So
this is actually a missing feature. Could you file a feature request in
launchpad for handling XSLT result trees in XPath?
Stefan
More information about the lxml-dev
mailing list