diff options
Diffstat (limited to 'versification/canon.xsd')
-rw-r--r-- | versification/canon.xsd | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/versification/canon.xsd b/versification/canon.xsd index dc17157..59aff42 100644 --- a/versification/canon.xsd +++ b/versification/canon.xsd @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:simpleType name="ST_abbr">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
<xs:element name="name">
<xs:simpleType>
<xs:restriction base="xs:string"/>
@@ -27,8 +30,19 @@ </xs:complexType>
</xs:element>
<xs:element name="abbr">
- <xs:simpleType>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="ST_abbr">
+ <xs:attribute name="mode">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="olb"/>
+ <xs:enumeration value="westminster"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
</xs:element>
</xs:schema>
|