When exchanging data with other applications it can sometimes be an idea to consider XML files as a way of transport. You can use InterForm400 to convert your spooled files into XML files like described below.
Please note: The procedure to build up the structure of the XML file is quite easy to understand and fast, but this also contains some contraints, so not any XML file structure can be built.
In order to use the XML definitions you will need to have either a normal full InterForm400 classic license or the *PDF option enabled in InterForm400.
For advanced XML definitions the XML+ module should be considered.
The XML files can be generated via option X= Create XML file in Auto Forms Control and the command, APF3812/CVTSPLFXML.
Before you can convert spooled files into XML you will first need to specify how they should be converted. The setup of the conversion is done via an XML definition, which you setup from the InterForm400 Main Menu by selecting options:
5. Work with Auto Forms Control
4. Finish Definitions
and finally pressing F6=Add to create a new XML definition - with either of these types:
08 = XML definition (classic version)
09 = XML+ definition (XML module required)
Create Finish Definition PRS310D
Definition name . . . . . . XML_DEMO Description . . . . . . . . Demo: Convert demo spooled file into XML
Type of Finishing . . . . . 08 01 = Prinserter 02 = Stapling per Recipient 03 = Prepare for inserting 04 = PFE Mail-Printer 05 = Prepare for email/Fax 06 = PDF Filenaming 07 = Reformat Spooled File 08 = XML definition (classic version) 09 = XML+ definition (XML module required)
F3=Exit F12=Cancel
|
The next screen looks like this:
XML structure and data XML300D
XML definition name . . : XML_DEMO Description . . . . . . : Demo: Convert demo spooled file into XML
Type options, press Enter. 1=Select
Opt Definition XML output file and exit program Page type definitions Line type definitions XML structure and data
F3=Exit F12=Cancel
|
This is where you select each of the features below.
TIP:The definition, XML_DEMO defined here, is for the InterForm400 demo spooled file, which can be printed via the InterForm400 Service Menu. You can try it out yourself after entering the same definition.