I have a DTL that reads an xml file and I want transform that to a list of objects but I have a problem looping through my xml as when I try I get the first instance on the xml not the whole XML being transformed. here is my example. Here is the output
<s01:WardOccupancy>
<s01:WardOccupancy>
<Organisation>BYG</Organisation>
</s01:WardOccupancy>
</s01:WardOccupancy>
</msg>from
<Message>
<Record>
<OrganisationCode>BYG</OrganisationCode>
</Record>
<Record>
<OrganisationCode>BYG</OrganisationCode>
</Record>
<Record>
<OrganisationCode>BYG</OrganisationCode>
