开发者

Header and footer and page numbers using xslt

开发者 https://www.devze.com 2023-02-07 16:30 出处:网络
Ive created a c# application which gets an xml file and a xslt file and creates a word document. This word document is to hav开发者_JAVA百科e a header a footer and page numbers but I can\'t figure out

Ive created a c# application which gets an xml file and a xslt file and creates a word document. This word document is to hav开发者_JAVA百科e a header a footer and page numbers but I can't figure out how to format this in xslt.

Thanks for your help


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

0

精彩评论

暂无评论...
验证码 换一张
取 消