Than it looks like I don't completely understand how it works. Could you please help me:
Marat Dakota, 08.11.2009 23:28:
> Hi, I have a problem I couldn't find the way to solve. Sadly if it's notIt's funny that you found the example above but didn't make it to the text
> possible.
>
> That's the code from XSLT extensions tutorial:
>
> <xsl:template match="*">
> <my:python-extension>
> <some-content />
> </my:python-extension>
> </xsl:template>
>
> Everything's working cool, but I need a bit more:
>
> <xsl:template match="*">
> <my:python-extension>
> <something><xsl:attribute name="test"><xsl:value-of select="111"
> /></xsl:attribute></something>
> </my:python-extension>
> </xsl:template>
>
> Let's assume that's my execute function's signature:
>
> execute(self, context, self_node, input_node, output_parent)
>
> When it's started by XSLT processor, self_node contains <something> tag with
> <xsl:attribute> and <xsl:value-of> tags inside it. What should I do to ask
> XSLT processor to evaluate it?
sections right below it.
http://codespeak.net/lxml/extensions.html#applying-xsl-templates
Stefan