Changes for page SplitFile
Last modified by Outhman Moustaghfir on 2024/08/09 17:37
<
>
edited by Outhman Moustaghfir
on 2024/08/08 12:35
on 2024/08/08 12:35
edited by Outhman Moustaghfir
on 2024/08/09 16:27
on 2024/08/09 16:27
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 [[image:1723111201862-594.png]] 6 6 7 -The splitFile connector is a utility designed to split files based on specific configurations defined in an XML format. The connector supports two modes of operation: ** per_identifier** and **per_bloc**mode. Below is the functional documentation for each mode, including the expected format file, sample input file, and corresponding output files.7 +The splitFile connector is a utility designed to split files based on specific configurations defined in an XML format. The connector supports two modes of operation: **line** and **message **mode. Below is the functional documentation for each mode, including the expected format file, sample input file, and corresponding output files. 8 8 9 9 == Usage == 10 10 ... ... @@ -21,7 +21,7 @@ 21 21 xmlns:ix="localFunction" 22 22 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 23 23 24 - <Split400 mode="" headers="" footers="" ignoreItems="" identifiers="" lineseparator="" position ="" size=""/> 24 + <Split400 mode="" headers="" footers="" ignoreItems="" identifiers="" lineseparator="" position ="" size=""></Split400> 25 25 </ixDOC> 26 26 27 27 {{/code}} ... ... @@ -39,7 +39,7 @@ 39 39 === 1. Mode: per_identifier === 40 40 41 41 42 -=== Input File Example : 42 +=== Input File Example : === 43 43 44 44 45 45 {{code language="txt"}} ... ... @@ -271,10 +271,8 @@ 271 271 {{/code}} 272 272 273 273 274 -==== Example 1: ==== 274 +==== Example 1: without specifying identifiers ==== 275 275 276 -==== Example 2: without specifiying identifiers ==== 277 - 278 278 when we don't use identifiers . it means for each output file we are going to have headers and footers and also for the identifiers we will defined them by position and size so for each line at a specific position and with a size this is the identifier . 279 279 280 280 {{{ ... ... @@ -287,12 +287,12 @@ 287 287 xmlns:ix="localFunction" 288 288 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 289 289 290 - <Split400 mode="per_identifier" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="" lineseparator="'" position ="25" size="9"/> 288 + <Split400 mode="per_identifier" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="" lineseparator="'" position ="25" size="9"></Split400> 291 291 </ixDOC> 292 292 293 293 {{/code}} 294 294 295 -== output files : 293 +== output files : == 296 296 297 297 [[image:1723112876572-265.png]] 298 298 ... ... @@ -332,7 +332,7 @@ 332 332 xmlns:ix="localFunction" 333 333 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 334 334 335 - <Split400 mode="Per_bloc" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="UNH" lineseparator="'"/> 333 + <Split400 mode="Per_bloc" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="UNH" lineseparator="'"></Split400> 336 336 </ixDOC> 337 337 338 338 {{/code}} ... ... @@ -381,4 +381,4 @@ 381 381 382 382 {{/code}} 383 383 384 -=== 382 +=== ===