Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / xsd / elements.xsd
CommitLineData
970ed795
EL
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
d44e3c4f 3 Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 8
9 Contributors:
10 Balasko, Jeno
11 Raduly, Csaba
12 Szabo, Bence Janos
13-->
970ed795 14<schema xmlns="http://www.w3.org/2001/XMLSchema"
3f84031e 15xmlns:ns="www.example.org/elements"
16targetNamespace="www.example.org/elements">
970ed795
EL
17
18<annotation>
19 <documentation xml:lang="EN">
20 </documentation>
21</annotation>
22
23
24
25<annotation><documentation xml:lang="EN">Global element declarations</documentation></annotation>
26
27<annotation><documentation xml:lang="EN">Global element declarations</documentation></annotation>
28
29<element name="fooGlobal" type="float"/>
30<element name="barGlobal" type="string"/>
31<element name="dingGlobal" type="integer" />
32<element name="remarkNillable" type="string" nillable="true"/>
33<element name="comment" type="string"/>
34
35<element name="SeqNillable" nillable="true">
36 <complexType>
37 <sequence>
38 <element name="forename" type="string" nillable="true"/>
39 <element name="surname" type="string" minOccurs="0" nillable="true"/>
40 <element name="bornPlace" type="string" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
41 <element ref="ns:fooGlobal"/>
42 <element ref="ns:barGlobal"/>
43 <element ref="ns:dingGlobal"/>
44 <element ref="ns:remarkNillable"/>
45 </sequence>
46 </complexType>
47</element>
48
49<element name="shipComment" type="string"
50 substitutionGroup="ns:comment"/>
51<element name="customerComment" type="string"
52 substitutionGroup="ns:comment"/>
53
54
55<annotation><documentation xml:lang="EN">Local element declarations</documentation></annotation>
56
57
58<complexType name="e25seq">
59 <sequence>
60 <element name="title" type="string"/>
61 <element name="forename" type="string" nillable="true"/>
62 <element name="surname" type="string" minOccurs="0"/>
63 <element name="bornDate" type="integer" minOccurs="0" maxOccurs="unbounded"/>
64 <element name="bornPlace" type="string" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
65 <element ref="ns:fooGlobal"/>
66 <element ref="ns:barGlobal"/>
67 <element ref="ns:dingGlobal"/>
68 <element ref="ns:remarkNillable"/>
69 </sequence>
70</complexType>
71
72
73</schema>
This page took 0.038009 seconds and 5 git commands to generate.