How to find ordinal position of an element in XML using VBScript & XPATH
- by chazzuka
I have an XML like this
<response>
<doc>
<arr name="URL"><str>string</str></arr>
<arr name="ID"><int>1</int></arr>
</doc>
<doc>
<arr name="URL"><str>string</str></arr>
<arr name="ID"><int>2</int></arr>
</doc>
<doc>
<arr name="URL"><str>string</str></arr>
<arr name="ID"><int>3</int></arr>
</doc>
</response>
How to get the ordinal position of doc element which has element arr(1)/int text = 2
I am Using Classic ASP
thanks