Hi
all,
I have
generated the castor class and in the descriptor file for a Node it looks like
this
desc =
new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Double.TYPE,
"_xorgAmt", "XorgAmt",
org.exolab.castor.xml.NodeType.Element);
Since
i need to format the XorgAmt to have 0.00 i have used
return new
java.text.DecimalFormat("#.00").format(target.getXorgAmt());
In the
generated xml i'm getting it as
<XorgAmt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:java.lang.String">290.99</XorgAmt>
But i
need it as
<XorgAmt>290.99</XorgAmt>
Is
there any way to remove this whole string, and why i'm getting this
.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:java.lang.String"
Thanks & Regards
Veer Desikan
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
