Changes for page SplitFile
Last modified by Outhman Moustaghfir on 2024/08/09 17:37
<
>
edited by Outhman Moustaghfir
on 2024/08/09 17:26
on 2024/08/09 17:26
edited by Outhman Moustaghfir
on 2024/08/09 17:32
on 2024/08/09 17:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,7 +21,7 @@ 21 21 xmlns:ix="localFunction" 22 22 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 23 23 24 - <Split 400mode="" headers="" footers="" excluded="" included="" endLine="" position ="" size="" optionChar="" ></Split400>24 + <SplitBy mode="" headers="" footers="" excluded="" included="" endLine="" position ="" size="" optionChar="" ></SplitBy> 25 25 </ixDOC> 26 26 27 27 {{/code}} ... ... @@ -33,11 +33,14 @@ 33 33 34 34 * **Headers and Footers:** Specify header and footer lines to be included in each output file. 35 35 * **endLine:** Define the character used to separate lines in the file, default value is newLine char. 36 +* ((( 37 +**optionChar : **Define the character used to separate lines in output file, default value is newLine char. 38 +))) 36 36 * **included : :** Include specific lines from the output by defining them in the include attribute. 37 37 * **excluded:** Exclude specific lines from the output by defining them in the exclude attribute. 38 38 * **Position and Size:** Used to locate and define the include in the input file. 39 39 40 -=== 1. Mode: per_identifier===43 +=== 1. Mode: line === 41 41 42 42 43 43 === Input File Example : === ... ... @@ -272,9 +272,9 @@ 272 272 {{/code}} 273 273 274 274 275 -==== Example 1: without specifying ide ntifiers====278 +==== Example 1: without specifying include attribute ==== 276 276 277 -when we don't use ide ntifiers. it means for each output file we are going to have headers and footers and also for the identifierswe will defined them by position and size so for each line at a specific position and with a size this is the identifier.280 +when we don't use include attribute. it means for each output file we are going to have headers and footers and also for the include we will defined them by position and size so for each line at a specific position and with a size this is the include . 278 278 279 279 {{{ 280 280 }}} ... ... @@ -286,7 +286,7 @@ 286 286 xmlns:ix="localFunction" 287 287 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 288 288 289 - <Split 400mode="per_identifier" headers="UNA;UNB" footers="UNZ1;UNZ"ignoreItems="QTY" identifiers=""lineseparator="'" position ="25" size="9"></Split400>292 + <SplitBy mode="line" headers="UNA;UNB" footers="UNZ1;UNZ" excluded="QTY" include ="" endLine="'" position ="25" size="9"></SplitBy> 290 290 </ixDOC> 291 291 292 292 {{/code}} ... ... @@ -312,13 +312,13 @@ 312 312 313 313 {{/code}} 314 314 315 -== Example 2: with specifiying ide ntifiers==318 +== Example 2: with specifiying include attribute == 316 316 317 317 we don't need to use position and size. 318 318 319 -== 2. Mode: per_bloc: ==322 +== 2. Mode: message: == 320 320 321 -In ** per_bloc**ntifier. Each output file begins with the start of an identifierand ends when another identifieris encountered.324 +In **message** mode, the file is split into sections based on a specified include . Each output file begins with the start of an include and ends when another include is encountered. 322 322 323 323 324 324 ==== Example ==== ... ... @@ -331,7 +331,7 @@ 331 331 xmlns:ix="localFunction" 332 332 xmlns:fn="http://www.w3.org/2005/xpath-functions"> 333 333 334 - <Split 400mode="Per_bloc" headers="UNA;UNB" footers="UNZ1;UNZ"ignoreItems="QTY" identifiers="UNH"lineseparator="'"></Split400>337 + <SplitBy mode="message" headers="UNA;UNB" footers="UNZ1;UNZ" excluded="QTY" include ="UNH" endLine="'"></SplitBy> 335 335 </ixDOC> 336 336 337 337 {{/code}}