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. Parsing XML

Parsing XML

Scheduled Pinned Locked Moved XML / XSL
data-structuresxmljsonhelp
3 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.
  • V Offline
    V Offline
    Vipin Venugopal
    wrote on last edited by
    #1

    Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin

    L A 2 Replies Last reply
    0
    • V Vipin Venugopal

      Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Vipin Venugopal wrote:

      to two arrays

      Arrays of what? In what language? On what platform?

      led mike

      1 Reply Last reply
      0
      • V Vipin Venugopal

        Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin

        A Offline
        A Offline
        ajisthekingofpop
        wrote on last edited by
        #3

        If its C# you are working in, then just deserialise the XML document into a standard POCO (Plain old CLR object) and then run a loop on it to take all the data you want out and place it into an Array (or Generic List).

        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