hi everyone,
I'm having a small isuue using the "FindNodes" function.
I get an XML like this:
![2ceowdceawsp.png]()
I have to get all the "depotCode" nodes in one list. I was firstly using
but I was loosing the node under "sortDepot". I tried to use
But of course, I don't get anything, because there are no ".." nodes.
Is there any way to map together all the nodes under "transitDepot" and "sortDepot" ? They should be toghether, becasue i have to take them in order...
Thnak you very much
I'm having a small isuue using the "FindNodes" function.
I get an XML like this:

I have to get all the "depotCode" nodes in one list. I was firstly using
XMLDomMgmt.FindNodes(locautXmlDoc,'//labelResponse/consignment/consignmentLabelData/transitDepots/transitDepot/depotCode',xmlNodeList);
but I was loosing the node under "sortDepot". I tried to use
XMLDomMgmt.FindNodes(locautXmlDoc,'//labelResponse/consignment/consignmentLabelData/transitDepots/../depotCode',xmlNodeList);
But of course, I don't get anything, because there are no ".." nodes.
Is there any way to map together all the nodes under "transitDepot" and "sortDepot" ? They should be toghether, becasue i have to take them in order...
Thnak you very much