Hai mgriffith, thanks for replying, here is my ASP code:
<%
set xmlcountry = server.createobject("microsoft.xmldom")
xmlcountry.async = false
xmlcountry.load("hotel.xml")
strpath = "/hotels/hotel[preceding-sibling::country != country]/country"
Set clist =...
hello,
May I know how to select distinct items from a XML file? For example, I have a XML file contains the list of hotels in different countries, how do I select the distinct country from XML just like 'select distinct country from tblhotel' in SQL using ASP?
I've found the code select the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.