16 Jul
2006
16 Jul
'06
7:57 a.m.
On Jul 16, 2006, at 9:47 AM, Stefan Behnel wrote:
Hi Petr,
Petr van Blokland wrote:
I am returning an etree from a Python function in XPath.
"etree" is the name of the module. I guess you mean an ElementTree object?
Yes.
But it does not seem to work stepping through the result as in <xsl:for-each select="myfunction()/*">...</xsl:for-each> where <xsl:for-each select="*">...</xsl:for-each>works fine for the current node. What do I do wrong.
Don't return an ElementTree (don't you get an exception for that anyway?).
I do.
Return an Element or a list of Elements.
Ok, I'll try. Thanks. Petr ---------------------------------------------- Petr van Blokland buro@petr.com | www.petr.com | +31 15 219 10 40 ----------------------------------------------