[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member