-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy pathsimple_schema.xsd
More file actions
32 lines (32 loc) · 1.01 KB
/
simple_schema.xsd
File metadata and controls
32 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="XMLSchema1"
targetNamespace="mysamplenamespace"
elementFormDefault="qualified"
xmlns="http://tempuri.org/XMLSchema1.xsd"
xmlns:mstns="http://tempuri.org/XMLSchema1.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:element name="MyRootElement">
<xs:complexType id="RootType">
<xs:all>
<xs:element name="Child1">
<xs:simpleType id="Child1Type">
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
</xs:element>
<xs:element name="Child2">
<xs:simpleType id="Child2Type">
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="ComplexChild1">
<xs:complexType id="SomeComplexType">
<xs:all>
<xs:element name="Child11"></xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>