XPath without using local-name() or name() functions
问题 I have to parse oprResult/@code from below XML using XPath. The XPath expression //*[local-name()='oprResult']/@code is working as expected, BUT I could not use name or local-name functions as '(' ')' are used as delimiter in my parsing function. Is it possible to parse oprResult without local-name ? <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ChangeResponse xmlns="http://www.example.com" code="0" message="Success"> <oprResult code="0" message="Success"