VB script to edit XML
Posted on 2014-04-03
Can you provide an example way to insert an XML node into an existing XML file?
Currently there is a node within the XML like such: <MyFutureStuff /> and I would like to replace it with the contents of a text file.
The text file would include:
So, I would like the VB code to REPLACE <MyFutureStuff /> with the XML contents of the file AND if <MyFutureStuff /> doesn't exist, INSERT anyway...