Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: ASP: Cannot read the attributes of my XML file (can read the tags) >Thread Next - Re: ASP: Cannot read the attributes of my XML file (can read the tags) Re: ASP: Cannot read the attributes of my XML file (can read the tags)To: NULL Date: 2/8/2008 3:20:00 PM zzapper wrote: > What is the equivalent of > address_address_1 = > objXML.documentElement.childNodes(1).childNodes(1).text > > using the node names eg address & address_1 instead of numerical > indexes? You can use XPath objXML.setProperty "SelectionLanguage", "XPath" objXML.documentElement.selectSingleNode("address/address_1").text I have not checked whether that XPath fits your sample XML posted earlier but you should get the idea. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
