Hello, I have xml like below
<ns:response xmlns:ns="http://example.com" xmlns:ax="http://example.com/xsd" >
<ns:return type="mytype">
<ax:roleID>1</ax:roleID>
<ax:roleName>ADM</ax:roleName>
</ns:return>
<ns:return type="mytype">
<ax:roleID>2</ax:roleID>
<ax:roleName>USR</ax:roleName>
</ns:return>
</ns:response>
How should look XPath expression for getting all roleNames (ADM, USR) ? That one below is not working
ns:response/ns:return/ax:roleName ns http://example.com ax http://example.com/xsd
I'm getting an exception:
'ns:response/ns:return/ax:roleName ns http://example.com ax http://example.com/xsd' has an invalid token.