Return to Snippet

Revision: 26004
at April 15, 2010 14:30 by tclancy


Initial Code
<xsl:when test="//benchmark/HoldingsMostRecentQuarter/Holdings/Holding[SubClassName=current()/SubClassName]">
   <xsl:value-of select="//benchmark/HoldingsMostRecentQuarter/Holdings/Holding[SubClassName=current()/SubClassName]/SubClassValue"/>
</xsl:when>

Initial URL
http://www.devguru.com/technologies/XSLT/8351.asp

Initial Description
"current()" is what you want, not "."

Initial Title
XSL: Refer to Current Node in for-each

Initial Tags


Initial Language
XSLT