Hi all,

I just implemented an extension function and it seems that it gets called only once by Saxon, even when it is present in the transformation multiple times. A sample below:

<xsl:variable name="v1">
    <xsl:copy-of select="f($p1)"/>
<xsl:variable name="v2">
    <xsl:copy-of select="f($p2)"/>
Any ideas about what I am doing wrong and why only the first time the f extension function gets called?

Thank you in advance!