XslTransformation Task

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Transforms an XML input by using an XSLT or compiled XSLT and outputs to an output device or a file.

The following table describes the parameters of the XslTransformation task.

OutputPathsRequired ITaskItem[] parameter.

Specifies the output files for the XML transformation.
ParametersOptional String parameter.

Specifies the parameters to the XSLT Input document.
XmlContentOptional String parameter.

Specifies the XML input as a string.
XmlInputPathsOptional ITaskItem[] parameter.

Specifies the XML input files.
XslCompiledDllPathOptional ITaskItem parameter.

Specifies the compiled XSLT.
XslContentOptional String parameter.

Specifies the XSLT input as a string.
XslInputPathOptional ITaskItem parameter.

Specifies the XSLT input file.

In addition to having the parameters that are listed in the table, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension Base Class.

Task Reference