Title: Splitting the XML up in multiple Ojects

Is it possible to unmarshal the following XML file to book and other Objects?

<item>
 <book>
  <title>test</title>
 <book>
 <book>
  <title>another title</title>
 </book>
 <serial>
  <title>serial title</title>
 </serial>
</item>

With this example I would like to have 2 Book objects and 1 Serial Object after unmarshalling.
Is this possible?

Reply via email to