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. Add XML to an XMLNode

Add XML to an XMLNode

Scheduled Pinned Locked Moved XML / XSL
questionxmltutorial
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.
  • N Offline
    N Offline
    NewbieDude
    wrote on last edited by
    #1

    Hey howzit? All i wanna do is put some XML in a node and return it thats it. How do I achieve this? Could you provide an example? -- modified at 7:29 Tuesday 28th March, 2006

    G 1 Reply Last reply
    0
    • N NewbieDude

      Hey howzit? All i wanna do is put some XML in a node and return it thats it. How do I achieve this? Could you provide an example? -- modified at 7:29 Tuesday 28th March, 2006

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

      You need to specify a programming language. -- modified at 23:36 Wednesday 29th March, 2006

      N 1 Reply Last reply
      0
      • G George L Jackson

        You need to specify a programming language. -- modified at 23:36 Wednesday 29th March, 2006

        N Offline
        N Offline
        NewbieDude
        wrote on last edited by
        #3

        Oh sorry mate, so used to posting on C# forum. I wanna do it in C# please

        I 1 Reply Last reply
        0
        • N NewbieDude

          Oh sorry mate, so used to posting on C# forum. I wanna do it in C# please

          I Offline
          I Offline
          imsathy
          wrote on last edited by
          #4

          XmlDocument xDoc = new XmlDocument(); XmlElement el = xDoc.CreateElement("Root"); el.InnerXml= retXml;//retXml is the xml string xDoc.AppendChild(el); return xDoc; sathy

          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