Merge
|
|
---|
Properties
| Label of the symbol within the process diagram |
| Name of the root element that contains the entire content of the merged XML documents Possible values:
|
Merging Data
The Merge
component can be placed behind the Join
component of a fork. If XML documents are merged, the XML document generated by the Merge
component has a root element containing the root elements and all child nodes of the merged XML documents. This XML structure can be processed by the next process action. The name of the root element can be defined using the Root Element
property of the Merge
component.
Note:
If XML documents and at least one non-XML document are merged using a Merge component, the output of all documents is concatenated in the output of all documents generated by the Merge
component.
If two XML documents are merged, which have already been merged in a previous process step using the Merge
component, the result XML document contains only one root element <Merge
> and all child nodes of the merged XML documents.
Merging two documents
<?xml version="1.0" encoding="UTF-8" ?>
<Merge>
<!-- Document1 -->
<!-- Document2 -->
</Merge>
If the input documents are text files (MIME type text...
or application/xml
) with the same character encoding, its encoding is used. If the encodings differ, a UTF-8 sequence is output. If all input documents have the same MIME type, the result also has this MIME type, else text/plain
.