XslTransformerTransform Method |
Applies the style sheet xslFile to the XML document
identified by xmlFile.
Namespace: Kettic.AspNet.Controls.Toolkit.ApocAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static Stream Transform(
string xmlFile,
string xslFile
)
Public Shared Function Transform (
xmlFile As String,
xslFile As String
) As Stream
public:
static Stream^ Transform(
String^ xmlFile,
String^ xslFile
)
static member Transform :
xmlFile : string *
xslFile : string -> Stream
Parameters
- xmlFile
- Type: SystemString
Path to an XML document - xslFile
- Type: SystemString
Path to an XSL stylesheet
Return Value
Type:
StreamA Stream representing a sequence of XSL:FO elements
ExceptionsException | Condition |
---|
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 AlsoReference
System.Xml.XslXslTransform