|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: There must be a better way
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








