Is it possible to embed a parameter name into an XPATH expression?
XML File:
<LEVEL>
<DUMP>
<TEST>
<VALUE>100</VALUE>
</TEST>
<TEST>
<VALUE>200</VALUE>
</TEST>
</DUMP>
</LEVEL>
Example:
if param1 is set to TEST then I want to use something like
<xsl:apply-templates select="//$param1/VALUE" />
which executes as
<xsl:apply-templates select="//TEST/VALUE" />
I'm hoping that its simply a syntax issue.
Thanks in advance.
Manny Hellstern
Houston, Tx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|