Could u please help me?
krishna
How to get each Node value in XML through loop using C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
david89 02 pointsPosted Aug 20, 2005, 12:17 AM EDT
(pseudocode)
for o = numberofchildren
XmlNode child = parent.ChildNodes.Item(i);
next o
and to obtain the value of that node you'd have to, weirdly, then get the FirstChild property of each child and echo that value. Yesterday when using Xml I found that just echonig child.Value wasn't enough!
desperadogopal12 pointsPosted Aug 21, 2005, 8:46 PM EDT
I have found solution through XmlNodeReader. it's quite simple.
Thank u.