Use VB.Net to edit xml

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhuntsman
    New Member
    • Feb 2008
    • 3

    Use VB.Net to edit xml

    I have the following XML file:

    Code:
    <File>
       <Users>
          <User Name="TestUser">
             <Option Name="Pass">Password</Option>
             <Option Name="Group">Group</Option>
             <Permissions>
                <Option Name="FileRead">1</Option>
                <Option Name="FileWrite">0</Option>
             </Permissions>
          </User>
          <User Name="TestUser2">
             <Option Name="Pass">Password2</Option>
             <Option Name="Group">Group</Option>
             <Permissions>
                <Option Name="FileRead">1</Option>
                <Option Name="FileWrite">0</Option>
             </Permissions>
          </User>
       </Users>
    </File>
    I need to add another User Element with everything in it. I cannot for the life of me figure out how to do this. I have been working on this for the last couple days. I am new to vb, so please bear with me. All help is greatly appreciated.
  • rhuntsman
    New Member
    • Feb 2008
    • 3

    #2
    Anyone? I would really appreciate any help.

    Comment

    Working...