<style>

[This is preliminary documentation and subject to change.]

Processes a document via XSLT.

Parameters

Attribute Type Description Required
style file Name of the stylesheet to use - given either relative to the project's basedir or as an absolute path. True
destdir directory Directory in which to store the results. The default is the project base directory. False
extension string Desired file extension to be used for the targets. The default is html. False
in file Specifies a single XML document to be styled. Should be used with the out attribute. False
out file Specifies the output name for the styled result from the in attribute. False
failonerror bool Determines if task failure stops the build, or is just reported. The default is true. False
if bool If true then the task will be executed; otherwise, skipped. The default is true. False
unless bool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbose bool Determines whether the task should report detailed build log messages. The default is false. False

Nested Elements:

<infiles>

Specifies a group of input files to which to apply the stylesheet.

</infiles>

<parameters>

<parameter ... />

XSLT parameters to be passed to the XSLT transformation.

Contains a collection of XsltParameter elements.

<parameter ... />
...

</parameters>

Examples

Requirements

Assembly: NAnt.Core (0.85.1793.0)