[lxml-dev] Error from Variables in Extension Functions?

Thomas Schraitle tom_schr at web.de
Thu Jun 12 12:40:21 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?

Ok, done. See https://bugs.launchpad.net/lxml/+bug/239425


Tom


More information about the lxml-dev mailing list