|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Alternative for current-group()
Hi,
I am constrained to use XSLT 1.0 and hence am trying to convert my XSL that uses the for-each-group loop into one that uses just for-each loop by Muenchian method. Once I select out the groups I want (using a combination of for-each loop and xsl:key), is there a way for me to get the equivalent of current-group() without running through another for-each loop? This is the loop I am trying to convert: <xsl:for-each-group select="//*[count(ancestor-or-self::*) = 3 group-by="@name"> <xsl:value-of select="sum(current-group()/descendant::value)"/> Thanks for your help. Bhaskar _________________________________________________________________ Catch the complete World Cup coverage with MSN http://content.msn.co.in/Sports/Cricket/Default.aspx
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







