Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - How to traverse through all the nodes in an XML document [Thread Next] Re: How to traverse through all the nodes in an XML documentTo: NULL Date: 9/1/2004 2:42:00 PM Murtaza Tinwala wrote: > Is there any way I can get all nodes from the root node? Or, let > me put this question in another way. Is there an easy way to modify > XML document. Say, I want to make minor changes to an XML document > and donot want to touch the rest of the document? How can I do this? > > Murtaza. You could do your changes using XSLT and use XPath to get the nodes you want to edit. An expression like "//*" gets all the nodes in the XML document. For a quick introduction to XSLT and XPath have a look at http://www.w3schools.com/ . | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
