Yes.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?
But it does not seem to work stepping through the resultas in <xsl:for-each select="myfunction()/*">...</xsl:for-each>where <xsl:for-each select="*">...</xsl:for-each>works finefor the current node. What do I do wrong.Don't return an ElementTree (don't you get an exception for that anyway?).
Return an Element or a list of Elements.