[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] creating page links


Subject: Re: [xsl] creating page links
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 6 Jan 2003 14:54:28 GMT

  I would like to have navigation where each page number is
  displayed:

  1 2 3 4 5


I think you mean

<xsl:for-each select="item[position() mod 50 = 0]">
<a href="page{position()}.html"><xsl:value-of select="position()"/></a>
<xsl:text> </xsl:text>
</xsl:for-each>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread