Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3abe9331 | 3 | Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
4 | |
5 | All rights reserved. This program and the accompanying materials | |
6 | are made available under the terms of the Eclipse Public License v1.0 | |
7 | which accompanies this distribution, and is available at | |
8 | http://www.eclipse.org/legal/epl-v10.html | |
9 | --> | |
10 | <schema xmlns="http://www.w3.org/2001/XMLSchema" | |
3f84031e | 11 | xmlns:ns="www.example.org/elements" |
12 | targetNamespace="www.example.org/elements"> | |
970ed795 EL |
13 | |
14 | <annotation> | |
15 | <documentation xml:lang="EN"> | |
16 | </documentation> | |
17 | </annotation> | |
18 | ||
19 | ||
20 | ||
21 | <annotation><documentation xml:lang="EN">Global element declarations</documentation></annotation> | |
22 | ||
23 | <annotation><documentation xml:lang="EN">Global element declarations</documentation></annotation> | |
24 | ||
25 | <element name="fooGlobal" type="float"/> | |
26 | <element name="barGlobal" type="string"/> | |
27 | <element name="dingGlobal" type="integer" /> | |
28 | <element name="remarkNillable" type="string" nillable="true"/> | |
29 | <element name="comment" type="string"/> | |
30 | ||
31 | <element name="SeqNillable" nillable="true"> | |
32 | <complexType> | |
33 | <sequence> | |
34 | <element name="forename" type="string" nillable="true"/> | |
35 | <element name="surname" type="string" minOccurs="0" nillable="true"/> | |
36 | <element name="bornPlace" type="string" minOccurs="0" maxOccurs="unbounded" nillable="true"/> | |
37 | <element ref="ns:fooGlobal"/> | |
38 | <element ref="ns:barGlobal"/> | |
39 | <element ref="ns:dingGlobal"/> | |
40 | <element ref="ns:remarkNillable"/> | |
41 | </sequence> | |
42 | </complexType> | |
43 | </element> | |
44 | ||
45 | <element name="shipComment" type="string" | |
46 | substitutionGroup="ns:comment"/> | |
47 | <element name="customerComment" type="string" | |
48 | substitutionGroup="ns:comment"/> | |
49 | ||
50 | ||
51 | <annotation><documentation xml:lang="EN">Local element declarations</documentation></annotation> | |
52 | ||
53 | ||
54 | <complexType name="e25seq"> | |
55 | <sequence> | |
56 | <element name="title" type="string"/> | |
57 | <element name="forename" type="string" nillable="true"/> | |
58 | <element name="surname" type="string" minOccurs="0"/> | |
59 | <element name="bornDate" type="integer" minOccurs="0" maxOccurs="unbounded"/> | |
60 | <element name="bornPlace" type="string" minOccurs="0" maxOccurs="unbounded" nillable="true"/> | |
61 | <element ref="ns:fooGlobal"/> | |
62 | <element ref="ns:barGlobal"/> | |
63 | <element ref="ns:dingGlobal"/> | |
64 | <element ref="ns:remarkNillable"/> | |
65 | </sequence> | |
66 | </complexType> | |
67 | ||
68 | ||
69 | </schema> |