[no subject]

From: Rajagopal Srinivasan <RSriniva@xxxxxxxxxx>
Date: Mon, 4 Dec 2000 16:04:55 -0800
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 <=