Saves all the children of the XmlDocument node to the specified XmlWriter.
Imports System
Imports System.Xml
Imports System.Xml.Schema
Imports System.Xml.XPath
Class XPathValidation
Public Shared Sub WriteXml(doc As XmlDocument)
Dim writer As New XmlTextWriter(Console.Out)
writer.Formatting = Formatting.Indented
doc.WriteContentTo(writer)
writer.Flush()
Console.WriteLine()
End Sub 'WriteXml
Public Shared Sub Main()
End Sub
End Class