Posted By

tclancy on 04/15/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

gelogenic
Tyster


XSL: Refer to Current Node in for-each


 / Published in: XSLT
 

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

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

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: sales2u on July 31, 2010

test

You need to login to post a comment.