source

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
class restriction of xs:token book optional
id sourceID required
kind restriction of xs:token optional
lang xs:language optional
media restriction of xs:token unknown optional

Source

<xs:element minOccurs="0" maxOccurs="unbounded" name="source">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="author" type="xs:normalizedString"/>
      <xs:element name="title" type="xs:normalizedString"/>
      <xs:element name="shorttitle" type="xs:normalizedString"/>
      <xs:element minOccurs="0" name="published" type="xs:normalizedString"/>
      <xs:choice minOccurs="0">
        <xs:element name="isbn" type="xs:normalizedString"/>
        <xs:element name="issn" type="xs:normalizedString"/>
      </xs:choice>
      <xs:choice minOccurs="0">
        <xs:element maxOccurs="unbounded" name="repositoryref">
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="callnumber" type="xs:normalizedString"/>
              <xs:element minOccurs="0" name="note" type="stringlang"/>
            </xs:sequence>
            <xs:attribute name="ref" type="repositoryID" use="required"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="sourceref" type="sourceID"/>
      </xs:choice>
      <xs:element minOccurs="0" name="text" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="objectType"/>
      <xs:element minOccurs="0" name="note" type="stringlang"/>
      <xs:element minOccurs="0" name="change" type="xs:dateTime"/>
    </xs:sequence>
    <xs:attribute name="id" type="sourceID" use="required"/>
    <xs:attribute default="book" name="class" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="series"/>
          <xs:enumeration value="book"/>
          <xs:enumeration value="issue"/>
          <xs:enumeration value="article"/>
          <xs:enumeration value="part"/>
          <xs:enumeration value="chapter"/>
          <xs:enumeration value="document"/>
          <xs:enumeration value="section"/>
          <xs:enumeration value="excerpt"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="kind" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="original"/>
          <xs:enumeration value="reprint"/>
          <xs:enumeration value="copy"/>
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="unknown" name="media" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="audio"/>
          <xs:enumeration value="digital"/>
          <xs:enumeration value="fiche"/>
          <xs:enumeration value="handwritten"/>
          <xs:enumeration value="inscription"/>
          <xs:enumeration value="microfilm"/>
          <xs:enumeration value="photo"/>
          <xs:enumeration value="printed"/>
          <xs:enumeration value="video"/>
          <xs:enumeration value="other"/>
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="lang" type="xs:language" use="optional"/>
  </xs:complexType>
</xs:element>

Sample