Parse XML response with xpathsnippet


I have an xml response containing tags like <a:IsSuccessful>true</a:IsSuccessful>. And I want to retrieve the value of a:IsSuccessful. 

I am trying below code but it throws an error-

xpathsnippet( pv!response, "//a:IsSuccessful/text()" )

When I try a tag without colon (like below) it works fine.


Can anyone please provide a solution?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data