Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim xmlTree As XElement = _
This is some text
where
test
This is a second sentence.
Dim elList = From el In xmlTree..Descendants _
Select el
For Each el As XElement In elList
Console.WriteLine(el)
Next
End Sub
End Class