Author: G. Ken Holman
Date: $Date: 2003/01/24 20:16:04 $(UTC)
Copyright © 2003 Crane Softwrights Ltd
http://www.CraneSoftwrights.com
1 | Purchase order stylesheet implementation |
1.1 | Status |
2 | Top-level stylesheet constructs |
2.1 | Attribute sets |
2.2 | Variables |
This implementation produces a rendering of the UBL Order document model according to the United Nations Layout Key for Trade Documents guidelines for application for the 220 Order form:
220 Order: Document by means of which a buyer initiates a transaction with a seller involving the supply of goods as specified, according to conditions set out in an offer, or otherwise known to the buyer.
A one-page example PDF rendering in A4 page size is 220order1.pdf and in US letter page size is 220order1-us.pdf. The same file as an HTML rendering is 220order1.html.
A two-page example PDF rendering in A4 page size is 220order2.pdf and in US letter page size is 220order2-us.pdf. The same file as an HTML rendering is 220order2.html.
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, this specification is not as well thought out as a production-level stylesheet would have to be. A better understanding of the business process behind instances of this document type is needed to ensure the formatting specification is accurate. 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.
The following top-level stylesheet constructs are available to be overridden by an importing stylesheet.
page-dimensions
This can be overridden with new values for page-width and page-height properties.
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.
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 220 Order Formatting Specification
G. Ken Holman
Copyright © 2003 Crane Softwrights Ltd
$Date: 2003/01/24 20:16:04 $(UTC)