XMLDomMgmt.FindNodes(locautXmlDoc,'//labelResponse/consignment/consignmentLabelData/transitDepots/transitDepot/depotCode',xmlNodeList);
XMLDomMgmt.FindNodes(locautXmlDoc,'//labelResponse/consignment/consignmentLabelData/transitDepots/../depotCode',xmlNodeList);
XMLDomMgmt.FindNodes(locautXmlDoc,'//labelResponse/consignment/consignmentLabelData/transitDepots//depotCode',xmlNodeList);
Answers
Paster your XML in there, paste your selection XPath and see what's coming up
There is a bunch of sample XPath expressions on the freeformatter site. They are helping with understanding the syntax and build more advanced selections
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
I've solved with