Dokumentation aller Attribute und Tags

This commit is contained in:
Simon Martens
2024-05-11 19:39:09 +02:00
parent 97de4b77f7
commit 8f6f5d4cbb
7 changed files with 437 additions and 72 deletions

View File

@@ -10,21 +10,28 @@
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Year">
<xsd:restriction base="xsd:unsignedInt">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2024" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ref">
<xsd:annotation>
<xsd:documentation>Referenziert ein anderes Element.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="ref" use="required" type="kgpz:NonEmptyString" />
<xsd:attribute name="unsicher" use="optional" default="false" type="xsd:boolean" />
<xsd:attribute name="ref" use="required" type="kgpz:NonEmptyString" >
<xsd:annotation>
<xsd:documentation>Pflicht: Die ID des referenzierten Elements.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unsicher" use="optional" default="false" type="xsd:boolean" >
<xsd:annotation>
<xsd:documentation>Optional: Ist die Referenz unsicher? Erlaubt: true | false</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- This section is almost exactly as in TEI -->
<xsd:attributeGroup name="dateattributes">
<xsd:attributeGroup ref="kgpz:when"/>
<xsd:attributeGroup ref="kgpz:notBefore"/>
@@ -33,10 +40,9 @@
<xsd:attributeGroup ref="kgpz:to"/>
</xsd:attributeGroup>
<!-- This section is alsmost exacty as in TEI -->
<xsd:complexType name="date">
<xsd:annotation>
<xsd:documentation>(date) contains a date in any format. [3.6.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 15.2.3. The Setting Description 13.4. Dates]</xsd:documentation>
<xsd:documentation>(date) contains a date in any format.</xsd:documentation>
</xsd:annotation>
<xsd:attributeGroup ref="kgpz:dateattributes"/>
</xsd:complexType>