I am struggling to find out how to pull out the tracking number(s) values from the following XML:
<ShipmentHeader>
<DocumentID>62017836-1</DocumentID>
<DocumentReference type="CustomerSuppliedReference">
<DocumentID>
<ID>10532</ID>
</DocumentID>
</DocumentReference>
<Status>
<Code/>
<Description languageID="en-us"/>
</Status>
<ActualShipDateTime>2023-06-07T09:16:33-04:00</ActualShipDateTime>
<ShippingMethod>CHEAPEST METHOD W/FIRST CLASS</ShippingMethod>
<DocumentReference type="TrackingNumber">
<TrackingNumber>9200190233107605458375</TrackingNumber>
</DocumentReference>
</ShipmentHeader>
From what I have seen, it seems that I must use reflection, but I just cannot get it to work.
Can anyone give me any pointers please?