Hello, I'm trying to assert SOAP response by using Xpath to select particular nodes, here is my XML response
<return>
<contactList>
<contacts>
<person>
<contactId>3426</contactId>
<personName>
<names>
<firstName>Cosi</firstName>
<lastName>Como</lastName>
<middleName>Midi</middleName>
</names>
</personName>
</person>
</contacts>
</contactList>
</return>
I'm trying to get contactId value, I tried both this //contactList/contacts/person[contactId='3426']/contactId
and //*[local-name()='contactList'] /contacts/person[contactId='3426']
and none work I get this result No Nodes Matched
how? this is valid xpath syntax and valid path is there an alternative?