Let's say I am iterating through the following XML:
<Account Info="1234"> <Number>3333</Number> </Account> <Account Info="0007"> <Number>4444</Number> </Account> Dim MyNodes As XmlNodeList = xmldoc.GetElementsByTagName("Account") For Each node As XmlNode In MyNodes 'Get attribute of the current 'Info' node Next
I need to somehow go back within the loop and get the parent node's attribute value.
Help appreciated!
No comments:
Post a Comment