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 NameData TypeDescription
AttributeNamestringA string specifying the name of the attribute to return.
IDXMLTXMLIDA unique string identifier associated to the opened XML resource you want to read data from.
PathToNodeXPathXPath expression to the node that contains the attribute.
VariableVarNameThe 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

© G.D.G. Software 2018. All rights reserved.