mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-29 09:05:30 +00:00
Generation Script + BUGFIX, XSD für Beilagen
This commit is contained in:
@@ -22,31 +22,56 @@
|
||||
|
||||
<xsd:element name="datum" type="kgpz:date" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Das Datum des Stücks, wie auf dem Titel angegeben, falls bekannt.</xsd:documentation>
|
||||
<xsd:documentation>Das Datum des Stücks, wie auf dem Titel
|
||||
angegeben, falls bekannt.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="von" type="xsd:positiveInteger" minOccurs="0"
|
||||
maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Die erste Seitenzahl des Stücks, falls bekannt.</xsd:documentation>
|
||||
<xsd:documentation>Die erste Seitenzahl des Stücks, falls
|
||||
bekannt.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="bis" type="xsd:positiveInteger" minOccurs="0"
|
||||
maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Die letzte Seitenzahl des Stücks, falls bekannt.</xsd:documentation>
|
||||
<xsd:documentation>Die letzte Seitenzahl des Stücks, falls
|
||||
bekannt.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<!-- Kann von Stücke abgeleitet werden -->
|
||||
<xsd:element name="beilagen" type="xsd:nonNegativeInteger" default="0"
|
||||
minOccurs="0" maxOccurs="1">
|
||||
<xsd:element name="beilage" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation> Optional: Die Anzahl der Beilagen des
|
||||
Stücks. </xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="von" type="xsd:positiveInteger"
|
||||
minOccurs="0"
|
||||
maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Die erste Seitenzahl der Beilage,
|
||||
falls bekannt.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="bis" type="xsd:positiveInteger"
|
||||
minOccurs="0"
|
||||
maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Die letzte Seitenzahl der
|
||||
Beilage, falls bekannt.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="nummer" type="xsd:positiveInteger"
|
||||
use="required"></xsd:attribute>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<!-- Vielleicht nötig -->
|
||||
@@ -76,4 +101,4 @@
|
||||
<xsd:field xpath="kgpz:datum/@when" />
|
||||
</xsd:unique>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
</xsd:schema>
|
||||
|
||||
Reference in New Issue
Block a user