|
-
July 13th, 2007, 09:18 AM
#1
New to XML
I am new to working with XML, and I am having trouble wrapping my head around one of the concepts. I have an xml file formatted as follows:
<List>
<Item>
<Stat1>Blah</Stat1>
<Stat2>Blah</Stat2>
<Stat3>Blah</Stat3>
</Item>
<Item>
<Stat1>Blah</Stat1>
<Stat2>Blah</Stat2>
<Stat3>Blah</Stat3>
</Item>
<Item>
<Stat1>Blah</Stat1>
<Stat2>Blah</Stat2>
<Stat3>Blah</Stat3>
</Item>
</List>
I need to be able to search for a particular item based upon it's value for Stat1, and then I need to be able to retrieve Stat2 and Stat3 for that item. I know that I can load them all into a node list and select all nodes matching my search criteria, but I am unsure how to proceed from there (assuming that is the right way to begin). Any help would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|