7.1

Table Of Contents
XML to File connector
The XML To File connector is a generic MIS connector that ships with PrintShop Mail Web. It uses common technologies and
methods to communicate between applications. The XML To File connector has the following features:
l Write order information to a XML file.
l Use a HTTP POST call to submit XML data to a predefined URL.
l A combination of the above (write and POST)
l Apply a XSLT style sheet to the XML data before writing it to disk and/or submitting the data (optional)
XML (eXtensible Markup Language)
XML stands for eXtensible Markup Language. Since XML data is stored in plain text format, XML provides a software- and hard-
ware-independent way of sharing data. This makes it much easier to create data that different applications can work with. It
also makes it easier to expand or upgrade a system to new operating systems, servers, applications, and new browsers.
The XML to File connector collects the order information and writes this data to XML files. The sample below shows a part of a
XML file generated by the XML to File connector. The names of the elements match the fields names in the PrintShop Mail Web
database tables.
<?xml version="1.0" encoding="UTF-8"?>
<PrintShopCommunication>
<PSW_to_MIS>
<Order>
<Properties>
<fnCompanyID>1</fnCompanyID>
<fcCompanyName>OL BV</fcCompanyName>
....
<fcShippingContactName>Peter Parker</fcShippingContactName>
<fcShippingEmailAddress>pparker@finco.com</fcShippingEmailAddress>
<fnShippingCompanyID>1</fnShippingCompanyID>
<fcShippingCompanyName>OL BV</fcShippingCompanyName>
<fnShippingDepartmentID>0</fnShippingDepartmentID>
<fcShippingDepartmentName></fcShippingDepartmentName>
<fcShippingAddress1>Daltonstraat 42-44</fcShippingAddress1>
<fcShippingAddress2></fcShippingAddress2>
<fcShippingZipCode>3846 BX</fcShippingZipCode>
<fcShippingCity>Harderwijk</fcShippingCity>
...
</Properties>
<Jobs>
<Job>
<fnJobID>1</fnJobID>
<fnTemplateID>1</fnTemplateID>
<fnPersonID>0</fnPersonID>
...
<fbDatabaseInput>0</fbDatabaseInput>
<fbUserInput>1</fbUserInput>
<fcTemplateName>Business Card</fcTemplateName>
<fnEngineID>4</fnEngineID>
©2010 Objectif Lune Inc - 179 -