954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem with display parent & child nodes if XML not follows an Hierar Struc. in c#

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 on that point please help me ..
I will very thankful for that..

vishnu narayan
Newbie Poster
1 post since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You