Crane's UBL UN 220 Order Implementation

Author: G. Ken Holman
Date: $Date: 2003/02/11 12:51:33 $(UTC)

Copyright © 2003 Crane Softwrights Ltd
http://www.CraneSoftwrights.com

Table of contents

1 Purchase order stylesheet implementation
2 Stylesheet files
3 Sample renderings for this stylesheet
3.1 Alternative renderings for this stylesheet
3.2 Debug package contents
4 Status
5 Top-level stylesheet constructs
5.1 Attribute sets
5.2 Variables

1: Purchase order stylesheet implementation

This implementation produces a rendering of instances of the UBL Order document model according to the United Nations Layout Key for Trade Documents guidelines for application for the 220 Order form:

2: Stylesheet files

The following are the stylesheet fragments for this layout (please refer to the "Approach to using this library" section in the Using Crane's Universal Business Language (UBL) Stylesheet Library document regarding the use of these styesheet fragments):

3: Sample renderings for this stylesheet

The following sample renderings are available in the standard stylesheet package for this stylesheet:

3.1: Alternative renderings for this stylesheet

The following alternative renderings are available in the standard stylesheet package for this stylesheet, sorted alphabetically and grouped by the input instance:

3.2: Debug package contents

These diagnostic report file and renderings are available only in the debug version of the stylesheet package (where the renderings utilize numeric key values (using "!##!") in all possible elements and attributes of an instance of the document type summarized in the Order.key.rpt.txt report file):

4: Status

This interpretation has no formal status. It should not be considered a reference interpretation. This formatting specification is part of the Crane Softwrights Ltd. UBL stylesheet library http://www.CraneSoftwrights.com/links/res-ubl.htm. Feedback is sought from users of stylesheets that implement this formatting specification regarding suggestions for change for consideration by Crane for incorporation into these specifications.

As a prototype developed for illustrative purposes only, this specification is not mature as a production-level stylesheet would have to be. New activities being chartered in the UBL activities will develop definitive formatting specifications. The details below describe the prototype, but should not be considered authoritative regarding a production version of this stylesheet.

Your help and input is needed. Please refer to Crane's stylesheet library main information page for details regarding the status of the library and the process of sending feedback for consideration. Of utmost utility would be a suite of representative test files exercising different real-world combinations of field values.

5: Top-level stylesheet constructs

The following top-level stylesheet constructs are available to be overridden by an importing stylesheet.

5.1: Attribute sets

heading-font

This can be overridden with a new set of font values for the small-font headings at the top of every field in the form.

body-font

This can be overridden with a new set of font values for the body of the content of every field in the form.

5.2: Variables

The following names (in alphabetical order) are used for variables for the field headings. Any or all of them could be overridden by an importing stylesheet or by another stylesheet imported after importing this stylesheet (perhaps a file of language boilerplate).

heading-amount
heading-buyer
heading-buyerbank
heading-consignee
heading-consignor
heading-cube
heading-dateref
heading-deliveryterms
heading-deliverytime
heading-description
heading-despatchdate
heading-despatchplace
heading-destination
heading-destinationplac
heading-dischargeplace
heading-freight
heading-grossweight
heading-insurance
heading-issue
heading-loadingplace
heading-origin
heading-othercosts
heading-packages
heading-packing
heading-paymentcurrency
heading-paymentterms
heading-quantity
heading-shippingmarks
heading-special
heading-totalamount
heading-totalcharges
heading-totaldeduct
heading-totalpay
heading-transportmeans
heading-transportmode
heading-uniptprice

Crane's UBL UN 220 Order Implementation
G. Ken Holman
Copyright © 2003 Crane Softwrights Ltd
$Date: 2003/02/11 12:51:33 $(UTC)