forked from hfreye/RLP-XML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfachtype.xsd
46 lines (40 loc) · 1.64 KB
/
fachtype.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
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://bsbb.eu"
xmlns="http://bsbb.eu"
elementFormDefault="qualified">
<xs:include schemaLocation="http://bsbb.eu/textcontent.xsd"></xs:include>
<xs:include schemaLocation="http://bsbb.eu/c2type.xsd"></xs:include>
<xs:complexType name="themainhalttype">
<xs:sequence>
<xs:element name="id" type="xs:ID"/>
<xs:element name="title" type="stringtype"/>
<xs:element name="content" type="stringtype"
minOccurs="0"
maxOccurs="20"/>
<xs:element name="inhalt" type="themainhalttype"
minOccurs="0"
maxOccurs="20"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="c3type">
<xs:sequence>
<xs:element name="id" type="xs:ID"/>
<xs:element name="title" type="stringtype"/>
<xs:element name="vortext" type="textcontent"/>
<xs:element name="themainhalt" type="themainhalttype"
minOccurs="1"
maxOccurs="30"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="fachtype">
<xs:sequence>
<xs:element name="id" type="xs:ID"/>
<xs:element name="title" type="stringtype"/>
<xs:element name="c1" type="textcontent"/>
<xs:element name="c2" type="c2type"/>
<xs:element name="c3" type="c3type"/>
</xs:sequence>
</xs:complexType>
<xs:element name="fach" type="fachtype"/>
</xs:schema>