Adapter type: toolkit_file_xmldoc_output. The File/Hadoop XML Output adapter writes XML-formatted data to a file or a Hadoop Distributed File System (HDFS). Set these properties for the adapter in the ESP Studio adapter properties dialog.
If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type.
Property Label | Description |
---|---|
Directory |
Property ID: dir Type: directory (Required) Specify the location of the data files. |
File (in Directory) |
Property ID: file Type: string (Required) Specify the file to write to. |
Append Mode |
Property ID: appendMode Type: boolean (Advanced) Specify whether data should be appended to an existing file. |
XML Schema Document |
Property ID: xmlSchemaFilePath Type: filename (Required) The XML schema document, on which the generated XML document is based. |
Local Name of XSD Global Element |
Property ID: globalElementLocalName Type: string (Required) The local name of a global element in the XML schema document. |
Column Expression List |
Property ID: espColumnPattern Type: string (Required) Comma-separated list of XPath expressions for mapping ESP columns to XML elements. If the XML element used in an expression belongs to a namespace, specify the namespace in the expression. |
PropertySet |
Property ID: propertyset Type: string (Advanced) Specifies the name of the property set. Property sets are reusable sets of properties that are stored in the project configuration file. Using these sets allows you to move adapter configuration properties out of the CCL file and into the CCR file. If you specify the same properties in the project configuration file and the ATTACH ADAPTER statement, the values in the property set override the values defined in the ATTACH ADAPTER statement. No default value. |