Login | |
|
 |
RE: Editing a XML file with vbs - 9/27/2007 3:16:59 AM
|
|
 |
|
| |
dm_4ever
Posts: 2723
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Do you know how to read the specific value you're trying to change? If so, rather than echo it out to the screen...have it equal your new value and then save the xml file.
_____________________________
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
|
|
| |
|
|
|
 |
RE: Editing a XML file with vbs - 9/28/2007 5:03:59 AM
|
|
 |
|
| |
ebgreen
Posts: 5250
Score: 31
Joined: 7/12/2005
Status: offline
|
This code does not do what you say you are trying to do. For one thing the XPath query would not return an entry node at all. Secondly, you say: "When I use entry key in my code it give me the error listed below." but the code that you posted does not mention Entry at all. Please post the actual code that you are running along with a snippet of the XML file that shows the structure from the root node down to the node that you are trying to change.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Editing a XML file with vbs - 9/28/2007 5:42:22 AM
|
|
 |
|
| |
ebgreen
Posts: 5250
Score: 31
Joined: 7/12/2005
Status: offline
|
Ok, so there is the XML. Now could you please post the actual code that you are running and explain precisely what the problem is with the code that you post?
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|