/ Published in: XSLT
"current()" is what you want, not "."
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<xsl:when test="//benchmark/HoldingsMostRecentQuarter/Holdings/Holding[SubClassName=current()/SubClassName]"> <xsl:value-of select="//benchmark/HoldingsMostRecentQuarter/Holdings/Holding[SubClassName=current()/SubClassName]/SubClassValue"/> </xsl:when>
URL: http://www.devguru.com/technologies/XSLT/8351.asp