The first couple elements on your XPath are in the http://www.exchangenetwork.net/schema/node/2
namespace in your XML document. You'll have to specify that namespace for the QueryResponse
and Results
elements for your XPath to work.
Alternatively, if there's only a single SRS:SubstanceInformation
in Results
anyway, you might just skip over QueryResponse
and Results
via //
:
//SRS:SubstanceInformation/SRS:ChemicalSubstance/SRS:ChemicalSubstanceIdentification