XLIFF Splitter Step: Difference between revisions
mNo edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 19:20, 4 June 2016
Overview
Splits a single XLIFF document into multiple documents, split on the <file>
element. All other content (outside the <file>
element) is copied as-is to each split document.
Takes: Raw document. Sends: Raw document.
The received event is unaltered. The step outputs multiple, numbered XLIFF documents in the output path. An XLIFF document with only one <file>
element is written out unaltered.
To put back together files that have been split up with this step use the XLIFF Joiner Step.
Parameters
Process large files — Set the option to use a stream-based parser to process the files. This allows you process very large XLIFF input document (e.g. several hundreds of MB). When this option is not set, a DOM-based parser is used, which can process only files that fit into your machine's memory.
File marker — Enter the marker to add at the end of the names of the generated files, just before the counter.
Update the <iws:status> translation status — Update the translation_type
and translation_status
flags in the <iws:status>
elements of the new documents. This is an option specific to WorldServer XLIFF documents. This option also removes the attribute target_content
.
Value for 'translation_type' — Enter the value to set in the translation_type
attribute.
value for 'translate_status' — Enter the value to set in the translation_status
attribute.
Limitations
For now, when using the Process large files option, any XML parts between <file>
elements is ignored and not copied into the new files.