Imports System
Imports System.Xml
public class 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