Complex XML
Complex XML Input
This tool is not yet implemented. However, the XML Input2 tool can be used along with a combination of Calculate and Complex Merge tools to accomplish many of the same things.
Complex XML Output
The Complex XML Output tool is able to write a variety of XML file formats, where record types are mapped onto XML elements, and field values are mapped onto either XML attributes or XML elements.
To operate, this tool obtains the complex schema metadata from its upstream connection. If that connection does not contain the correct complex schema metadata, you can insert a Complex Merge tool upstream and override the complex schema with a different complex schema definition file. The complex meta-data must have a global format type of xml.
The Complex XML Output tool has a single input connector and consumes a complex record stream. It can create and write files using either the file name data contained in the file records, or a file name you specify.
Complex XML Output tool configuration parameters
The Complex XML Output tool has one set of configuration parameters in addition to the standard execution options.
Configuration
Parameter | Definition |
---|---|
File name source | FILE records: output file names are contained in FILE records in the complex record stream.
|
Output file | If File name source is Specify below, the output file name. |
Override schema | If selected, use the specified Complex Schema file rather than the complex schema metadata defined in the tool's input. If you both enable Import metadata and specify a Complex schema, the tool give priority to the separator data defined in the Import metadata "M" connection. |
Complex Schema file | If Override schema is selected, the complex schema definition file. |
Configure the Complex XML Output tool
To configure the Complex XML Output tool:
Select the Complex XML Output tool.
Go to the Configuration tab.
Specify File name source:
FILE records: output file names are contained in the records of type FILE on the input stream.
Specify below: specify an Output file name directly. If more than one FILE record is read from the input connection, successive file names will be generated by adding "2", "3", etc. to the specified file name.
Optionally, select Override schema and specify a Complex Schema file to use the specified schema rather than the complex schema metadata defined in the tool's input. If you both enable Import metadata and specify a Complex Schema file, the tool give priority to the separator data defined in the Import metadata "M" connection.
Optionally, go to the Execution tab, and then set Web service options.