![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: MSXML query newbie question [Thread Next] Re: MSXML query newbie questionTo: NULL Date: 7/4/2005 3:59:00 PM shawn wrote: > the links are indeed helpful... > do u have any info about manipulation of the retrieved nodes and > writing these back to the XML ? The DOM (document object model) allows manipulation of nodes so check out the properties and methods in the link already posted: <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/d051f7c5-e882-42e8-a5b6-d1ce67af275c.asp> You can use the nodeValue property to change the content of text or attrbibute nodes, the MSXML DOM also has a property named 'text' allowing to change the text content of element nodes. Nodes have methods appendChild, removeChild, insertBefore, replaceChild to manipulate the content in forms of nodes in the tree model. As for saving back, the MSXML DOM document has a method named save for that allowing you to save to a file or stream so you manipulate the in memory DOM tree as outlined above and then call save as needed to serialize and save the tree. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
