XML VB.Net

Imports System
Imports System.Xml
Imports System.Xml.Xsl
Imports System.Xml.Schema
Imports System.Linq
Imports System.Collections
Imports System.Collections.Generic
Class MainClass
    Shared Sub Main()
        Dim xslMarkup As XDocument = _
            
            
                
                    
                        
                            
                        

                        
                            
                        

                    

                
            
        Dim xmlTree As XElement = _
                
                    Child1 data
                    Child2 data
                

        Dim newTree As XDocument = New XDocument()
        Using writer As XmlWriter = newTree.CreateWriter()
            Dim xslt As XslCompiledTransform = _
                New XslCompiledTransform()
            xslt.Load(xslMarkup.CreateReader())
            xslt.Transform(xmlTree.CreateReader(), writer)
        End Using
        Console.WriteLine(newTree)
    End Sub
End Class