Skip to content

XML - Write node attribute

This custom action lets you write the value of an attribute associated to an XML node.

Warning: this custom action requires an XML ID that is first created with "Begin editing file or string".

Property Name Data Type Description
AttributeName string A string specifying the name of the attribute to create or change.
AttributeValue string Value of the attribute you want to set. You can use variables such as %DESTPATH%.
IDXML TXMLID A unique string identifier associated to the opened XML resource you want to write data to.
PathToNode XPath XPath expression to the node that contains the attribute.

PathToNode explanation

Use of XPath is explained at http://msdn.microsoft.com/en-us/library/ms256086.aspx

All available actions