Event Action Set Extract XML Collection

NOTE: You can access this form only by clicking either the Path button or the Property Map button in the Event Action Extract XML Collection form.

Use this form to:

This form allows you to set the Path and Property Map fields on the Even Action Extract XML Collection form more easily, without the need to enter that information manually.

Setting an Extraction Path

To set an extraction path for the data to be extracted:

  1. In the Tree View, locate a real or example node under which the data resides (or will reside) for the rows to be extracted.
  2. Click to select the node.

    Do not select any value under the node.

    WinStudio displays the equivalent XML Path Language (XPath) expression under Current Selected Path.

  3. If the data to be extracted:
  4. Click OK.

For more detailed examples, see Detailed Examples for Setting an Extraction Path.

Mapping Properties

NOTE: Before you can map any properties, you must first set an extraction path.

There are two methods you can use to map properties:

Mapping properties manually

To manually map properties from the XML to properties in the result set:

  1. In the Property Maps grid, specify a name for the property to be mapped to in the Property Name field.  
  2. In the Value field, specify the path to the node from which the property value is to be taken, relative to the extraction path, as an XPath expression.

Mapping properties using the XML Tree View

To use XML paths from the template to map properties:

  1. In the XML Tree View, select the node from which the property value is to be taken.
  2. With focus on a new row in the grid, click Set Path.
  3. In the Property Name field, specify a name for the property to which the value is to be mapped.

Related Topics

Event Actions form

Event Action Extract XML Collection form

Detailed Examples for Setting an Extraction Path