Please enable JavaScript to view this site.

InterFormNG2 Manual

This one of the 4 options, that you can set for fragment processing in Spool2XML.The value selected affects the output XML file generated from the standard XML spooled file.

 

With the value 2=Multiple fragment files the output XML file can be split up into multiple XML files each contain a fragment of the output:

 

1.You should take care not to define a field to be key-field unless fragment is activated om the record format containing the field. If you do, then you will see an error.

2.You need to define a record format to have the fragment option activated, and inside of that record format a field must be selected as a key field, if that is not defined, then no XML output is generated.

3.Multiple output XML files may be created: One for each unique value of the key field.

4.There is only one XML node for the fragment record format with each unique value of the key field. The other fields (for all duplicates of the fragment record format), and other record formats are inserted inside the fragment node in the XML file. If a record format is defined as being parent, then it will however be a parent of the fragment record format. The other record formats are included based on how they appear in the XML spooled file: Any record format after the fragment record is included in the current file until the next unique key field is found.

5.The key options  D=Delete and T=Top are only supported for 3=Treebuilder - it is ignored for 1=Single fragments file and 2=Multiple fragment files.

6.The parent/child option on record formats: 1=Single child is only supported for 3=Treeebuilder, and is ignored for 1=Single fragments file and 2=Multiple fragment files.

7.If you want to reduce the size of the output XML file you can either activate the unique option on some record formats or consider even the fragment option 3=Treebuilder.