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
  1. Home
  2. General Programming
  3. XML / XSL
  4. Editing an XML node (C#)

Editing an XML node (C#)

Scheduled Pinned Locked Moved XML / XSL
csharpxmlc++databasecom
4 Posts 3 Posters 0 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
    AnneThorne
    wrote on last edited by
    #1

    Hello, We are building a windows desktop application using C# that reads in an xml file, to create a user interface. The user then enters values into the user interface. We want to be able to save an xml file with the same schema as the original xml file, but with the users entered values into it. Here is a simple example as part of input document: Needs Cleaning radio yes no We would want the output document to contain: Needs Cleaning radio yes yes no or perhaps Needs Cleaning text yes We aren't too adept at xmlTextReaders and xmlTextWriters yet, and have been doing some research in Google. There was an interesting article that seemed pertinent to this, but it dealt with C++ : http://www.codeproject.com/csharp/dcinsertxml.asp Any help would be appreciated. Thank you! Anne

    G M 3 Replies Last reply
    0
    • A AnneThorne

      Hello, We are building a windows desktop application using C# that reads in an xml file, to create a user interface. The user then enters values into the user interface. We want to be able to save an xml file with the same schema as the original xml file, but with the users entered values into it. Here is a simple example as part of input document: Needs Cleaning radio yes no We would want the output document to contain: Needs Cleaning radio yes yes no or perhaps Needs Cleaning text yes We aren't too adept at xmlTextReaders and xmlTextWriters yet, and have been doing some research in Google. There was an interesting article that seemed pertinent to this, but it dealt with C++ : http://www.codeproject.com/csharp/dcinsertxml.asp Any help would be appreciated. Thank you! Anne

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      The article you are referring to (http://www.codeproject.com/csharp/dcinsertxml.asp[^]) is written using C#! -- modified at 18:57 Wednesday 19th April, 2006

      1 Reply Last reply
      0
      • A AnneThorne

        Hello, We are building a windows desktop application using C# that reads in an xml file, to create a user interface. The user then enters values into the user interface. We want to be able to save an xml file with the same schema as the original xml file, but with the users entered values into it. Here is a simple example as part of input document: Needs Cleaning radio yes no We would want the output document to contain: Needs Cleaning radio yes yes no or perhaps Needs Cleaning text yes We aren't too adept at xmlTextReaders and xmlTextWriters yet, and have been doing some research in Google. There was an interesting article that seemed pertinent to this, but it dealt with C++ : http://www.codeproject.com/csharp/dcinsertxml.asp Any help would be appreciated. Thank you! Anne

        G Offline
        G Offline
        George L Jackson
        wrote on last edited by
        #3

        If you are using .NET Framework 2.0, this may be helpful: http://www.15seconds.com/issue/050601.htm[^]

        1 Reply Last reply
        0
        • A AnneThorne

          Hello, We are building a windows desktop application using C# that reads in an xml file, to create a user interface. The user then enters values into the user interface. We want to be able to save an xml file with the same schema as the original xml file, but with the users entered values into it. Here is a simple example as part of input document: Needs Cleaning radio yes no We would want the output document to contain: Needs Cleaning radio yes yes no or perhaps Needs Cleaning text yes We aren't too adept at xmlTextReaders and xmlTextWriters yet, and have been doing some research in Google. There was an interesting article that seemed pertinent to this, but it dealt with C++ : http://www.codeproject.com/csharp/dcinsertxml.asp Any help would be appreciated. Thank you! Anne

          M Offline
          M Offline
          Michael A Barnhart
          wrote on last edited by
          #4

          Lookup usage of the "innerxml" property of the entry elements when recieving the returned data. "Every new day begins with possibilities. It's up to us to fill it with things that move us toward progress and peace.” (Ronald Reagan)

          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