Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. XML / XSL
  4. how to update an XML file

how to update an XML file

Scheduled Pinned Locked Moved XML / XSL
csharpxmltutorialquestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abhishek Tiwari 0
    wrote on last edited by
    #1

    Hi, I am trying to update a simple xml file with the following structure, in VB.NET. I am new to XML. 10 20 30 40 14 24 45 45 I just want to replace the values in the "" and ""with new values. No new nodes to be added, just modify these values in VB.NET. Can somebody tell me how to do this? Abhishek -- modified at 2:28 Tuesday 14th February, 2006

    G 1 Reply Last reply
    0
    • A Abhishek Tiwari 0

      Hi, I am trying to update a simple xml file with the following structure, in VB.NET. I am new to XML. 10 20 30 40 14 24 45 45 I just want to replace the values in the "" and ""with new values. No new nodes to be added, just modify these values in VB.NET. Can somebody tell me how to do this? Abhishek -- modified at 2:28 Tuesday 14th February, 2006

      G Offline
      G Offline
      Gokulan Venattil
      wrote on last edited by
      #2

      You can load the xml in to a XmlDocument object and do the changes in it by using the Select single node method. And finally save the document. Gokul

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups