Using XslCompiledTransform to do the transformation : XML Transform « XML « VB.Net






Using XslCompiledTransform to do the transformation

    
Public Class Example11

    Shared Sub Main()
        Dim xslt As System.Xml.Xsl.XslCompiledTransform

        xslt = New System.Xml.Xsl.XslCompiledTransform()
        xslt.Load("pubs.xslt")
        xslt.Transform("pubs.xml", "output.html")

    End Sub
End Class

   
    
    
    
  








Related examples in the same category

1.XML XSL transformationXML XSL transformation
2.XML Transform: Applying a sytle to an XML document
3.Save Transformed XML into a HTML file
4.Transforms an XML document into an HTML document
5.XslTransform Class
6.Hard code the xsl and do the transform