Imports System
Imports System.Xml
Imports System.Xml.XPath
Imports
Module Module1
Sub Main()
Dim xmlTree As XElement = _
1
2
3
4
5
Dim elements = From el In xmlTree.Elements _
Where el.Value <= 3 _
Select el
For Each el In elements
Console.WriteLine(el)
Next
End Sub
End Module