poemType

A poem

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
xml:lang xs:language optional
Element content's languige

Used By

Source

<xs:complexType name="poemType">
  <xs:annotation>
    <xs:documentation>A poem</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="title" type="titleType" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Poem title</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="epigraph" type="epigraphType" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Poem epigraph(s), if any</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="stanza" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Each poem should have at least one stanza. Stanzas are usually separated with empty lines by user agents.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="title" type="titleType" minOccurs="0"/>
          <xs:element name="subtitle" type="pType" minOccurs="0"/>
          <xs:element name="v" type="pType" maxOccurs="unbounded">
            <xs:annotation>
              <xs:documentation>An individual line in a stanza</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute ref="xml:lang"/>
      </xs:complexType>
    </xs:element>
    <xs:element name="text-author" type="pType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="date" type="dateType" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Date this poem was written.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="xs:ID" use="optional"/>
  <xs:attribute ref="xml:lang"/>
</xs:complexType>