|
Subject: Re: re[xsl] - newbie question - <xsl: when test From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 25 Jan 2001 16:46:23 GMT |
> <xsl:when test="id=$lastid">
since you have sorted it you can go:
<xsl:when test="position() < 6">
otherwise you could have gone
<xsl:when test="id - $lastid < 5">
David
<xsl:element name="A">
<xsl:attribute name="href">#q<xsl:value-of
select="id"/></xsl:attribute>
That could more simply be written
<A href="#{id}">
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| re[xsl] - newbie question - <xsl: w, Sam Griffiths | Thread | Re: re[xsl] - newbie question - <xs, Goetz Bock |
| RE: [xsl] xsl reorder, Julian F. Reschke | Date | Re: re[xsl] - newbie question - <xs, Goetz Bock |
| Month |