xsl-list
[Top] [All Lists]

RE: [xsl] html subsection headers xpath

2007-10-03 10:03:03
How do I limit to <h4> elements following the current <h3> 
element, up until the next <h3> element?

In 2.0, <xsl:for-each-group group-starting-with="h3">.

In 1.0,

following-sibling::h4[generate-id(preceding-sibling::h3[1]) =
generate-id(current())]

Michael Kay
http://www.saxonica.com/


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