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
The location of the XML files created by the XML to File connector
Post
The XML to File connector has the ability to POST the XML data to a HTTP server. This enables the connector to be truly
server/application independent. All the HTTP server needs to do is have the capability to receive HTTP POST calls and be able
to pass the call on to some form of program (ASP, CGI, Java Servlets, etc).
The combination of XML via HTTP calls acts as a kind of middle ware or glue to tie systems together.
The connector lets you specify the URL of the HTTP server. A sample POST receive script (written in PHP) is stored in the
folder of the XML to File connector.
XML options
XSLT is a language for transforming XML documents into XML documents or even plain text. With XSLT you can add/remove
elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make deci-
sions about which elements to remove and keep. More information can be found at: http://www.w3schools.com/
By activating the Apply XSLT style sheet option the connector will apply the XSLT style sheet stated in the Style sheet text
area to the XML output. It is applied before writing the information to disk or before sending it using a HTTP POST call. This
way the XML structure can be modified to match the requirements of the receiving application.
Sample XML files may be obtainded by setting up a demo version of PrintShop Mail Web on your local machine and using the
Write to file option. The resulting file than can be used in a application like XML Spy or Cooktop to develop the XSLT style
sheet.
<!--This is an sample stylesheet-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<PrintShopCommunication>
<Order>
<xsl:attribute name="id"><xsl:value-of select="//fnOrderID"/></xsl:attribute>
©2010 Objectif Lune Inc - 182 -