Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Node value Node valueTo: NULL Date: 11/7/2007 11:59:00 AM
I can read the value of xml node by:
xmlAdv.getElementsByTagName("Avdertisments").item(0).childNodes(0).text
This works but I would like to read the value of some node by its name
instead of index:
xmlAdv.getElementsByTagName("Avdertisments").item(0).childNodes("advID").text
but this won't work.
What is the right sintax?
thank you,S
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
