XslTransform Class
Imports System
Imports System.Xml.Xsl
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim xslt As New XslCompiledTransform()
xslt.Load(CType("http://server/favorite.xsl", String))
Dim mydata As New XPathDocument("inputdata.xml")
Dim writer As New XmlTextWriter(Console.Out)
xslt.Transform(mydata, Nothing, writer, Nothing)
End Sub
End Class
Related examples in the same category