xsl-list
[Top] [All Lists]

Re: [xsl] Xpath and Ranges

2006-08-04 07:29:35

This is a grouping problem you don't need any of the tricky xpath <<
stuff.
just something like

<chapter>
<xsl:for-each-group   select="node()" group-starting-with="title">
<sect1>
<xsl:apply-templates select="current-group()"/>
</sect1>
</xsl:for-each-group>
</chapter>

well that only makes sect1 I'd need a bit more context to know how you
can infer nested sections.

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>