Hi Friends,
I am new to this XML & XSL. I want to write a template which takes two arguements and it should take the node name and node value. in template i want to format the input value.
Please share if any one can guide me on this.
The below values i want to format the float values each with different formats.
for example first two values should be always 3 digits format.
and 3rd node i want to display always 3decimals.
4th node i want to display always 4 decimal values.
5th node i want to display always 8 decimal values
example XML is:
<MY_DATA>
<ROWDATA>
<VALUE1>5</VALUE1>
<VALUE2>33</VALUE2>
<FVALUE1>2.11</FVALUE1>
<FVALUE2>0.55</FVALUE2>
<FVALUE3>0.000004532</FVALUE3>
</ROWDATA>
<ROWDATA>
<VALUE1>34</VALUE1>
<VALUE2>12</VALUE2>
<FVALUE1>239.81</FVALUE1>
<FVALUE2>0.132</FVALUE2>
<FVALUE3>0.00410302</FVALUE3>
</ROWDATA>
</MY_DATA>
can any one guide me how to write template..
Regards,
haranadh