BatchOrderSimple.xml Sample

This topic inludes the source code for the BatchOrderSimple.xml Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/xmlBeans/cursor/

Sample Source Code


01 <?xml version="1.0" encoding="UTF-8"?>
02 <!-- Order summary from the Orders database.-->
03 <?xml-stylesheet type="text/xsl" href="order_summary.xslt"?>
04 <batchWidgetOrder batchID="3DJ" xmlns:ns="http://openuri.org/shipping/">
05     <order id="13">
06         <storeID>ABCD</storeID>
07         <shipTo>
08             <name>Gladys Kravitz</name>
09             <address>A St.</address>
10             <city>Seattle</city>
11             <state>WA</state>
12             <zip>98104</zip>
13         </shipTo>
14     </order>
15 </batchWidgetOrder>