Follow-On Topics

Related Topics

# About the Main Tab

The Main tab of the Convert XML to Recordset dialog box is used to enter the details of the incoming XML data, and how this is to be mapped to a King Task Centre Recordset exposed by this step. The following options are available : ### Data Source
|  | Select Task Step to use a King Task Centre XML data source. Only those steps that are capable of natively exposing an XML document at runtime are listed (this may be a tool such as Convert Recordset to XML).
|  | Select Predefined Schema to use an XML schema previously defined in the Global Configuration settings for the tool.
| Click the image to view full size.

|  | Select Custom Schema to select a schema and King Task Centre variable that defines the input for this step.

|  | Click Define to display the Schema Configuration dialog box to enable definition of the schema of the XML to be used as the input source.

|  | Drag a Task Variable from the browser to the Data source variable text box. This variable, at runtime, contains XML that conforms to the schema that has just been defined.

### Output Recordset Configuration

This area is where the columns required in the King Task Centre Recordset exposed by the step are configured. A tree control is shown which is generated from the XML Schema configured in the Data Source Step. Simply select which fields are to be put through to the output recordset by clicking in the box to the left of the field name. Selecting a branch node (one that has children) selects all children of that node. Use the All and None buttons to quickly toggle all boxes.

Note that the Tool used to create the Data Source Step may have the facility to provide both Output Data and Error Data. In this case, the Task Step drop-down list contains two options for each Task Step that is available as a data source. For example, a Step called "Provide XML Data" provides options of "Output Data from Provide XML data" and "Error Data from Provide XML Data".

Click here to view an example schema displayed for the Output Data and here to view an example schema displayed for the Error Data.

For more information about how the link and key field settings affect the XML that is exposed by the tool, see Runtime Processing.

Copyright © 2018 Quadrant Software B.V. All rights reserved.