You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Christopher A. Brooks" <we...@netrpg.com> on 2000/12/07 01:35:55 UTC

xsl:fo - Number formatting

Hi,

    I'm trying to change the page numbering in my table of contents to roman
numerals instead of integers.  I tried some code like:

<fo:page-sequence master-name="PageLayout" initial-page-number="1"
format="i">
  <!-- Footer. -->
  <fo:static-content flow-name="xsl-region-after">
    <fo:block text-align="center" font-family="Times Roman"
font-size="10pt">
    Page <fo:page-number/>
  </fo:block>
  </fo:static-content>
...
But I get a build message saying that "format" is being ignored and the
numbers come out as integers.  Ideas? (I looked at the limitations page for
the apache project, but couldn't see this there).  I'm using FOP 0.15.0 and
whatever xerces came with it (I think 1.2.1).

If this just isn't going to work, any ideas on a work around?

Thanks,

(please cc me in the list mailing)
Chris
--
Christopher A. Brooks, NetRPG

Email: webmaster@netrpg.com
Web: http://www.netrpg.com/webmaster/