if I have XPath in variable:
<xsl:variable
name="tag_name">/root//Underwriter//</xsl:variable>
Is it possible to get node using variable name:
<xsl:value-of select="something($tag_name)"/>
?

Would it help to save the node(set) instead of the xpath expression in your variable?
If so, you could do the following:


<xsl:variable name="tag_name" select="/root//Underwriter//"/>
...
<xsl:for-each select="$tag_name">
        <xsl:value-of select="."/>
</xsl:for-each>

Are you sure your xpath expression is correct and does not at least lack a '*' at the end?


Ralf



Reply via email to