-
Notifications
You must be signed in to change notification settings - Fork 42
/
import-doc1.xsd
33 lines (33 loc) · 1.48 KB
/
import-doc1.xsd
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
33
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dblimp="https://github.com/MichielCM/xsd2html2xml/doubleImport" xmlns="https://github.com/MichielCM/xsd2html2xml/import" targetNamespace="https://github.com/MichielCM/xsd2html2xml/import" elementFormDefault="qualified">
<xs:import namespace="https://github.com/MichielCM/xsd2html2xml/doubleImport" schemaLocation="double-import-doc.xsd"/>
<xs:simpleType name="testType">
<xs:restriction base="xs:string">
<xs:enumeration value="FALSE"/>
<xs:enumeration value="TRUE"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="importedType1">
<xs:restriction base="xs:string">
<xs:enumeration value="FALSE"/>
<xs:enumeration value="TRUE"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="importedComplexType">
<xs:sequence>
<xs:element name="importedComplexElement1" type="xs:byte"/>
<xs:element name="importedComplexElement2" type="importedType1"/>
<xs:element name="importedComplexElement3" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:element name="importedElement1" type="xs:boolean"/>
<xs:element name="importedComplexParentElement">
<xs:complexType>
<xs:sequence>
<xs:element name="importedSimpleElement" type="xs:string"/>
<xs:element name="doubleImportedType" type="dblimp:doubleImportedType"/>
<xs:element ref="dblimp:doubleImportedElement"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>