xslt items count in every page
I have XML data and I need to display the data using a dynamic table in XSLT and generate a PDF file:
This table can span multiple pages based on number of items in the XML
in each and every page in the footer I need to display the items count on that page. For example a page can accommodate 10 items and if the xml has 15 nodes, I need to display item count as 10 in the first page and 5 in the second page footer.
XML input:
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
<items>
<itemPin>123..</itemPin>
<amount></amount>
</items>
|