Dear all,
I am having some problems with XPath. I want to retrieve A’s address from script below.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetDOA xmlns="Lib.DOA.Service">
<GetDOAResult>
<data>
<name> A</name>
<address>1</address>
</data>
<data>
<name> B</name>
<address>2</address>
</data>
</GetDOAResult>
</GetDOA>
</soap:Body>
</soap:Envelope>
I can do it perfectly without Nintex with //data[@name=’A’]/address but as Nintex has some namespaces it doesn’t work with Nintex. I have tried //defaultNS:[@name=’A’]/address or //defaultNS[@name=’A’]:address and anything but none of them works. Can you please help? Thanks!