|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] There must be a better wa, David Carlisle | Thread | Re: [xsl] There must be a better wa, Thomas B. Passin |
| Re: [xsl] Re: RE: Re: Re: "*|@*|tex, Sebastian Rahtz | Date | [xsl] Re: Tree from a flat list - b, Dimitre Novatchev |
| Month |