Click here to Skip to main content
15,911,848 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML MessageBoard Pin
AndreaTheDove5-May-07 6:06
AndreaTheDove5-May-07 6:06 
QuestionReading and writing to an xml document Pin
steve_rm4-May-07 7:02
steve_rm4-May-07 7:02 
AnswerRe: Reading and writing to an xml document Pin
led mike4-May-07 16:56
led mike4-May-07 16:56 
QuestionXML into DB webservice Pin
ukfrosty4-May-07 4:57
ukfrosty4-May-07 4:57 
AnswerRe: XML into DB webservice Pin
led mike4-May-07 17:02
led mike4-May-07 17:02 
Questionfile vsdisco doesn't come up Pin
hariyani3-May-07 19:27
hariyani3-May-07 19:27 
AnswerRe: Parent Node of Selected Text Pin
sathesh pandian28-Jun-07 1:37
sathesh pandian28-Jun-07 1:37 
QuestionHow to search a node in XML? Pin
Affan Toor3-May-07 4:32
Affan Toor3-May-07 4:32 
Hi!
I am using C#, i want to search a node in XML file having a given Attribute. the structure of XML file is not known, i.e. we dont know that how many nodes are there and each node conatins how many child nodes.

following is a sample of the structure of XML file. I want to traverse all nodes of file and return the "Name" attribute of the node if it matches with the user defined string.

<ROOT>
<Group Name="A" ID="1">
<Group Name="C" ID="3">
<Group Name="D" ID="4" />
</Group>
<Group Name="E" ID="5">
<Group Name="F" ID="6">
<Group Name="G" ID="7" />
</Group>
</Group>
</Group>
<Group Name="B" ID="2" />
</ROOT>

I tried to do it with recursion but could not handle it. Please tell me how to do it.

Thanks in advance..

Regards,
Affan Ahmad Toor
AnswerRe: How to search a node in XML? Pin
Stefan Troschuetz3-May-07 9:08
Stefan Troschuetz3-May-07 9:08 
GeneralWrite XML from DataSet in ASP.Net Pin
Psycho-*Coder*-Extreme2-May-07 14:52
Psycho-*Coder*-Extreme2-May-07 14:52 
AnswerRe: xml Pin
Stefan Troschuetz1-May-07 23:30
Stefan Troschuetz1-May-07 23:30 
QuestionXml parser C Pin
deeps_cute1-May-07 21:30
deeps_cute1-May-07 21:30 
AnswerRe: Xml parser C Pin
Stefan Troschuetz1-May-07 21:34
Stefan Troschuetz1-May-07 21:34 
GeneralRe: Xml parser C Pin
deeps_cute1-May-07 21:42
deeps_cute1-May-07 21:42 
GeneralRe: Xml parser C Pin
Stefan Troschuetz1-May-07 21:53
Stefan Troschuetz1-May-07 21:53 
GeneralRe: Xml parser C Pin
DavidNohejl2-May-07 11:51
DavidNohejl2-May-07 11:51 
QuestionXSD validation on recursive XML elements [modified] Pin
janBarP1-May-07 20:44
janBarP1-May-07 20:44 
AnswerRe: XSD validation on recursive XML elements Pin
Stefan Troschuetz1-May-07 21:32
Stefan Troschuetz1-May-07 21:32 
AnswerRe: XSD validation on recursive XML elements Pin
BoneSoft2-May-07 4:52
BoneSoft2-May-07 4:52 
GeneralRe: XSD validation on recursive XML elements Pin
Stefan Troschuetz2-May-07 5:04
Stefan Troschuetz2-May-07 5:04 
GeneralRe: XSD validation on recursive XML elements Pin
BoneSoft2-May-07 10:11
BoneSoft2-May-07 10:11 
QuestionHow to Add Node Values from external xml file Pin
srieen1-May-07 6:58
srieen1-May-07 6:58 
AnswerRe: How to Add Node Values from external xml file Pin
George L. Jackson1-May-07 12:32
George L. Jackson1-May-07 12:32 
GeneralRe: How to Add Node Values from external xml file Pin
srieen2-May-07 6:49
srieen2-May-07 6:49 
QuestionNewbie on writing xml web service. need some advice Pin
lior_s30-Apr-07 20:52
lior_s30-Apr-07 20:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.