phaseshift
IS-IT--Management
I have an XML file like the following:
<idx?
<Node1 attribute="">
<Element1 attribute1="" attribute2="" attribute3="" attribute4=""> </item>
</Node1>
< attribute="">
<Node2 attribute1="" attribute2="" attribute3="" attribute4=""> </item>
</Node2>
</idx>
I need to pasre through and read the attributes of the "item" elements where I have about 15 "item" elements.
I started by using XmlDocument.SelectSingeNode but that only gives me one. I have a nodelist loaded up but can't get the attributes. I know this is a simple thing and when I see it I am going to feel like an idiot. But hey it's monday morning right.
Thanks
<idx?
<Node1 attribute="">
<Element1 attribute1="" attribute2="" attribute3="" attribute4=""> </item>
</Node1>
< attribute="">
<Node2 attribute1="" attribute2="" attribute3="" attribute4=""> </item>
</Node2>
</idx>
I need to pasre through and read the attributes of the "item" elements where I have about 15 "item" elements.
I started by using XmlDocument.SelectSingeNode but that only gives me one. I have a nodelist loaded up but can't get the attributes. I know this is a simple thing and when I see it I am going to feel like an idiot. But hey it's monday morning right.
Thanks