Loading ...
Sorry, an error occurred while loading the content.

Re: two newbie questions

Expand Messages
  • qye2020
    Thank you very much. ... 123,456.00 in ... terms of
    Message 1 of 3 , Jun 24, 2002
    • 0 Attachment
      Thank you very much.


      --- In XSL-FO@y..., Oleg Tkachenko <olegt@m...> wrote:
      > qye2020 wrote:
      >
      > > 1. how to convert number 123456 in original xml file to
      123,456.00 in
      > > fo file?
      > Take a look at xslt's format-number() function:
      > <xsl:value-of select="format-number('123456', '#,##0.00')"/>
      >
      > > 2. how to show total page number such as PAGE 1 OF 5?
      > That's pretty easy, but beware - that's rather expensive task in
      terms of
      > memory consumption (I'm talking about fop).
      > use <fo:page-number> and <fo:page-number-citation> objects.
      > Dave Pawson's tutorial is your friend:
      > http://www.dpawson.co.uk/xsl/sect3/bk/ch11.html
      >
      > --
      > Oleg Tkachenko
      > Multiconn International Ltd, Israel
    Your message has been successfully submitted and would be delivered to recipients shortly.