W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2008

Currency format in a PDF

From: jlr <jean.stachler@crown.com>
Date: Fri, 23 May 2008 06:44:37 -0700 (PDT)
Message-ID: <17425898.post@talk.nabble.com>
To: www-xsl-fo@w3.org


How can I include the currency format in a pdf document?
I have the FinalTotal value displayed in the table, but I would
like to have the value formatted in the manner of $XXX,XXX.XX
instead of the plain number value.
Your comments are much appreciated.
CODE BELOW:
          
      <fo:table-body>
        <fo:table-row border-after-style="double" >                   
            <fo:table-cell xsl:use-attribute-sets="cell-padding"
border="solid black 0.5px" >   
                <fo:block xsl:use-attribute-sets="detailtableright">     
                   <xsl:value-of select="header/FinalTotal"/>                         
                </fo:block>                           
            </fo:table-cell>    
        </fo:table-row>
      </fo:table-body> 
                   
Thank you,
jlr    
-- 
View this message in context: http://www.nabble.com/Currency-format-in-a-PDF-tp17425898p17425898.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Friday, 23 May 2008 13:45:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 23 May 2008 13:45:16 GMT