I have an XML in the following format:
<parent>
  <item1>100</item1>
  <item2>name</item2>
  <item3>
    <value>firstname</value>
    <value>lastname</value>
    <value>workphone</value>
  </item3>
</parent>

I am trying to come up with a mapping to convert the above XML to a Map
object with 

key = item1, value=100
key = item2, value=name
key = item3, value=List<String> containing firstname, lastname, workphone

Is it even possible to bind the given XML this way? Could someone please
help with a partial mapping/ example to achieve the above unmarshalling?
-- 
View this message in context: 
http://www.nabble.com/XML-Binding-for-a-Map-tp24503165p24503165.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to