<
From version < 6.3 >
edited by Outhman Moustaghfir
on 2024/08/09 17:13
To version < 5.1 >
edited by Outhman Moustaghfir
on 2024/08/08 12:35
>
Change comment: There is no comment for this version

Summary

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: **line** and **message **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: **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.
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="" excluded="" included="" endLine="" position ="" size=""></Split400>
24 + <Split400 mode="" headers="" footers="" ignoreItems="" identifiers="" lineseparator="" position ="" size=""/>
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,8 +271,10 @@
271 271  {{/code}}
272 272  
273 273  
274 -==== Example 1: without specifying identifiers ====
274 +==== Example 1: ====
275 275  
276 +==== Example 2: without specifiying identifiers ====
277 +
276 276  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 .
277 277  
278 278  {{{
... ... @@ -285,12 +285,12 @@
285 285   xmlns:ix="localFunction"
286 286   xmlns:fn="http://www.w3.org/2005/xpath-functions">
287 287  
288 - <Split400 mode="per_identifier" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="" lineseparator="'" position ="25" size="9"></Split400>
290 + <Split400 mode="per_identifier" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="" lineseparator="'" position ="25" size="9"/>
289 289  </ixDOC>
290 290  
291 291  {{/code}}
292 292  
293 -== output files : ==
295 +== output files : ==
294 294  
295 295  [[image:1723112876572-265.png]]
296 296  
... ... @@ -330,7 +330,7 @@
330 330   xmlns:ix="localFunction"
331 331   xmlns:fn="http://www.w3.org/2005/xpath-functions">
332 332  
333 - <Split400 mode="Per_bloc" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="UNH" lineseparator="'"></Split400>
335 + <Split400 mode="Per_bloc" headers="UNA;UNB" footers="UNZ1;UNZ" ignoreItems="QTY" identifiers="UNH" lineseparator="'"/>
334 334  </ixDOC>
335 335  
336 336  {{/code}}
... ... @@ -379,4 +379,4 @@
379 379  
380 380  {{/code}}
381 381  
382 -=== ===
384 +=== ===
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian