XmlPoke Task


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

Sets values as specified by an XPath query into an XML file.

The following table describes the parameters of the XmlPoke task.

NamespacesOptional String parameter.

Specifies the namespaces for XPath query prefixes.
QueryOptional String parameter.

Specifies the XPath query.
ValueRequired ITaskItem parameter.

Specifies the output file.
XmlInputPathOptional ITaskItem parameter.

Specifies the XML input as a file path.

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