Skip to content

XML - Read attribute value from node

This custom action lets you read 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 return.
IDXML TXMLID A unique string identifier associated to the opened XML resource you want to read data from.
PathToNode XPath XPath expression to the node that contains the attribute.
Variable VarName The name of the variable whose value will be set to what has been read. If the node attribute can't be found or read, the variable is left untouched.

PathToNode explanation

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

All available actions