I\'m having issues with xsl:variable. I want to create a variable with a value that depends on the value of another XML node attribute. This working good. But w
xsl:variable
This is not natively possible in XSLT 1.0, but you can use an extension library such as dyn:
http://www.exslt.org/dyn/functions/evaluate/dyn.evaluate.html
The dyn:evaluate function evaluates a string as an XPath expression.
dyn:evaluate