| 
 
Subject: Re: [xsl] Using Position() to display results in groups From: Gavin Corfield <gavin@xxxxxxxxxxxxxxxxxx> Date: Mon, 20 Aug 2001 13:12:18 +0800  | 
> <card id="firstpage"> > (results 1-10) > <a href="#secondpage">next10</a> > </card> > > <card id="secondpage"> > (results 11-20) > <a href="#thirdpage"> > </a> > > HiAndrew, Use xsl:choose: <xsl:choose> <xsl:when test="position() < 11> blah </xsl:when> <xsl:when test="position() < 21> blah </xsl:when> </xsl:choose> according to the spec the processor will select the first 'when' condition matched according to document order. gavin XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] Using Position() to display r, Andrew Welch | Thread | RE: [xsl] Using Position() to displ, Andrew Welch | 
| [xsl] [ANNOUNCE] XSLT-process 2.1 a, Ovidiu Predescu | Date | [xsl] streaming multiple XML input, Luc Pionchon | 
| Month |