Re: [Simple-support] Dynamic element names
Brought to you by:
niallg
|
From: Niall G. - Y. <Nia...@yi...> - 2014-11-11 23:09:35
|
Hi, The only way to do this is imperatively using a Converter. See the @Convert annotation. Niall From: Aon Geek [mailto:ao...@gm...] Sent: 12 November 2014 05:09 To: sim...@li... Subject: [Simple-support] Dynamic element names Hi, I was wondering if there is any way to have dynamic element names while serializing objects to xml. Such as <transaction98765> <ts>xxxx</ts> <node></node> </transaction98765>. I have this requirement where our data exchange protocol expect ids appended to the transaction element. Appreciate your help. Thanks, -Azhar |