XDocument.Load (String) creates a new XDocument from a file.
Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim doc As XDocument = XDocument.Load("data.xml")
Console.WriteLine(doc)
End Sub
End Class