Edit XML nodes

Demon4231

New member
Joined
Nov 16, 2008
Messages
4
Programming Experience
Beginner
Is there a fast way to Edit an XML node? Or do I have to rewrite everything?
 
Last edited:
Well I have an XML file that looks like:

<Data>
<Login UserName="UserName" Password="Password"/>
<Application Name="AppName" Key="AppKey" Owner="AppOwner1"/>
<Application Name="AppNAme" Key="AppKey" Owner="AppOwner2"/>
<Application Name="AppName" Key="AppKey" OWner="AppOwner3"/>
<Owner Name="AppOwner1"/>
<Owner Name="AppOwner2"/>
<Owner Name="AppOwner3"/>​
</Data>

and I want to be able to change the user name or password, or any of the application names/keys.
 
Here are basics: http://www.vbcity.com. Since you have elements under the data element with the same name you will need to loop thru them searching for the Name attribute then you will have node to change the Key. Let me know if need more assistance.
 
Back
Top