I have a date attribute in a class that I want to marshal in XML in a certain date 
pattern "mm/dd/yyyy HH:mm", 
which is different than the ISO 8601 format of YYYY-MM-DDTHH:MM:SS.NNNN (plus a 
timezone offset).  Is 
this possible?  

Currently I have the mapping as 
    <field name="Timestamp" type="java.util.Date">
        <xml name="TIMESTAMP" node="element"/>
    </field>

This generates the ISO 8601 form of the date as expected.  How can I change the 
mapping file to do what I 
want?  I'd obviously have to change the type to a String, but how can I specifiy a 
pattern?

Thanks



Regards
Milind



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to