I have a custom list and i would like to have a row number.
I did use the
<xsl:number/>and that worked but
when i click on the next page of the list the number resets itself back to 1 again.
Is there a way to have the row number continue when paging.
Thanks in advance
Why not try the
If the xml you are transforming only contains the data to be displayed on a single page, rather than the complete set, then the XSL has no way of knowing the row number in the context of the complete set. You then become responsible for calculating it.
You probably know the page size and page index as you are managing the paging. You could pass these values into the transformation as arguments.