Re: How can I dynamically pass data to be formatted??

2002-01-29 Thread Thierry Gounelle



BRAHMA wrote:

> Hi All,
>
> Again a question...!!
>  ---
>
>
>
>5
>16%
> 8000
>58000
>DM
>100
>
>
> --
> 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?
> 
>  decimal-separator="," grouping-separator="."/>
>
> 
>  select="format-number($net_amount, '#.###,00', 'eurofrmt')"/>
> 
>

You should try





This is basic xsl/xpath stuff.

thierry


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




How can I dynamically pass data to be formatted??

2002-01-28 Thread BRAHMA


 
Hi Jochen & Thierry ,
  
Thanks for the immediate reply
As you said
  decimal-separator="," grouping-separator="."/>
1)  select="format-number(,
'#.###,00',
  'eurofrmt')"/> ==> this is not working...
throwing an exceptionwhich is
  not allowed...
2)But
 
and using it as
  ==>  which is
displaying a value as "NAN"
if the following is used
  decimal-separator="," grouping-separator="."  NaN=" - "
zero-digit="0"/>
displaying a "-"
can any body help me in solving this.please...
best regards
  brahma
-
 
[EMAIL PROTECTED] wrote:
if the net_amount is in the root (like shown)
and yout templatematch is "/"
then just do this:
decimal-separator="," grouping-separator="."/>

select="format-number(, '#.###,00',
'eurofrmt')"/>

that should work, or if it doesn't work put the value as shown in a
xsl:variable and then use that one for your formatting
regards
Jochen Maes
EDP departement
Programmeur
KBC-Securities
Havenlaan 16
1080 Brussel
Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]
**
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must
not,
directly or indirectly, use, disclose, distribute, print, or copy any
part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**************
 
           
BRAHMA
   
   
-intl.com> 
cc:
   
Subject: How can I dynamically pass data to be
formatted??
   
28-01-02 04:57 PM
   
Please respond to fop-dev
 
 
Hi All,
    Again a question...!!
 ---
   
   
   
   5
   16%
   
8000
   58000
   DM
   100
   
   
--
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?

decimal-separator="," grouping-separator="."/>

select="format-number($net_amount, '#.###,00', 'eurofrmt')"/>

or

select="format-number($total_amount, '#.###,00', 'eurofrmt')"/>


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
 (See attached file: brahmaiah.kurabalakota.vcf)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
--
-
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]


Re: How can I dynamically pass data to be formatted??

2002-01-28 Thread Thierry Gounelle


Hi Brahma,
When you dynamicaly, do you mean that depending on an external parameter
you want, using the same xsl-fo file, write down either the total_amount
or the net_amount?
If so, you can for instance define a XML parameter file you read into
your xsl-fo file with the "document(...)" fonction, and test what you want
to print...
Or you can pass parameters to your xsl-fo template, but I am not sure
if it's possible to do it programatically to-day.
Thierry
BRAHMA wrote:
Hi All,
    Again a question...!!
 ---
   
   
   
   5
   16%
   
8000
   58000
   DM
   100
   
   
--
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?

decimal-separator="," grouping-separator="."/>

select="format-number($net_amount, '#.###,00', 'eurofrmt')"/>

or

select="format-number($total_amount, '#.###,00', 'eurofrmt')"/>


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
 

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




Re: How can I dynamically pass data to be formatted??

2002-01-28 Thread Jochen . Maes



if the net_amount is in the root (like shown)
and yout templatematch is "/"
then just do this:




, '#.###,00',
'eurofrmt')"/>


that should work, or if it doesn't work put the value as shown in a
xsl:variable and then use that one for your formatting


regards



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


   
   
BRAHMA 
   
  cc:
   
                    Subject: How can I 
dynamically pass data to be formatted??
28-01-02 04:57 PM  
   
Please respond to fop-dev  
   
   
   
   
   




Hi All,

Again a question...!!
 ---
   
   
   
   5
   16%
8000
   58000
   DM
   100
   
   
--
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?








or








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
 (See attached file: brahmaiah.kurabalakota.vcf)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]








=?iso-8859-1?Q?brahmaiah.kurabalakota.vcf?=
Description: Binary data

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


How can I dynamically pass data to be formatted??

2002-01-28 Thread BRAHMA


Hi All,
 
    Again a question...!!
 ---
   
   
   
   5
   16%
   
8000
   58000
   DM
   100
   
   
--
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?

decimal-separator="," grouping-separator="."/>
 

select="format-number($net_amount, '#.###,00', 'eurofrmt')"/>

or

select="format-number($total_amount, '#.###,00', 'eurofrmt')"/>


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]