I need to get the contents of several nodes based on their parent nodes id attribute.
XML looks like this
<?xml version='1.0' ?>
<data>
<page id="1">
....other elements
</page>
<page id="2">
....other elements
</page>
</data>
I need to use asp to get all values within elements that have a parent node with a specific id. For, example, getting all of the elements within the "page" node that has an id of 1
I did find an xmldom resource which listed things like "nodeByID" but I couldn't get that to work.
Thanks in advance for any help on this
XML looks like this
<?xml version='1.0' ?>
<data>
<page id="1">
....other elements
</page>
<page id="2">
....other elements
</page>
</data>
I need to use asp to get all values within elements that have a parent node with a specific id. For, example, getting all of the elements within the "page" node that has an id of 1
I did find an xmldom resource which listed things like "nodeByID" but I couldn't get that to work.
Thanks in advance for any help on this