Imports System
Imports System.Xml
publicclass Sample
public shared Sub Main()
Dim settings As New XmlReaderSettings()
settings.IgnoreWhitespace = True
Using reader As XmlReader = XmlReader.Create("2books.xml")
reader.MoveToContent()
reader.Read()
Console.WriteLine(reader.ReadInnerXml())
Console.WriteLine(reader.ReadOuterXml())
End Using
End Sub
End class