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. Web Development
  3. ASP.NET
  4. Problem with display parent & child nodes if XML not follows an Hierarchical structure

Problem with display parent & child nodes if XML not follows an Hierarchical structure

Scheduled Pinned Locked Moved ASP.NET
helpquestionadobegame-devxml
2 Posts 2 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
    Vishnu Narayan Mishra
    wrote on last edited by
    #1

    Hello every one ! How can I display node of parent node and corresponding child nodes.Suppose I have to display 'Label' nodes of all . There can be multiple inside parent node .In this case I have to display Label 'rediffHomePage' and 'rediffHomePage1' of both node.But I have to display corresponding Label of FieldsToSupport/FieldToSupport' of ..In this case I have to display Label 'HotJobs'and 'Game' for 'rediffHomePage' similarly display Label 'Images' and 'Air Tickets' for rediffHomePage1'. For example on click an Item like rediffHomePage from a repeater/dataList It should display Label like 'HotJobs' and 'Game'of FieldToSupport. How can I display Label of corresponding FieldsToSupport/FieldToSupport on click on corresponding Label of ..How can I do this ? following is the structure of XML file, which is not follows an hierarchical structure of XML.. -------------------------------------------------------------------- 199d1dfd-63ca-4271-b234-77da0f579e0e ... 1 ... HotJobs ... ... Game ... rediffHomePage e62abc49-efc7-4a5d-908f-33f2f4df070b ... 2 .. Images .. ... Air Tickets ... rediffHomePage1 -------------------------------------------------------------------- I am not very familiar with how displaying XML contents.. I tried this way.. But stuck

    S 1 Reply Last reply
    0
    • V Vishnu Narayan Mishra

      Hello every one ! How can I display node of parent node and corresponding child nodes.Suppose I have to display 'Label' nodes of all . There can be multiple inside parent node .In this case I have to display Label 'rediffHomePage' and 'rediffHomePage1' of both node.But I have to display corresponding Label of FieldsToSupport/FieldToSupport' of ..In this case I have to display Label 'HotJobs'and 'Game' for 'rediffHomePage' similarly display Label 'Images' and 'Air Tickets' for rediffHomePage1'. For example on click an Item like rediffHomePage from a repeater/dataList It should display Label like 'HotJobs' and 'Game'of FieldToSupport. How can I display Label of corresponding FieldsToSupport/FieldToSupport on click on corresponding Label of ..How can I do this ? following is the structure of XML file, which is not follows an hierarchical structure of XML.. -------------------------------------------------------------------- 199d1dfd-63ca-4271-b234-77da0f579e0e ... 1 ... HotJobs ... ... Game ... rediffHomePage e62abc49-efc7-4a5d-908f-33f2f4df070b ... 2 .. Images .. ... Air Tickets ... rediffHomePage1 -------------------------------------------------------------------- I am not very familiar with how displaying XML contents.. I tried this way.. But stuck

      S Offline
      S Offline
      Sun Rays
      wrote on last edited by
      #2

      Hi, Please post this article in Xml forum.

      Thanks, Sun Rays Rate this post if you like answer. My Articles

      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