Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim document As XPathDocument = New XPathDocument("domainBooks.xml")
Dim navigator As XPathNavigator = document.CreateNavigator()
navigator.MoveToChild("bookstore", "http://www.domain.com/books")
navigator.MoveToChild("book", "http://www.domain.com/books")
Dim bookChildren As XPathNodeIterator = navigator.SelectChildren("", "http://www.domain.com/books")
While bookChildren.MoveNext()
Console.WriteLine(bookChildren.Current.Name)
End While
End Sub
End Class