7.1
Table Of Contents
- Table of Content
- Overview
- Understanding PrintShop Mail Web
- Getting Started
- The PrintShop Mail Web Interface
- Publishing Workflow
- Ordering Workflow
- New Document
- Order Manager
- Checkout
- Companies
- Users
- Publication Types
- Collections
- Settings
- About
- License
- Roles
- Languages
- Web Design
- Maintenance
- Settings
- Currencies
- Tax Rates
- Shipping Rates
- Calendar
- Production Settings
- User Input Field Defaults
- Output Folders
- Job options
- Printers
- E-mail Settings
- E-mail Addressees
- Managing E-mail Templates
- Modules Settings
- Enabling a MIS connector
- Installed modules
- Properties
- Enabling a Print Production connector
- Installed modules
- Properties
- Requirements
- Configuring the module
- The PayPal Sandbox
- Processing orders
- Requirements
- Configuring the Authorize.net module
- Test mode
- AVS and CCV checks
- Payment page
- Requirements
- Requesting a test account
- Configuring the iDEAL test dashboard
- Configuring the iDeal module
- Requirements
- Configuring the Moneris module
- Test mode
- Requesting a live account
- AVS and CVD checks
- Payment page
- Add a new Module
- Configure a module
- Delete a Module
- XML (eXtensible Markup Language)
- Options
- Sample POST receive script
- Interaction With PrintShop Mail Design
- Introduction to Regular Expressions
- Introduction
- Skinning Guide
- Getting started
- Creating your own skin
- The template file
- HMTL Outline
- Styling
- Key Concepts
- Style organization
- Header
- User information
- Menu bar
- Background
- Overview tables
- Edit forms
- Sub menus
- Special variables
- Variables for template files
- Variables for style files
- Creating page exceptions
- Creating a page specific template file
- Modifying a page specific template file
- DOM manipulation using jQuery
- Launching code on Document Ready
- Populating fields with computed values
- Removing elements from the DOM
- Adding information to the DOM
- Customizing the store front
- Storefront class
- Creating a hierarchical tree
- Adding a live search option
- Copyright Information
- Index
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 -