PriceSummary.xml Sample

This topic inludes the source code for the PriceSummary.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/schema/

Sample Source Code


01 <price-summary xmlns="http://openuri.org/easypo/price-summary">
02     <price threshold="Above20Dollars">
03         <item>
04             <title>Burnham's Celestial Handbook, Vol 1</title>
05             <amount>21.79</amount>
06             <quantity>1</quantity>
07         </item>
08     </price>
09     <price threshold="Between10And20Dollars">
10         <item>
11             <title>Burnham's Celestial Handbook, Vol 2</title>
12             <amount>19.89</amount>
13             <quantity>2</quantity>
14         </item>
15         <item>
16             <title>Burnham's Celestial Handbook, Vol 3</title>
17             <amount>19.89</amount>
18             <quantity>1</quantity>
19         </item>
20     </price>
21 </price-summary>