Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_xsds / XmlTest_complex_all.xsd
CommitLineData
970ed795 1<!--
d44e3c4f 2 Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 7
8 Contributors:
9 Balasko, Jeno
10 Raduly, Csaba
11-->
970ed795
EL
12<schema xmlns="http://www.w3.org/2001/XMLSchema"
13 xmlns:ns41="www.XmlTest.org/complex_all"
14 targetNamespace="www.XmlTest.org/complex_all">
15 <annotation>
16 <documentation xml:lang="en">
17 This documentum tests based on
18 XML Schema Part 0: Primer Second Edition
19 2.7 Building Content models
20 </documentation>
21 </annotation>
22
23<complexType name="MySubjects1">
24 <all>
25 <element name="English" type="string" minOccurs="0"/>
26 <element name="Math" type="string" minOccurs="0"/>
27 <element name="Physics" type="string" minOccurs="0"/>
28 <element name="Chemistry" type="string" minOccurs="0"/>
29 </all>
30 <attribute name="Year" type="gYear"/>
31</complexType>
32
33<complexType name="MySubjects2">
34 <group ref="ns41:Subject"/>
35 <attribute name="Year" type="gYear"/>
36</complexType>
37
38<group name="Subject">
39 <all>
40 <element name="English" type="string"/>
41 <element name="Math" type="string"/>
42 <element name="Physics" type="string"/>
43 <element name="Chemistry" type="string"/>
44 <element name="History" type="string"/>
45 </all>
46</group>
47
48
49</schema>
This page took 0.027105 seconds and 5 git commands to generate.