Imports System
Imports System.Xml.Linq
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim employees As XElement = XElement.Load("EmployeesAndTasks.xml")
Dim linqQuery = From task In employees.... _
Select EmployeeName = task.Parent.Parent..Value, _
TaskName = task..Value, _
task..Value _
Order By EmployeeName
End Sub
End Class