hi
this is my xml
<XMLResponse>
<Product>
<Items>
<ID>AA</ID>
</Items>
<Items>
<ID>BB</ID>
</Items>
<Items>
<ID>CC</ID>
</Items>
<Items>
<ID>AA</ID>
</Items>
<Items>
<ID>AA</ID>
</Items>
<Items>
<ID>BB</ID>
</Items>
</Product>
</XMLResponse>
this is the code i using in my classic asp
<%
Response.ContentType = "text/plain; charset=UTF-8"
Dim xd3
Set xd3 = Server.CreateObject("Msxml2.DOMDocument.3.0")
xd3.async = False
xd3.load(Server.MapPath("01.xml"))
For Each item In xd3.selectNodes("/XMLResponse/Product/Items[not(/ID=preceding-sibling:Product/Items/ID)]/ID")
response.write item.getElementsByTagName("items").item(0).getElementsByTagName("ID").item(0).text
next
%>
But the about asp code is not working fine
I need output like this with distinct ID's
ID: AA ID: BB ID: CC