Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim xmlTree As XElement = _
1
2
3
4 data
5
Dim nodes = From nd In xmlTree.Nodes() _
Select nd
For Each node In nodes
Console.WriteLine(node)
Next
End Sub
End Class