This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No Subject


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]