xsl-list
[Top] [All Lists]

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

2007-03-08 16:13:51

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>