Re: [xsl] There must be a better way

Subject: Re: [xsl] There must be a better way
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Oct 2001 12:55:54 +0100
N > <xsl:if test="not(//CHAPTER[number($partNo)]=//CHAPTER[last()])">
 > <a href="{$next}"><img src="next.GIF" alt="Next" border="0"/></a>
 > </xsl:if>
 > </xsl:template>
 > 
 > 
 > It does work, however, it strikes me that it is not really very efficient.
 > Particularly the bottom piece for detecting if I
 > am in the last chapter.
<xsl:if test="not(following-sibling::CHAPTER)">

uses the axes, luke

sebastian


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


Current Thread