| Subject: [xsl] for-each-group, group-starting-with - group based on  attribute value of first child... possible? From: Matt Poff <matt.poff@xxxxxxxxxxxxxxx> Date: Mon, 12 Feb 2007 16:24:49 +1300 | 
   <xsl:template  match="table">
           <xsl:for-each-group  select="tr"
               group-starting-with="td/@colspan=5">
                   <xsl:value-of select="current-group()" />
           </xsl:for-each-group>
   </xsl:template>Cheers, Matt
------------------------------------------------------------------- Matt Poff - Director
HEADFIRST LTD Web Developers Engaging | Useful | Works
Email: matt.poff@xxxxxxxxxxxxxxx Ph: 64 4 477 6075 Mob: 027 229 9584
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Optimisation -- premature, Andrew Welch | Thread | RE: [xsl] for-each-group, group-sta, Michael Kay | 
| Re: [xsl] how to test previous node, Kamal Bhatt | Date | RE: [xsl] for-each-group, group-sta, Michael Kay | 
| Month |