troubleshooting Question

Getting child XmlNodeList and sub-child XmlNodeList from XmlNode

Avatar of tia_kamakshi
tia_kamakshiFlag for United Arab Emirates asked on
C#
2 Comments1 Solution581 ViewsLast Modified:
Hi

I am working in ASP.net3.5 using C#

I can getting XmlNodeList from my code and Its working great

XmlNodeList Alist = Ftemp[new string[] { "TripDetails", "TripCaption" }];
           
for (int i1 = 0; i1 < Alist.Count; i1++)
{
      System.Xml.XmlNode FNode = Alist[i1];
}

If I loop through each Node. I get Label Node

The sample of Node is

<Label name="Duration" isRequired="True" orderno="0" helpingtext="Number of days!" questionID="11" questionFormat="2">
      <Control type="Text Field (Single Line)" questionFormat="2" maxCount="1" displayCount="1" canAddMoreControls="False">
        <FieldValue id="11" visible="True">17</FieldValue>
        <FieldValue id="12" visible="True">18</FieldValue>
        <FieldValue id="18" visible="True">200</FieldValue>
      </Control>
    </Label>
   
 
How can I get attribute and value of another node called 'FieldValue'

I reached Label node, then how do I reach there childlist and sub childlist

Please guide
ASKER CERTIFIED SOLUTION
paololabe

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros