Re: [xsl] TOC despair

Subject: Re: [xsl] 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