Splits an XML File into multiple separate FlowFiles, each comprising a child or descendant of the original root element
Tags: xml, split
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Split Depth | Indicates the XML-nesting depth to start splitting XML fragments. A depth of 1 means split the root's children, whereas a depth of 2 means split the root's children's children and so forth. | 1 | No | No |
Relationships:
Name | Description |
---|---|
original | The original FlowFile that was split into segments. If the FlowFile fails processing, nothing will be sent to this relationship |
failure | If a FlowFile fails processing for any reason (for example, the FlowFile is not valid XML), it will be routed to this relationship |
split | All segments of the original FlowFile will be routed to this relationship |