XML - Read Value from Node
This custom action lets you read the text content of an XML node.
| Property Name | Data Type | Description |
|---|---|---|
| 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. |
| Variable | VarName | The name of the variable whose value will be set to what has been read. If the node can’t be found or read, the variable is left untouched. |
Behavior when the node does not exist
Section titled “Behavior when the node does not exist”If the XPath expression does not match any node in the XML document (for example, if the parent element is self-closing like <System /> instead of <System><Backuppath>value</Backuppath></System>), the read operation is silently skipped and the target variable is left untouched.
PathToNode explanation
Section titled “PathToNode explanation”Use of XPath is explained at http://msdn.microsoft.com/en-us/library/ms256086.aspx
Action Catalog Browse all available custom actions.