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. Path to an XML document |
System. Path to an XSL stylesheet |
Returns
System. 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.
Exceptions
Apoc The files xmlFile and xslFile do not exist or are inaccessible. The XSL file cannot be compiled |