Public Fuction ReadXML()
Dim xml As Object
Dim XMLDoc As New XmlDocument
Dim nodeList As XmlNodeList
' Dim node As XmlNode
XMLDoc.Load("C:\temp\examp
nodeList = XMLDoc.SelectNodes("area/t
For Each node As XmlNode In nodeList
Dim lsted As String = String.Empty
For Each attrib as XmlAttribute in node.Attributes
lsted = lsted + attrib.Value
Next
lblisted.Items.Add(lsted)
Next
End Function
Main Topics
Browse All Topics





by: webtubbsPosted on 2009-07-02 at 13:54:50ID: 24767628
Use the Attributes property. For example....
e
Dim id As String = node.Attributes("id").Valu
Wayne