Hi,
My xml is as below
<listalertsresponse cloud-stack-version="4.2.1">
<count>24</count>
<alert>
<id>ccee51a5-a06e-4a3d-bf3c-364f59b022e0</id>
<type>7</type>
<description>Unable to eject host
9f522af4-3601-4af8-aee2-54e3f20ff650</description>
<sent>2014-04-08T16:06:52+0900</sent>
</alert>
<alert>
<id>0a4c098b-b95b-4251-99fd-25e0350b1e84</id>
<type>7</type>
<description>Migration Complete for host name: P1-C1-H6 (id:6),
availability zone: Zone1, pod: Pod1</description>
<sent>2014-04-08T16:04:58+0900</sent>
</alert>
</listalertsresponse>
I know usually the element <alert> should be put inside the element
<alerts>,So jaxb can easily parse this xml to object
But How can I parse this kind of doc?
Can u give me a example plz
Best regards