I`ve been trying to get distinct attribute values from the XML: dim i,xmlOx,arr(100) "xmlOx" has following xml structure
<root>
<a x="Animal" y="Bird"/>
<a x="Animal" y="Bird"/>
<a x="Country" y="Bird"/>
<a x="Animal" y="Bird"/>
</root>
asp:
for i=0 xmlOx.selectNodes("a").length-1
arr(i)=xmlOx(i).selectNodes("a").getAttribute("x")
next
Like,here ive to get "x" attribute values but I don
t need duplicates.Then I need to add the values to an array in vbscript.
Please someone tell me how we do it?