posted 15 years ago
I am trying to create an xsl:for whose select is based on the value for previous for loop. For instance
<xsl:for....>
//I get value of some node such as
<xsl:variable name="nodevalue">
<xsl:value-of select="." />
</xsl:variable>
Now I want to use the above nodeValue in my next xsl:for
<xsl:for-each select="/Employees/Employee[@operationrequested=<xsl:value-of select="$nodevalue" /> ]">
but this does not work...
How do I make the select attribute in <xsl:for> dynamic???
thanks in advance..
Cheers
SCJP 1.4, SCWCD 1.4, SCBCD 1.5, TOGAF 9, Comptia Cloud+