Hi guys,
I am using FOP 0.94.
My current hot issue is changing the page number format. I would like to
change the regular numbers to their Dingbat counterparts. For example, I
would like to change 1 to this number in a white/black circle, which is in
Unicode is &x#2780;. So I've customized the Docbook template as follows:
<xsl:template name="page.number.format">
<xsl:param name="element" select="local-name(.)"/>
<xsl:param name="master-reference" select="''"/>
<xsl:choose>
<xsl:when test="$element = 'toc' and self::book">i</xsl:when>
<xsl:when test="$element = 'preface'">i</xsl:when>
<xsl:when test="$element = 'dedication'">i</xsl:when>
<xsl:otherwise>&x#2780;</xsl:otherwise>
</xsl:choose>
</xsl:template>
But it does not work. Does FOP support the Dingbat numbers?
Thank you a lot in advance!
Best wishes,
Nancy
--
View this message in context:
http://www.nabble.com/Changing-page-numbers-into-their-Dingbat-counterparts-tp19936055p19936055.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]