Can't really tell if you tried this or not, but I'd do something like this:
VB Code:
Dim xml As New XmlDocument() xml.Load("YourFile.xml") Dim xmlMediaNodeList As XmlNodeList = xml.DocumentElement.SelectNodes("//media") If Not xmlMediaNodeList Is Nothing Then For Each xmlMediaNode As XmlNode In xmlMediaNodeList 'do something with the node... Next End If




Reply With Quote