Class XslTransformer
Provides a static method that applies an XSL stylesheet to an XML document
Inheritance
Inherited Members
Namespace: Telerik.Apoc
Assembly: TelerikData.dll
Syntax
public sealed class XslTransformer
Methods
Transform(String, String)
Applies the style sheet xslFile to the XML document identified by xmlFile.
Declaration
public static Stream Transform(string xmlFile, string xslFile)
Parameters
|
System.String
xmlFile
Path to an XML document |
|
System.String
xslFile
Path to an XSL stylesheet |
Returns
|
System.IO.Stream
A Stream representing a sequence of XSL:FO elements |
Remarks
This method will create a temporary filename in the system's temporary directory, which is automatically deleted when the returned stream is closed. System.Xml.Xsl.XslTransform
Exceptions
|
ApocException
The files xmlFile and xslFile do not exist or are inaccessible. The XSL file cannot be compiled |