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')">|<</a>
<a href="javascript:Paginate('-')"><<</a>
<a href="javascript:Paginate('+')">>></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>
>|</a>
 ]
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