Mega Code Archive
Saves all the children of the node to the specified XmlWriter
Imports System
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
Dim doc as XmlDocument = new XmlDocument()
doc.LoadXml("" & _
"C#" & _
"")
Dim root as XmlElement = doc.DocumentElement
Dim writer as XmlTextWriter = new XmlTextWriter(Console.Out)
writer.Formatting = Formatting.Indented
root.WriteTo(writer)
end sub
end class