Module Program Sub Main() Dim doc As XElement = XElement.Load("Inventory.xml") Dim petNames = From pn In doc... Select pn.Value For Each name In petNames Console.WriteLine("Name: {0}", name) Next End SubEnd Module