Transforms input documents using a supplied XSLT template.
- Namespace
- Statiq
.Core - Interfaces
- Base Types
-
- object
- Module
- ParallelModule
Syntax
public class TransformXslt : ParallelModule, IModule, IParallelModule
Remarks
This module uses
System.Xml.Xsl.XslCompiledTransform with default settings. This means that the
XSLT document() function and embedded scripts are disabled. For more information
see the MSDN documentation.
Constructors
| Name | Summary |
|---|---|
| TransformXslt |
Transforms input documents using a specified XSLT file from the file system as provided by a delegate. This allows you to use different XSLT files depending on the input document. |
| TransformXslt |
Transforms input documents using the output content from the specified modules. The modules are executed for each input document with the current document as the input to the specified modules. |
Properties
| Name | Property Type | Summary |
|---|---|---|
| Parallel | bool |
Indicates whether documents will be
processed by this module in parallel.
Inherited from ParallelModule
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| AfterExecution |
void |
Called after each module execution.
Inherited from Module
|
| AfterExecutionAsync |
Task |
Called after each module execution.
Inherited from Module
|
| BeforeExecution |
void |
Called before each module execution.
Inherited from Module
|
| BeforeExecutionAsync |
Task |
Called before each module execution.
Inherited from Module
|
| ExecuteAsync |
Task |
This should not be called directly, instead call
IExecutionContext.Execute() if you need to execute a module from within another module.
Inherited from Module
|
| ExecuteContextAsync |
Task |
Executes the module once for all input documents.
Inherited from ParallelModule
|
| ExecuteInputAsync |
Task |
|
| Finally |
void |
Called after each module execution, even if an exception is thrown during execution.
Inherited from Module
|
| FinallyAsync |
Task |
Called after each module execution, even if an exception is thrown during execution.
Inherited from Module
|