Click or drag to resize
XslTransformerTransform Method
Applies the style sheet xslFile to the XML document identified by xmlFile.

Namespace: Kettic.AspNet.Controls.Toolkit.Apoc
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public static Stream Transform(
	string xmlFile,
	string xslFile
)

Parameters

xmlFile
Type: SystemString
Path to an XML document
xslFile
Type: SystemString
Path to an XSL stylesheet

Return Value

Type: Stream
A Stream representing a sequence of XSL:FO elements
Exceptions
ExceptionCondition
ApocException The files xmlFile and xslFile do not exist or are inaccessible. The XSL file cannot be compiled
Remarks
This method will create a temporary filename in the system's temporary directory, which is automatically deleted when the returned stream is closed.
See Also

Reference

System.Xml.XslXslTransform