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>
--~--