Is there a way to update xml nodes with vbscript? say I have a javascript variable with a value of 100, and I want it to replace the text of a node in an xml file.
Why should it always us to image up an environment containing all the elements to show you something that may not coincide with your environment?
>Is there a way to update xml nodes with vbscript?
Short answer. Create an instance of DOMDocument object. Use .load method the xml, use xpath to get to the reference of the node. Use .text to replace the value. Use .save to save a hardcopy of the xml updated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.