XPATHSNIPPET --> I have the following XML response from a REST We

XPATHSNIPPET -->

I have the following XML response from a REST WebService.

<ResponseStatus Code=0></ResponseStatus><ResponseStatus Code=2></ResponseStatus><ResponseStatus Code=3></ResponseStatus><ResponseStatus Code=4></ResponseStatus>

I want to only get Response Status Code = 3.

How do I get it?

Its like if an array = 4, I need to get the 3rd element in the array.

xpathsnippet((//ResponseStatus/@Code.[3]) does not work


Any idea?

...

OriginalPostID-86254

OriginalPostID-86254

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data