Author: G. Ken Holman
Date: $Date: 2003/02/11 12:51:34 $(UTC)
Copyright © 2003 Crane Softwrights Ltd
http://www.CraneSoftwrights.com
1 | Commercial invoice 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 |
This implementation produces a rendering of instances of the UBL Invoice document model according to the United Nations Layout Key for Trade Documents guidelines for application for the 380 commercial invoice form:
380 Commercial invoice: Document acknowledging an undertaking to fulfill an order and confirming conditions or acceptance of conditions.
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):
UN380Invoice.xsl - XSL-FO with A4 page dimensions
UN380Invoice-us.xsl - XSL-FO with US letter page dimensions
UN380Invoice-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:
OfficeInvoiceInstance1.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:
JoineryInvoiceInstance1.xml - input instance
JoineryInvoiceInstance1-long.xml - input instance
OfficeInvoiceInstance1-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 Invoice.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. This document describes 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.
Crane's 380 Commercial Invoice Implementation
G. Ken Holman
Copyright © 2003 Crane Softwrights Ltd
$Date: 2003/02/11 12:51:34 $(UTC)