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

[no subject]

From: Rajagopal Srinivasan <RSriniva@xxxxxxxxxx>
Date: Mon, 4 Dec 2000 16:04:55 -0800
javascript paginate
Hi

I am generating a report that has first page, next page, prev page and last page links. When the user clicks on the last page link i need to somehow make the lastrow() function execute. i was trying something like this .....

		<a href="javascript:Paginate('1')">|&lt;</a>
		<a href="javascript:Paginate('-')">&lt;&lt;</a>
		<a href="javascript:Paginate('+')">&gt;&gt;</a>
		<a>
			<xsl:attribute name="href">
			       javascript:Paginate(<xsl:value-of select="/Report/Record::LastRow()"/>)    -> here i need to pass the result of the lastrow function.
			</xsl:attribute>
			&gt;|</a>
		&#xa0;]

I understand the above would'nt work because of the context of the statement. the  xml document is organised as follows 

<report>
	<record>
		<fld>.....</fld>
	</record>
	<record>
		<fld>.....</fld>
	</record>
	<record>
		<fld>.....</fld>
	</record>
</report>



----Raj


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


Current Thread
  • [no subject]
    • Rajagopal Srinivasan - Mon, 4 Dec 2000 16:04:55 -0800 <=

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.