Imports System
Imports System.Xml
Imports System.Xml.XPath
Imports System.Text
Imports System.IO
Public Class MainClass
Public Shared Sub Main()
Dim sb As StringBuilder = New StringBuilder()
Dim xws As XmlWriterSettings = New XmlWriterSettings()
xws.OmitXmlDeclaration = True
Using xw = XmlWriter.Create(sb, xws)
Dim root As XElement =
child content
root.Save(xw)
End Using
Console.WriteLine(sb.ToString())
End Sub
End Class