Read XML Node Action—Setting Properties

The Read XML Node action is used to read the value of a node in an XML document, or optionally to read a specified attribute. You enter an XPath expression to specify the location of the node. The result is placed in a variable, which must be created in an earlier step using the Create Variable action.

To set Read XML Node properties

  1. From the Task Builder Available Actions pane, open the XML folder and double-click the Read  XML Node action or drag it into the Steps pane.

  2. In the File box, click the Open Folder button , navigate to the desired document, and click Open.

  3. In the XPath expression box, enter the expression to specify the location of the node.

  4. If you want to read an attribute, enter its name in the Attribute box.

  5. To set the Description tab properties, refer to Description Tab Options.

  6. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  7. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Read XML Node Action