B
Biff Malone
I'm creating an element at run time with the following code
<xsl:variable name="myElement">
<xsl:element name="abc">
<xsl:value-of select="." />
</xsl:element>
</xsl:variable>
<xsl:call-template name="myTemplate">
<xsl:with-param select="$myElement">
</xsl:call-template>
But XML Spy gives me a "Error in XPath expression, Cannot use result
tree fragment"
I can do a <xsl:value-of select="$myElement" /> but I can't pass the
newly created element as a parameter.
Does anyone know of a solution?
<xsl:variable name="myElement">
<xsl:element name="abc">
<xsl:value-of select="." />
</xsl:element>
</xsl:variable>
<xsl:call-template name="myTemplate">
<xsl:with-param select="$myElement">
</xsl:call-template>
But XML Spy gives me a "Error in XPath expression, Cannot use result
tree fragment"
I can do a <xsl:value-of select="$myElement" /> but I can't pass the
newly created element as a parameter.
Does anyone know of a solution?