Hi All,
 
        Again a question...!!
 ---------------------------------------------------
           <?xml version="1.0"?>
           <root>
           <money>
           <net_amount>50000</net_amount>
           <vatrate>16%</vatrate>
            <vat>8000</vat>
           <total_amount>58000</total_amount>
           <currency_symbol>DM</currency_symbol>
           <ratio>100</ratio>
           </money>
           </root>
------------------------------------------------------
So I want to format the money value..I can use the format function....

But how can I dynamically select money value from xml file and pass to the format function of  xsl?
------------------------------------------------
<xsl:decimal-format name="eurofrmt"
decimal-separator="," grouping-separator="."/>
 
<xsl:template match="/">
<xsl:value-of
select="format-number($net_amount, '#.###,00', 'eurofrmt')"/>
</xsl:template>

or

<xsl:template match="/">
<xsl:value-of
select="format-number($total_amount, '#.###,00', 'eurofrmt')"/>
</xsl:template>
--------------------------------------------------------

Any suggestion is a great help for me........  :).
 

best regards
 brahma

---------------------------------------------
Brahmaiah Kurabalakota
Software Developer
eMIS eMerging Information Systems GmbH
Am Friedrichsbrunnen
D-24782 Büdelsdorf
Tel.: +49 (4331) 447 1520
Mobile: +49 (172) 5372297
mailto: [EMAIL PROTECTED]
www.emis-intl.com
 

begin:vcard 
n:Brahmaiah;kurabalakota
tel;cell:+49-1725372297
tel;work:eMIS GmbH
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Brahma
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to