Build.XML - xmlpoke
Description
Finds a node within an XML document, and replaces it with the value specified. This task will not create elements within in the document if they do not already exist.
Parameters
Table 13. Parameters
Attribute | Type | Description | Required |
---|---|---|---|
file | string | The name of the XML file to poke to. | true |
path | string | The path of the node to write to. Must be the full path and end in a forward slash. | true |
value | string | The new value for the node. | true |
if | bool | If true, the task will be executed, otherwise it will be skipped. The default is true. | False |
unless | bool | The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. | False |