Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Help trying to Parse XML file >Thread Next - Re: Help trying to Parse XML file Re: Help trying to Parse XML fileTo: NULL Date: 3/1/2006 7:11:00 PM weaver.ca wrote: > But I'm new to this and am having trouble with xml files, I can read > the text from the first node but never seem to get further then that. What script language are you using or do you want to use? > How would I read each machine node? I want the Text from each instance > of /Joblog/Backup/Machine within each file. MSXML documentation is here: <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_xmlprod.asp> it has sample sections like this <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/81f3de54-3b79-46dc-8e01-73ca2d94cdb5.asp> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/52fa0881-a2d8-4d30-a5dc-2a85ec87effe.asp> that could help. If /Joblog/Backup/Machine is meant to be an XPath expression then you can use the selectNodes method to find those element nodes and iterate over them. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
