- From: David Carlisle <davidc@nag.co.uk>
- Date: Tue, 14 Mar 2006 11:01:10 GMT
- To: jyotsna.ginjupalli@fmr.com
- CC: www-xsl-fo@w3.org
The XSL transformation just generates the XSL FO document and at that point the page numbers are not known (you might for instance print the same FO file with different FO renderers and get different page numbers). So you can not access page numbers or other page-break information from the transformation stage. If you need to generate numbers that reset on every page break then this may be possible if your FO engine offers some extensions that make page break information available, or it may not be possible at all, depending on the system you are using. The above is assuming that your page breaks are being determined by the FO renderer from one long block that is split across pages. If your documents are of a type where you can determine the page breaks within XSL (for example if it's a tabular format and you know how many lines will fit on each page) then of course you can do the page breaking and numbering all within XSLT, and generate a series explicit unbreakable pages in the FO file so that all FO engines produce the same page breaks and numbering. David
Received on Tuesday, 14 March 2006 12:23:17 UTC