Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim srcTree As XDocument = _
data1
data2
info8
Dim doc As XDocument = _
<%= From el In srcTree..Elements _
Where CStr(el).StartsWith("data") _
Select el %>
Console.WriteLine(doc)
End Sub
End Class