如何在xslfo中为以下输出编写代码?
问题描述:
我有这样一个 记录列表当我使用<fo:list-item></fo:list-item>
IAM越来越输出如何在xslfo中为以下输出编写代码?
[1]. One
[2]. Two
[3]. Three
在这里,我们需要删除“”从该项目列表中删除。有人能帮忙吗 ? 在此先感谢
答
从
W3C xsl-fo spec
<fo:list-item>
<fo:list-item-label start-indent="5mm" end-indent="label-end()">
<fo:block>
<xsl:number format="1"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
修改样品指定您希望xsl:number format=
例如像里面的格式1
得到没有点的数字。