[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

10 records per page

Subject: 10 records per page
From: "Mandeep S Dhadda" <m.s.dhadda@xxxxxxxxxxx>
Date: Mon, 3 Feb 2003 09:58:50 -0000
select 10 records
Hello,

I have common question. The question is how to show 10 records at a time and
also show navigation links i.e page1 page2 which  will show the other
records. I have checked the example at
http://www.dpawson.co.uk/xsl/sect2/sect21.html but can't see how it make it
work in mine. I am very new to xsl!

This is mine: (It shows the first 10 records)!

	  <xsl:for-each select="feedbackDetailsTag[position() mod 10 = 1]">
							<tr>

								<td width="11%" height="18" bgcolor="#FFFFFF" class="bold">
									<p>
										<a>
											<xsl:attribute name="href">
												<xsl:value-of
select="$Portal.Servlet.Normal"/>GI_ID=<xsl:value-of
select="../../../@id"/>&amp;read_feedback=true&amp;feedback_id=<xsl:value-of
select="feedbackIdTag"/></xsl:attribute>
											<xsl:value-of select="userNameTag"/>
										</a>
									</p>
								</td>
								<td colspan="3" bgcolor="#FFFFFF">
									<p>
										<xsl:value-of select="feedbackDateTag"/>
									</p>
								</td>
								<td width="29%" bgcolor="#FFFFFF">
									<p>
										<xsl:value-of select="messageCategoryTag"/>
									</p>
								</td>
								<td width="34%" bgcolor="#FFFFFF">
									<p>
										<xsl:value-of select="requireFeedbackTag"/>
									</p>
								</td>
							</tr>


						</xsl:for-each>

Thanks

Mandeep


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.