1

Ive created a c# application which gets an xml file and a xslt file and creates a word document. This word document is to have a header a footer and page numbers but I can't figure out how to format this in xslt.

Thanks for your help

Dimitre Novatchev
  • 240,661
  • 26
  • 293
  • 431
lilly1
  • 185
  • 1
  • 3
  • 8
  • 4
    This seems like a duplicate of your previous question http://stackoverflow.com/questions/4838364/how-do-i-create-page-numbers-in-xslt – jasso Jan 29 '11 at 18:38

1 Answers1

-1

If you specifically need something to be used in XSL, then you can have a block in the footer region (xsl-region-after) and within that block you can have this snippet.

<fo:block text-align="right"><fo:page-number format="1"/><fo:page-number-citation format="1" ref-id="last-page"/></fo:block>

HTH

this-Me
  • 2,139
  • 6
  • 43
  • 70