2 Copyright (c) 2000-2016 Ericsson Telecom AB
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/epl-v10.html
12 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
14 <!-- This is an embedded example. An element with a sequence body and an attribute.
15 The sequence body is formed of elements, two of them are also complexTypes.-->
17 <xs:element name="shiporder">
21 <xs:element name="orderperson" type="xs:string"/>
23 <xs:element name="shipto">
26 <xs:element name="name" type="xs:string"/>
27 <xs:element name="address" type="xs:string"/>
28 <xs:element name="city" type="xs:string"/>
29 <xs:element name="country" type="xs:string"/>
34 <xs:element name="item" >
37 <xs:element name="title" type="xs:string"/>
38 <xs:element name="note" type="xs:string" minOccurs="0"/>
39 <xs:element name="quantity" type="xs:positiveInteger"/>
40 <xs:element name="price" type="xs:decimal"/>
47 <xs:attribute name="orderid" type="xs:string" use="required"/>