Parse XML response with xpathsnippet

hi,

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.

xpathsnippet("<IsSuccessful>true</IsSuccessful>","//IsSuccessful/text()")

Can anyone please provide a solution?

Parents Reply Children
No Data

 Discussion posts and replies are publicly visible