Imports System.Xml.Xsl
Public Class SymEnc
Public Shared Sub Main(ByVal CmdArgs() As String)
Dim myXslTransform As XslTransform = New XslTransform()
Dim destFileName As String = "ShowIt.html"
myXslTransform.Load("xsltFile.xslt")
myXslTransform.Transform("xmlFile.xml", destFileName)
System.Diagnostics.Process.Start(destFileName)
End Sub
End Class
|