I have a field 'Speed' of type 'int' in my class. I would like to map it to XML that looks like this
 
<speed units="km/hr">60</speed>
 
Notice that I need to map a single field to an element plus an attribute. Also the field 'units' does not belong to the class, it comes from outside. Is there someway to do this using a FieldHandler or otherwise?
 
Thanks,
Anupama


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to