Condividi tramite


XmlPoke Task

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

Parameters

The following table describes the parameters of the XmlPoke task.

Parameter

Description

Namespaces

Optional String parameter.

Specifies the namespaces for XPath query prefixes.

Query

Optional String parameter.

Specifies the XPath query.

Value

Required ITaskItem parameter.

Specifies the output file.

XmlInputPath

Optional ITaskItem parameter.

Specifies the XML input as a file path.

Remarks

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.

See Also

Concepts

MSBuild Tasks

Other Resources

MSBuild Task Reference