2 Copyright (c) 2000-2015 Ericsson Telecom AB
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
9 <schema xmlns="http://www.w3.org/2001/XMLSchema"
10 xmlns:qq="http://www.example.com/POQAQ"
11 targetNamespace="http://www.example.com/POQAQ"
12 elementFormDefault="qualified"
13 attributeFormDefault="qualified">
15 <element name="purchaseOrder2" type="qq:PurchaseOrderType2"/>
16 <element name="comment2" type="string"/>
18 <complexType name="PurchaseOrderType2">
20 <element name="shipTo" type="qq:USAddress2"/>
21 <element name="billTo" type="qq:USAddress2"/>
22 <element ref="qq:comment2" minOccurs="0"/>
25 <attribute name="orderDate" type="date"/>
28 <complexType name="USAddress2">
30 <element name="name" type="string"/>
31 <element name="street" type="string"/>
34 <attribute name="country" type="NMTOKEN" fixed="US" />