# ConvertXMLToDocuments

Many systems can output data in XML format. The ConvertXMLToDocuments processor automatically detects any FlowFile that represents an XML file and attempts to parse the XML into IDOL documents. The processor produces a new FlowFile for each IDOL document.

TIP: To be parsed successfully, the input XML must conform to the standard IDOL document structure (the same format as created by the WriteDocument processor when you choose XML format).

## Properties

Name | Default Value | Description
--- | --- | ---
IDOL License Service |  | An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server.
Document Registry Service |  | A DocumentRegistryServiceImpl controller service that manages and updates a document registry database. This ensures that documents are indexed in the correct order.
Commit Batch Size | 100 | The processor outputs documents in batches to limit memory use and allow subsequent tasks to begin processing the documents sooner. This property specifies the maximum batch size.

## Relationships

Name | Description
--- | ---
extracted | New FlowFiles for individual IDOL documents that were extracted from an XML file.
failure | Original FlowFiles that represent an XML file but from which there were XML parsing errors.
processed | Original FlowFiles that represent an XML file and were parsed successfully. Original FlowFiles are routed to this relationship when they contain valid IDOL documents in XML format.
unprocessed | Original FlowFiles that do not represent an XML file.

_FT_HTML5_bannerTitle.htm