Hi,
I have an inside node in my XML and I’m not sure how to handle it.
Example:
<policy>
<PolicyNumber>one</PolicyNumber>
<PolicyCategory>cat one</PolicyCategory>
<CancelationRequestDate>date one</CancelationRequestDate>
<CancelationContent>con one</CancelationContent>
</policy>
<policy>
<PolicyNumber>two</PolicyNumber>
<PolicyCategory>cat two</PolicyCategory>
<CancelationRequestDate>date two</CancelationRequestDate>
<CancelationContent>con two</CancelationContent>
</policy>
This section is sometimes repetitive - meaning it can show up to 5 times inside the XML. Might as well show only once. (I mean the parts between to )
How do you read this part in order to get all the values even though they have the same tag name?
How do I read it when sometimes I’ve got only one node and sometime 5 of them?
Hope my question makes sense thanx!