I\'m trying to locate the value for in the following XML File using a XPath query.
You should write it like this:
iNode := Sel.selectNode('//Link[@role = "self"]');
which will get you the first Link node in the document with attribute role="self" (even if there is more than one).
Or you can go the absolute path:
iNode := Sel.selectNode('/Response/ResourceSets/ResourceSet/Resources/DataflowJob/Link[@role = "self"]');
or even something in between
iNode := Sel.selectNode('//Resources/DataflowJob/Link[@role = "self"]');