<?xml version="1.0" encoding="utf-8"?>
<article>
	<title>Office-oriented formatting specification for UBL Order Response Simple example instance</title>
	<articleinfo>
		<copyright>
			<year>2004</year>
			<holder>OASIS</holder>
		</copyright>
		<pubdate>$Date: 2004/09/05 15:14:03 $(UTC)</pubdate>
	</articleinfo>
	<section>
		<title>
Simple order response formatting specification</title>
		<para>
This formatting specification describes a rendering of an instance of the UBL Order Response Simple document model according to a conceptual office-oriented layout.</para>
		<para>
For a list of all formatting specifications and an overview of the documentation conventions, please visit the <ulink url="../index.html">formatting specification home page</ulink>.</para>
		<section>
			<title>
Status</title>
			<para>
This specification has no formal status at this time.  It should not be considered a reference interpretation of UBL documents.  Feedback is sought from users of stylesheets that implement this formatting specification regarding suggestions for change for consideration by the OASIS UBL committees for incorporation into these formatting specifications.</para>
			<para>
Presentational semantics may never be formalized or normative in the UBL project due to differing international requirements and conventions for the presentation of information found in business documents.  This document contains only examples from a few of what will probably be many available UBL stylesheet libraries.</para>
		</section>
		<section>
			<title>
Example rendering</title>
			<para>
The following is an example rendering that illustrates the position and decoration of the information items found in an instance of the document type:</para>
			<itemizedlist>
				<listitem>
					<para>
PDF printable format (A4 page size)</para>
					<itemizedlist>
						<listitem>
							<para>
								<ulink url="pdf/OfficeOrderResponseSimple.Example-a4.pdf">
									<literal>OfficeOrderResponseSimple.Example-a4.pdf</literal>
								</ulink>
							</para>
						</listitem>
					</itemizedlist>
				</listitem>
				<listitem>
					<para>
PDF printable format (US-letter page size)</para>
					<itemizedlist>
						<listitem>
							<para>
								<ulink url="pdf/OfficeOrderResponseSimple.Example-us.pdf">
									<literal>OfficeOrderResponseSimple.Example-us.pdf</literal>
								</ulink>
							</para>
						</listitem>
					</itemizedlist>
				</listitem>
				<!--
				<listitem>
					<para>
PDF printable format (US letter page size)</para>
					<itemizedlist>
						<listitem>
							<para>
								<ulink url="samples/UN632ReceiptAdvice.UN632ReceiptAdviceInstance1-us.pdf">
									<literal>UN632ReceiptAdvice.UN632ReceiptAdviceInstance1-us.pdf</literal>
								</ulink>
							</para>
						</listitem>
					</itemizedlist>
				</listitem>
				<listitem>
					<para>
HTML browser format</para>
					<itemizedlist>
						<listitem>
							<para>
								<ulink url="samples/UN632ReceiptAdvice.UN632ReceiptAdviceInstance1.html">
									<literal>UN632ReceiptAdvice.UN632ReceiptAdviceInstance1.html</literal>
								</ulink>
							</para>
						</listitem>
					</itemizedlist>
				</listitem>
-->
			</itemizedlist>
		</section>
		<section>
			<title>
Layout order and information</title>
			<para>
Items in this formatting specification are ordered roughly from the laid out fields on the form in the order left-to-right, top to bottom.</para>
			<para>
Important: the rendering of a number of fields is very simplified, reflecting a Western European interpretation of a subset of fields (as in names and addresses).  User requirements need to be better understood for the level of granularity in these stylesheets.</para>
		</section>
		<section>
			<title>
Namespaces</title>
			<para>
The following namespaces are mapped to the prefixes in the expressions below:</para>
			<itemizedlist>
				<listitem>
					<para>
						<literal>cac</literal> = "<literal>urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0</literal>"</para>
					<para>
						<literal>cbc</literal> = "<literal>urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0</literal>"</para>
					<para>
						<literal>rs</literal> = "<literal>urn:oasis:names:specification:ubl:schema:xsd:OrderResponseSimple-1.0</literal>"</para>
				</listitem>
			</itemizedlist>
		</section>
	</section>
	<section role="items">
		<title>
Miscellaneous information</title>
		<para>
The following information is unrelated to the visible fields of the form.</para>
		<section role="item">
			<title>
Document header information</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/rs:ID</literal>
							</entry>
						</row>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cbc:IssueDate</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
			<para>
This information shows up in the window-title bar of the HTML browser, and in the document title supported by some XSL-FO processors.</para>
		</section>
	</section>
	<section role="items">
		<title>Header information</title>
		<para>Header information is associated with the form as a whole, not
to the individual items of goods.</para>
		<section role="item">
			<title>Purchase Order Number</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:OrderReference/cac:BuyersID</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>Sales Order Number</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:OrderReference/cac:SellersID</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>Order Date</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:OrderReference/cbc:IssueDate</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>Response Date</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cbc:IssueDate</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>To</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:BuyerParty/cac:Party/cac:PartyName/cbc:Name</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>From</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:SellerParty/cac:Party/cac:PartyName/cbc:Name</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
		<section role="item">
			<title>Order Contact</title>
			<table role="xpath">
				<title>XPath information</title>
				<tgroup cols="1">
					<tbody>
						<row>
							<entry role="groups"/>
							<entry role="rows"/>
							<entry role="cols"/>
							<entry role="xpath">
								<literal>/rs:OrderResponseSimple/cac:SellerParty/cac:OrderContact/cbc:Name</literal>
							</entry>
						</row>
					</tbody>
				</tgroup>
			</table>
		</section>
	</section>
</article>
