Skip to main content
Skip table of contents

MergeData


Merges data provided. Input can be provided in XML or section string format. Output is returned in XML format.

InputData is merged with MergeDataNonOverwriting and then merged with MergeDataOverwriting.

Properties

Input

NameDescription
DefaultRootNode

Name of the default root name. Default: "ENTRY".

Needed if a new document has to be created from e.g. empty string as input.

Used to validate if provided XML strings are matching.

Used to apply some special internal logic if XML is DBX data.

InputData

Input data where merge operations are applied to.

String containing data directly (in XML or section string format) or a file reference where data is read from (auto-detect).

MergeDataNonOverwriting

Optional data merged to input data not overwriting existing fields.

String containing data directly (in XML or section string format) or a file reference where data is read from (auto-detect).

MergeDataOverwriting

Optional data merged to input data (including previous merge operation) overwriting existing fields.

String containing data directly (in XML or section string format) or a file reference where data is read from (auto-detect).

OptionsNot used yet.

Output

NameDescription
OutputDataResult string in XML format

Examples

Example DBX format



InputData<ENTRY><TITLE>Test</TITLE><EDITOR>Unknown</EDITOR><AUTHOR>Unknown</AUTHOR></ENTRY>
MergeDataNonOverwriting<ENTRY><EDITOR>Default Editor</EDITOR><GENERATOR>Tool</GENERATOR></ENTRY>
MergeDataOverwriting<ENTRY><AUTHOR>WS</AUTHOR><READY>1</READY></ENTRY>
OutputData<ENTRY><TITLE>Test</TITLE><EDITOR>Unknown</EDITOR><AUTHOR>WS</AUTHOR><GENERATOR>Tool</GENERATOR><READY>1</READY></ENTRY>

Example Mixed DBX/DBE format



InputData<ENTRY><TITLE>Test</TITLE><EDITOR>Unknown</EDITOR><AUTHOR>Unknown</AUTHOR></ENTRY>
MergeDataNonOverwriting<ENTRY><EDITOR>Default Editor</EDITOR><GENERATOR>Tool</GENERATOR></ENTRY>
MergeDataOverwriting[AUTHOR]WS[READY]1
OutputData<ENTRY><TITLE>Test</TITLE><EDITOR>Unknown</EDITOR><AUTHOR>WS</AUTHOR><GENERATOR>Tool</GENERATOR><READY>1</READY></ENTRY>

Example with file references



InputData\\MyServer\MyShare\test.xml
MergeDataNonOverwriting<ENTRY><EDITOR>Default Editor</EDITOR><GENERATOR>Tool</GENERATOR></ENTRY>
MergeDataOverwriting[AUTHOR]WS[READY]1
OutputData<ENTRY><TITLE>Test</TITLE><EDITOR>Unknown</EDITOR><AUTHOR>WS</AUTHOR><GENERATOR>Tool</GENERATOR><READY>1</READY></ENTRY>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.