[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Counting nodes up to a certain sibling


Subject: Re: [xsl] Counting nodes up to a certain sibling
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Mar 2007 23:13:28 GMT

You want to group all nodes with each group starting with a span
containg a space, so in xslt2 that's

<xsl:for-each-group select="node()"
group-starting-with="span[contains(.,' ')]">
....

in xslt1 you'd use one of the standard grouping idioms, such as
muenchian grouping.


David


Current Thread