XML

The XML connector is an object that is used to get data from XML files (*.xml).

After adding the connector to the ETL task workspace, set basic properties and import options. The connector output can also be edited and data filtering options can be set.

Basic Properties

In basic properties object name, identifier and comment are set.

Import Options

The Import Options page is used to specify a file with imported data and parameters used to determine data range.

Specify path to XML file to be used as a data provider. Click the Browse button to select a file.

Enter text of the query, based on which data is to be selected, in the Query for Output Nodes box.

NOTE. The query format depends on the structure of the file in use. A detailed information on how to create XPath queries can be obtained in additional manuals, such as MSDN.

The File Format group includes radio buttons that define format of the input file:

If the Request File on Task Execution checkbox is selected, the dialog box for selecting an XML file opens on executing an ETL task. The checkbox is deselected by default, working is executed with the file that is specified in the Source File box.

The Advanced Settings button enables the user to determine advanced settings used on data identification.

The View Data button shows data selected by a query.

NOTE. Only the first hundred of the provider lines will be displayed during the data preview.

Edit Output

To set a list of fields and output link, use the Output Edit page.

The following settings are available on the page:

Identifier

Link to object

Fields

Filter

The Set Up Data Filtering of the Source page is used to specify the condition, by which imported data is selected:

NOTE. The page is not displayed for copying data object if a standard cube is selected as a data provider.

To apply filtering condition, click the button. The following dialog box opens expression editor. All provider fields can be used to create an expression. The data that satisfies the specified condition is imported.

See also:

Source Data Connectors