【问题标题】:Header and footer and page numbers using xslt使用 xslt 的页眉和页脚以及页码
【发布时间】:2011-01-29 18:24:42
【问题描述】:

我创建了一个 c# 应用程序,它获取一个 xml 文件和一个 xslt 文件并创建一个 word 文档。这个word文档有一个页眉页脚和页码,但我不知道如何在xslt中格式化。

感谢您的帮助

【问题讨论】:

标签: c# xml header page-numbering


【解决方案1】:

如果您特别需要在 XSL 中使用某些东西,那么您可以在页脚区域 (xsl-region-after) 中有一个块,在该块中您可以有这个 sn-p。

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

HTH

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-20
    • 2013-11-13
    • 2012-12-10
    • 1970-01-01
    • 1970-01-01
    • 2018-02-02
    • 2023-01-12
    • 1970-01-01
    相关资源
    最近更新 更多