假设我想将页码“01”打印为两个单独的数字 0 和 1,从 1 到 9 0X-> 01,02,03.... 从 10 到 99 10,11,12
<fo:table-cell xsl:use-attribute-sets="TableCellBorder">
<fo:block>
<xsl:value-of select="substring(<fo:page-number/>, 1, 1)"/> //0 or first page-number digit
</fo:block>
</fo:table-cell>
<fo:table-cell xsl:use-attribute-sets="TableCellBorder">
<fo:block>
<xsl:value-of select="substring(<fo:page-number/>, 2, 1)"/>//second page-number digit
</fo:block>
</fo:table-cell>
任何想法如何做到这一点?