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.
Usage
-
Xslt(DocumentConfig xsltPath)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.
xsltPathA delegate that should return a
Wyam.Common.IO.FilePathwith the XSLT file to use.
-
Xslt(FilePath xsltPath)Transforms input documents using a specified XSLT file from the file system.
xsltPathThe path of the XSLT file to use.
-
Xslt(params IModule[] modules)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.
modulesModules that should output a single document containing the XSLT template in it's content.
