[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: TOC despair
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 04 Dec 2003 01:04:28 +0100
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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member