Login | |
|
 |
RE: How to replace xml value URGENT!!! - 1/24/2007 1:47:21 PM
|
|
 |
|
| |
dm_4ever
Posts: 2721
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Your issue may be with this line: Set currNode = oXDoc.selectSingleNode("//book/author") maybe: Set currNodes = oXDoc.selectNodes("//MY.Servers/Server/Macro") or since an .xml is really just plain text, open it with the FileSystemObject, read it, use the Replace Function to replace your values, and then save it back to the xml file.
< Message edited by dm_4ever -- 1/24/2007 1:51:13 PM >
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|