' Collection of code snippets by Arne Vajhøj ' posted to eksperten.dk, usenet and other places (2002-now) Imports System Imports System.Xml Module Main Sub Main() Dim doc As XmLDocument = New XmlDocument doc.Load("C:\test.xml") Dim n As XmlNode = doc.SelectSingleNode("//SNAPSHOT/SECTION[@Name='Info']/PROPERTY[@Name='Audit_Agent']") Console.WriteLine(n.OuterXml) Console.WriteLine(n.Attributes("Value").Value) End Sub End Module