Hello,
i'm trying to read the nodes from an xml document

Dim sr As System.IO.Stream
sr = Downloader.OpenRead("myfile.xml")
Dim xml As Xml.XmlDocument
xml.Load(sr)

Dim nodelist As XmlNodeList = xml.SelectNodes("List")
For Each node As XmlNode In nodelist
Dim fname As String = node.Attributes["Name"].Value


and it gives me this error

identifier expected



what should i do?