source: cats/SCHEMAcat/trunk/data/schemata/s1/files/adelheid-charstream.xsd @ 4558

Last change on this file since 4558 was 4558, checked in by andmor, 10 years ago

Schema folders are now named by their ID instead of 'name+verison' pair.
This makes it easier to change the name of a schema without having to rename its folder.

File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcr="http://www.isocat.org/ns/dcr"  elementFormDefault="qualified">
3  <xs:element name="adelheid-charstream" dcr:datcat="http://www.isocat.org/datcat/DC-4234">
4    <xs:complexType>
5      <xs:sequence>
6        <xs:element ref="teiHeader"/>
7        <xs:element ref="body"/>
8      </xs:sequence>
9    </xs:complexType>
10  </xs:element>
11  <xs:element name="teiHeader" dcr:datcat="http://www.isocat.org/datcat/DC-5114" type="xs:string"/>
12  <xs:element name="body" dcr:datcat="http://www.isocat.org/datcat/DC-5116">
13    <xs:complexType>
14      <xs:sequence>
15        <xs:element maxOccurs="unbounded" ref="manuscript"/>
16      </xs:sequence>
17    </xs:complexType>
18  </xs:element>
19  <xs:element name="manuscript" dcr:datcat="http://www.isocat.org/datcat/DC-4237">
20    <xs:complexType>
21      <xs:choice minOccurs="0" maxOccurs="unbounded">
22        <xs:element ref="comment"/>
23        <xs:element ref="charpos"/>
24      </xs:choice>
25      <xs:attributeGroup ref="attlist.manuscript"/>
26    </xs:complexType>
27  </xs:element>
28  <xs:attributeGroup name="attlist.manuscript">
29    <xs:attribute name="name" dcr:datcat="http://www.isocat.org/datcat/DC-5119"/>
30    <xs:attribute name="manid" dcr:datcat="http://www.isocat.org/datcat/DC-5118" use="required"/>
31  </xs:attributeGroup>
32  <xs:element name="comment" dcr:datcat="http://www.isocat.org/datcat/DC-4242">
33    <xs:complexType mixed="true">
34      <xs:attributeGroup ref="attlist.comment"/>
35    </xs:complexType>
36  </xs:element>
37  <xs:attributeGroup name="attlist.comment">
38    <xs:attribute name="TPos" dcr:datcat="http://www.isocat.org/datcat/DC-4231" use="required"/>
39  </xs:attributeGroup>
40  <xs:element name="charpos" dcr:datcat="http://www.isocat.org/datcat/DC-4241">
41    <xs:complexType mixed="true">
42      <xs:attributeGroup ref="attlist.charpos"/>
43    </xs:complexType>
44  </xs:element>
45  <xs:attributeGroup name="attlist.charpos">
46    <xs:attribute name="TPos" dcr:datcat="http://www.isocat.org/datcat/DC-4231" use="required"/>
47    <xs:attribute name="ASep" dcr:datcat="http://www.isocat.org/datcat/DC-4216" default="0">
48      <xs:simpleType>
49        <xs:restriction base="xs:token">
50          <xs:enumeration value="0"/>
51          <xs:enumeration value="1"/>
52        </xs:restriction>
53      </xs:simpleType>
54    </xs:attribute>
55    <xs:attribute name="TSep" dcr:datcat="http://www.isocat.org/datcat/DC-4232" default="0">
56      <xs:simpleType>
57        <xs:restriction base="xs:token">
58          <xs:enumeration value="0"/>
59          <xs:enumeration value="1"/>
60        </xs:restriction>
61      </xs:simpleType>
62    </xs:attribute>
63    <xs:attribute name="MSep" dcr:datcat="http://www.isocat.org/datcat/DC-4224" default="0">
64      <xs:simpleType>
65        <xs:restriction base="xs:token">
66          <xs:enumeration value="0"/>
67          <xs:enumeration value="1"/>
68        </xs:restriction>
69      </xs:simpleType>
70    </xs:attribute>
71    <xs:attribute name="SepReal" dcr:datcat="http://www.isocat.org/datcat/DC-4226" use="required"/>
72    <xs:attribute name="AChar" dcr:datcat="http://www.isocat.org/datcat/DC-4212" use="required"/>
73    <xs:attribute name="TChar" dcr:datcat="http://www.isocat.org/datcat/DC-4229" use="required"/>
74    <xs:attribute name="MChar" dcr:datcat="http://www.isocat.org/datcat/DC-4222" use="required"/>
75    <xs:attribute name="SepProb" dcr:datcat="http://www.isocat.org/datcat/DC-4225" default="1.0"/>
76  </xs:attributeGroup>
77</xs:schema>
Note: See TracBrowser for help on using the repository browser.