xsl-list
[Top] [All Lists]

Re: TOC despair

2003-12-03 17:04:28
Gustaf Liljegren wrote:
  <xsl:if test="count(following::section) = 0">

Try
 test="not(following-sibling::section[1])"

(The [1] is a potential performance enhancement)
The following::section will get *all* section elements
after the current, even in following chapters.

J.Pietschmann


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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