element <poem> (global)
Namespace:
Type:
anonymous complexType
Content:
complex, 7 attributes, 5 elements
Defined:
globally in pretext.xsd; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
XML Representation Summary
<poem
   
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
("left" | "center" | "right")
   
>
   
Content: 
title?, idx*, author?, (line+ | stanza+)
</poem>
Content model elements (5):
author (in poem),
line (defined in PoemLine group),
title (defined in Title group)
Included in content model of elements (12):
conclusion (defined in ConclusionDivision group),
paragraphs (defined in Paragraphs group),
sidebyside (defined in SideBySide group),
sidebyside (defined in SideBySideNoCaption group),
Known Usage Locations
XML Source (see within schema source)
<xs:element name="poem">
<xs:complexType>
<xs:sequence>
<xs:group ref="MetaDataTitleOptional"/>
<xs:element minOccurs="0" name="author">
<xs:complexType mixed="true">
<xs:group ref="TextShort"/>
<xs:attribute name="halign">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:choice>
<xs:group maxOccurs="unbounded" ref="PoemLine"/>
<xs:element maxOccurs="unbounded" ref="stanza"/>
</xs:choice>
</xs:sequence>
<xs:attributeGroup ref="MetaDataTitleOptional"/>
<xs:attribute name="halign">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribute Detail (all declarations; defined within this component only; 1/7)
halign
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"left", "center", "right"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"left", "center", "right"
XML Source (see within schema source)
<xs:attribute name="halign">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Content Element Detail (all declarations; defined within this component only; 2/5)
author
Type:
anonymous complexType, mixed content
XML Source (see within schema source)
<xs:element minOccurs="0" name="author">
<xs:complexType mixed="true">
<xs:group ref="TextShort"/>
<xs:attribute name="halign">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>

stanza
Type:
anonymous complexType, complex content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" ref="stanza"/>

XML schema documentation generated with FlexDoc/XML 1.12.5 using FlexDoc/XML XSDDoc 2.9.2 template set