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 Many Root Nodes?

How Many Root Nodes?

Scheduled Pinned Locked Moved XML / XSL
csharpxmlquestion
4 Posts 4 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.
  • H Offline
    H Offline
    Heinz_
    wrote on last edited by
    #1

    Hi all, I've never worked with xml before until i started to write apps in C#. I use xml for config files and i want to know how many root nodes a xml file can have? I've seen in other aplications' xmls and they have always one, i'm not really sure about this so i posted this thread. Child nodes a root node can have many as you want, i know that. Thanx

    C L D 3 Replies Last reply
    0
    • H Heinz_

      Hi all, I've never worked with xml before until i started to write apps in C#. I use xml for config files and i want to know how many root nodes a xml file can have? I've seen in other aplications' xmls and they have always one, i'm not really sure about this so i posted this thread. Child nodes a root node can have many as you want, i know that. Thanx

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Heinz Suez wrote: how many root nodes a xml file can have One, hence the term 'root node'. Christian Graus - Microsoft MVP - C++

      1 Reply Last reply
      0
      • H Heinz_

        Hi all, I've never worked with xml before until i started to write apps in C#. I use xml for config files and i want to know how many root nodes a xml file can have? I've seen in other aplications' xmls and they have always one, i'm not really sure about this so i posted this thread. Child nodes a root node can have many as you want, i know that. Thanx

        L Offline
        L Offline
        LiquidE_SA
        wrote on last edited by
        #3

        Visit www.w3schools.com They've got great tutorials on XML, XML applications & software.

        1 Reply Last reply
        0
        • H Heinz_

          Hi all, I've never worked with xml before until i started to write apps in C#. I use xml for config files and i want to know how many root nodes a xml file can have? I've seen in other aplications' xmls and they have always one, i'm not really sure about this so i posted this thread. Child nodes a root node can have many as you want, i know that. Thanx

          D Offline
          D Offline
          DavidNohejl
          wrote on last edited by
          #4

          If you don't find what you are loking for in W3Schools (excellent resource btw), go directly to XML spec. (e.g http://www.w3.org/TR/2004/REC-xml11-20040204/[^]) there is *everything* you ever need to know about XML :) Little hard to read but once you learn notations it is great! And of course Christian is right, root node is one and only one. Never forget: "Stay kul and happy" (I.A.)
          David's thoughts / dnhsoftware.org / MyHTMLTidy

          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