Hallo all.
I need to change the attribute name that xstream uses for referencing
complex types.
Imagine this xml:
<message>
<payload class="giroconto-request">
<contoAddebito class="conto-corrente">
I need to change it with this one
<message>
<payload xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="giroconto-request">
<contoAddebito xsi:type="conto-corrente">
<codiceServizio>codiceServizio</codiceServizio>
Is there any elegant way to achieve this? (without having to replace it
with some java code).
Kind regards
Massimo
--
Massimo Ugues
http://m4zi.wordpress.com/
jabber: [email protected]
skype: m.ugues