[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using Position() to display results in groups
> <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
|
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
|