Author: G. Ken Holman
Date: $Date: 2003/02/11 12:51:33 $(UTC)
Copyright © 2003 Crane Softwrights Ltd
http://www.CraneSoftwrights.com
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:
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.
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):
UN220order.xsl - XSL-FO with A4 page dimensions
UN220order-us.xsl - XSL-FO with US letter page dimensions
UN220order-htmlfo.xsl - XSL-FO for conversion to HTML using util/fo2html.xsl
The following sample renderings are available in the standard stylesheet package for this stylesheet:
UN220OrderInstance1.xml - input instance
The following alternative renderings are available in the standard stylesheet package for this stylesheet, sorted alphabetically and grouped by the input instance:
JoineryOrderInstance1.xml - input instance
JoineryOrderInstance1-long.xml - input instance
OfficeOrderInstance1.xml - input instance
OfficeOrderInstance1-long.xml - input instance
UN220OrderInstance1-long.xml - input instance
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):
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.
The following top-level stylesheet constructs are available to be overridden by an importing stylesheet.
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 UBL UN 220 Order Implementation
G. Ken Holman
Copyright © 2003 Crane Softwrights Ltd
$Date: 2003/02/11 12:51:33 $(UTC)