XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespacehttp://www.heml.org/schemas/2003-09-17/heml
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://purl.org/dc/elements/1.1/ (at simpledc20021212.xsd)
    • http://www.w3.org/XML/1998/namespace (at xml.xsd)
    • http://www.w3.org/1999/xhtml (at xhtml11/xhtml11.xsd)
    • http://www.oasis-open.org/docbook/xmlschema/4.1.2 (at Dbxsd/mybibliomixed.xsd)
    • http://www.w3.org/1999/xlink (at common_xlink.xsd)
    • http://www.w3.org/2003/01/geo/wgs84_pos# (at geo.xsd)
Documentation

$Id: heml.xsd 1681 2005-12-20 15:36:16Z brucerob $

$Date: 2005-12-20 11:36:16 -0400 (Tue, 20 Dec 2005) $

$Revision: 1.15 $

This is the XML Schema for Heml, version 2003-09-17. See http://www.heml.org for more information on the project and for tools that transform documents that conform to this schema.

This schema's outer-most (or top-level) element is heml:Heml ; it represents a collection of historical events, each of which is encoded in an heml:Event element.

This schema has been built according to the following design pattern:

  1. Though .heml documents are produced by and for computational processes, they ought to be readable. Thus the element names border on the verbose.
  2. Types are given names ending with 'Type'
  3. Groups are given names ending with 'Group'
  4. Types and elements are capitalized; attributes begin with a lower-case letter.
  5. Every element that comprises other elements with non-editoral functions has these two optional editoral elements:
    1. A heml:Comment at the beginning of its content model (that is, before all other elements). This may comprise only plain text and is meant for editoral notes.
    2. A heml:Annex at the end of its content model (that is, after all other elements). This may comprise any markup; it is suited to adding application- or site-specific markup to the core of this Heml version.
  6. Elements whose names end with 'Set', such as 'LabelSet', represent a collection of elements which refer to the same object or idea but differ only in language. These should be distinguished from elements whose name are in the plural; the latter, such as the 'Events' element collect element that refer to different things or ideas.

Declared Namespaces

PrefixNamespace
xmlhttp://www.w3.org/XML/1998/namespace
xhtmlhttp://www.w3.org/1999/xhtml
dchttp://purl.org/dc/elements/1.1/
dbhttp://www.oasis-open.org/docbook/xmlschema/4.1.2
xlinkhttp://www.w3.org/1999/xlink
xshttp://www.w3.org/2001/XMLSchema
geohttp://www.w3.org/2003/01/geo/wgs84_pos#
hemlhttp://www.heml.org/schemas/2003-09-17/heml
htmlhttp://www.w3.org/1999/xhtml
Schema Component Representation
<xs:schema targetNamespace="http://www.heml.org/schemas/2003-09-17/heml" elementFormDefault="qualified">
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="simpledc20021212.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="xhtml11/xhtml11.xsd"/>
<xs:import namespace="http://www.oasis-open.org/docbook/xmlschema/4.1.2" schemaLocation="Dbxsd/mybibliomixed.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="common_xlink.xsd"/>
<xs:import namespace="http://www.w3.org/2003/01/geo/wgs84_pos#" schemaLocation="geo.xsd"/>
...
</xs:schema>
top

Global Declarations

Element: Annex

NameAnnex
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation An optional element comprising mixed content; used to add non-standard or experimental markup to Heml elements. Where it appears, it is the last element in a sequence.
XML Instance Representation
<heml:Annex>
<-- Mixed content -->
Allow any elements from any namespace (lax validation). [0..*]
</heml:Annex>
Schema Component Representation
<xs:element name="Annex">
<xs:complexType mixed="true">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: BoundedDate

NameBoundedDate
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:BoundedDate>
</heml:BoundedDate>
Schema Component Representation
<xs:element name="BoundedDate">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:TerminusPostQuem"/>
<xs:element ref="heml:TerminusAnteQuem"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: ChronologicalDerivation

NameChronologicalDerivation
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:ChronologicalDerivation>
</heml:ChronologicalDerivation>
Schema Component Representation
<xs:element name="ChronologicalDerivation">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:ChronologicalDerivationStepLabelSet" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: ChronologicalDerivationStepLabel

NameChronologicalDerivationStepLabel
Typexs:string
Nillableno
Abstractno
XML Instance Representation
<heml:ChronologicalDerivationStepLabel> xs:string </heml:ChronologicalDerivationStepLabel>
Schema Component Representation
<xs:element name="ChronologicalDerivationStepLabel" type="xs:string"/>
top

Element: ChronologicalDerivationStepLabelSet

NameChronologicalDerivationStepLabelSet
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:ChronologicalDerivationStepLabelSet>
</heml:ChronologicalDerivationStepLabelSet>
Schema Component Representation
<xs:element name="ChronologicalDerivationStepLabelSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:ChronologicalDerivationStepLabel" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: ChronologicalRelationship

NameChronologicalRelationship
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
In a ComplexDate, expresses the relationship between current date and the one to which it is related. The only 'relationship' element now allowed is 'tpq', meaning that the referred-to date is this date's terminus post quem. That is, this date takes place after the referred-to date.
XML Instance Representation
<heml:ChronologicalRelationship
to="xs:anyURI [0..1]"
relationship="heml:PossibleChronologicalRelationships [0..1]"/>
Schema Component Representation
<xs:element name="ChronologicalRelationship">
<xs:complexType>
<xs:attribute name="to" type="xs:anyURI"/>
<xs:attribute name="relationship" type="heml:PossibleChronologicalRelationships"/>
</xs:complexType>
</xs:element>
top

Element: Chronology

NameChronology
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationRepresents the information known about the date of an event. Can comprise an AbsoluteDate, ComplexDate or DateRange element.
XML Instance Representation
<heml:Chronology>
<heml:Comment> ... </heml:Comment> [0..1]
Start Choice [1]
Start Choice [1]
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
Start Choice [1]
End Choice
End Choice
End Choice
<heml:Annex> ... </heml:Annex> [0..1]
</heml:Chronology>
Schema Component Representation
<xs:element name="Chronology">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:ChronologicalDerivation" minOccurs="0" maxOccurs="1"/>
<xs:choice>
<xs:group ref="heml:PossibleDatesGroup"/>
<xs:element ref="heml:ComplexDate"/>
<xs:element ref="heml:DateRange"/>
</xs:choice>
<xs:element ref="heml:Annex" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Classification

NameClassification
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationGathers means of classifying the event. Currently, only the KeywordClassificationSet element, or reference using the KeywordClassificationSetRef element, are possible.
XML Instance Representation
<heml:Classification>
</heml:Classification>
Schema Component Representation
<xs:element name="Classification">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:KeywordClassificationSetRef" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Comment

NameComment
Typeheml:LangString
Nillableno
Abstractno
DocumentationEditorial text which may be added as the first sub-element of a sequence.
XML Instance Representation
<heml:Comment
xml:lang="[0..1]">
xs:string
</heml:Comment>
Schema Component Representation
<xs:element name="Comment" type="heml:LangString"/>
top

Element: ComplexDate

NameComplexDate
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
Represents a date expressed through a relation with another date. For instance, two events dated to 264 BC one of which we know took place after the other but for whom no further chronological information is available. The second of these should be given a ComplexDate element comprising the SimpleDate of 264 BC (perhaps with a XMLSchemaGYear element containing the value -264) and the ChronologicalRelationship element which refers to the first event and has a type attribute of 'after'.
XML Instance Representation
<heml:ComplexDate>
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
</heml:ComplexDate>
Schema Component Representation
<xs:element name="ComplexDate">
<xs:complexType>
<xs:sequence>
<xs:group ref="heml:DatePrimitivesGroup"/>
<xs:element ref="heml:ChronologicalRelationship"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Date

NameDate
Typexs:date
Nillableno
Abstractno
DocumentationA date represented in XML Schema's <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#date"> date</a> datatype. Note that a '-' may be used before the date to indicate a year BCE.
XML Instance Representation
<heml:Date> xs:date </heml:Date>
Schema Component Representation
<xs:element name="Date" type="xs:date"/>
top

Element: DateRange

NameDateRange
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationRepresents a span of time. Internally, a DateRange resolves to two 'time' values.
XML Instance Representation
<heml:DateRange>
Start Choice [1]
End Choice
</heml:DateRange>
Schema Component Representation
<xs:element name="DateRange">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element ref="heml:StartingDate"/>
<xs:element ref="heml:EndingDate"/>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>
top

Element: DateTime

NameDateTime
Typexs:dateTime
Nillableno
Abstractno
DocumentationA date represented in XML Schema's <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#datetime"> datetime</a> datatype. Note that a '-' may be used before the date to indicate a year BCE.
XML Instance Representation
<heml:DateTime> xs:dateTime </heml:DateTime>
Schema Component Representation
<xs:element name="DateTime" type="xs:dateTime"/>
top

Element: Definitions

NameDefinitions
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationContainer for all locations, persons, etc.
XML Instance Representation
Schema Component Representation
<xs:element name="Definitions">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:LocationDefinitions"/>
<xs:element ref="heml:PersonDefinitions"/>
<xs:element ref="heml:RoleLabelSetDefinitions"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: EndingDate

NameEndingDate
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:EndingDate>
Start Choice [1]
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
Start Choice [1]
End Choice
End Choice
</heml:EndingDate>
Schema Component Representation
<xs:element name="EndingDate">
<xs:complexType>
<xs:group ref="heml:PossibleDatesGroup"/>
</xs:complexType>
</xs:element>
top

Element: Event

NameEvent
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationThe heml:Event element represents what is known about an historical event. It comprises, in order, Labels, Date, Location, Participants and References elements. See their documentation for further information.
XML Instance Representation
<heml:Event
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:References> ... </heml:References> [0..1]
<heml:EventAnnex> ... </heml:EventAnnex> [0..1]
</heml:Event>
Schema Component Representation
<xs:element name="Event">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:EventLabelSet"/>
<xs:element ref="heml:Classification" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Chronology"/>
<xs:element ref="heml:LocationRef" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Participants" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:References" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:EventAnnex" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
top

Element: EventAnnex

NameEventAnnex
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation An optional element comprising mixed content; used to add non-standard or experimental markup to Heml elements. Where it appears, it is the last element in a sequence.
XML Instance Representation
<heml:EventAnnex>
<-- Mixed content -->
Allow any elements from any namespace (lax validation). [0..*]
</heml:EventAnnex>
Schema Component Representation
<xs:element name="EventAnnex">
<xs:complexType mixed="true">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: EventLabelSet

NameEventLabelSet
Typeheml:LabelGroupType
Nillableno
Abstractno
XML Instance Representation
<heml:EventLabelSet>
<!--
Uniqueness Constraint - uniqueXmlLangForLabelSet
Selector - heml:Label
Field(s) - @xml:lang
-->

<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</heml:EventLabelSet>
Schema Component Representation
<xs:element name="EventLabelSet" type="heml:LabelGroupType">
<xs:unique name="uniqueXmlLangForLabelSet">
<xs:selector xpath="heml:Label"/>
<xs:field xpath="@xml:lang"/>
</xs:unique>
</xs:element>
top

Element: Events

NameEvents
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
A collection of heml:Event s.
XML Instance Representation
<heml:Events>
<heml:Event> ... </heml:Event> [1..*]
</heml:Events>
Schema Component Representation
<xs:element name="Events">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Event" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Evidence

NameEvidence
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:Evidence>
<heml:EvidenceType> xs:string </heml:EvidenceType> [0..1]
<heml:EvidenceMedia> xs:string </heml:EvidenceMedia> [0..1]
<heml:Originator> ... </heml:Originator> [0..1]
</heml:Evidence>
Schema Component Representation
<xs:element name="Evidence">
<xs:complexType>
<xs:sequence>
<xs:element name="EvidenceType" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="EvidenceMedia" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Originator" minOccurs="0" maxOccurs="1"/>
<xs:group ref="heml:SourcesGroup"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Evidences

NameEvidences
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:Evidences>
<heml:Evidence> ... </heml:Evidence> [1..*]
</heml:Evidences>
Schema Component Representation
<xs:element name="Evidences">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Evidence" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Head

NameHead
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationA container for metadata from the Simple Dublin Core Schema.
XML Instance Representation
<heml:Head>
Model group reference (not shown): dc:elementsGroup [0..1]
</heml:Head>
Schema Component Representation
<xs:element name="Head">
<xs:complexType>
<xs:sequence>
<xs:group ref="dc:elementsGroup" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Heml

NameHeml
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationThe topl-level, or root, element in a Heml document. Comprises a Head element (metadata) and a Body element, which itself is a group of Event elements.
XML Instance Representation
<heml:Heml>
<heml:Head> ... </heml:Head> [1]
<heml:Events> ... </heml:Events> [0..1]
<heml:Periods> ... </heml:Periods> [0..1]
</heml:Heml>
Schema Component Representation
<xs:element name="Heml">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Head"/>
<xs:element ref="heml:Definitions"/>
<xs:element ref="heml:Events" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Periods" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: IntCalDate

NameIntCalDate
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalDate
xml:lang="[0..1]">
<heml:IntCalDay> ... </heml:IntCalDay> [0..1]
</heml:IntCalDate>
Schema Component Representation
<xs:element name="IntCalDate">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:IntCalendar"/>
<xs:element ref="heml:IntCalEra"/>
<xs:element ref="heml:IntCalYear"/>
<xs:element ref="heml:IntCalMonth" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:IntCalDay" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="xml:lang"/>
</xs:complexType>
</xs:element>
top

Element: IntCalDay

NameIntCalDay
Typexs:integer
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalDay> xs:integer </heml:IntCalDay>
Schema Component Representation
<xs:element name="IntCalDay" type="xs:integer"/>
top

Element: IntCalEra

NameIntCalEra
Typexs:string
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalEra> xs:string </heml:IntCalEra>
Schema Component Representation
<xs:element name="IntCalEra" type="xs:string"/>
top

Element: IntCalMonth

NameIntCalMonth
Typexs:integer
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalMonth> xs:integer </heml:IntCalMonth>
Schema Component Representation
<xs:element name="IntCalMonth" type="xs:integer"/>
top

Element: IntCalYear

NameIntCalYear
Typexs:integer
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalYear> xs:integer </heml:IntCalYear>
Schema Component Representation
<xs:element name="IntCalYear" type="xs:integer"/>
top

Element: IntCalendar

NameIntCalendar
Typexs:string
Nillableno
Abstractno
XML Instance Representation
<heml:IntCalendar> xs:string </heml:IntCalendar>
Schema Component Representation
<xs:element name="IntCalendar" type="xs:string"/>
top

Element: KeywordClassificationSet

NameKeywordClassificationSet
Typeheml:LabelGroupWithIdType
Nillableno
Abstractno
Documentation A collection of heml:Label elements that refer, each in their own language, to a keyword or concept under which this event should be classified. Once written, should be referred to with a KeywordClassificationRef element.
XML Instance Representation
<heml:KeywordClassificationSet
uri="xs:anyURI [1]">
<!--
Uniqueness Constraint - uniqueXmlLangForKeywords
Selector - heml:Label
Field(s) - @xml:lang
-->

<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</heml:KeywordClassificationSet>
Schema Component Representation
<xs:element name="KeywordClassificationSet" type="heml:LabelGroupWithIdType">
<xs:unique name="uniqueXmlLangForKeywords">
<xs:selector xpath="heml:Label"/>
<xs:field xpath="@xml:lang"/>
</xs:unique>
</xs:element>
top

Element: KeywordClassificationSetDefinitions

NameKeywordClassificationSetDefinitions
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:KeywordClassificationSetDefinitions>
</heml:KeywordClassificationSetDefinitions>
Schema Component Representation
<xs:element name="KeywordClassificationSetDefinitions">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:KeywordClassificationSet" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: KeywordClassificationSetRef

NameKeywordClassificationSetRef
Typeheml:BareRefType
Nillableno
Abstractno
Documentation Refers to a KeywordClassificationSet element.
XML Instance Representation
<heml:KeywordClassificationSetRef
uriRef="xs:anyURI [1]"/>
Schema Component Representation
<xs:element name="KeywordClassificationSetRef" type="heml:BareRefType"/>
top

Element: Label

NameLabel
Typeheml:LangString
Nillableno
Abstractno
XML Instance Representation
<heml:Label
xml:lang="[0..1]">
xs:string
</heml:Label>
Schema Component Representation
<xs:element name="Label" type="heml:LangString"/>
top

Element: Location

NameLocation
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationThe geographical location of the event. Currently only encodes points in lat/long and gives label.
XML Instance Representation
<heml:Location
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:LocationLabelSet> heml:LabelGroupType
<!--
Uniqueness Constraint - uniqueXmlLangForLocationLabels
Selector - heml:Label
Field(s) - @xml:lang
-->
</heml:LocationLabelSet> [1] ?
<geo:Point> ... </geo:Point> [1]
<heml:Annex> ... </heml:Annex> [0..1]
</heml:Location>
Schema Component Representation
<xs:element name="Location">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element name="LocationLabelSet" type="heml:LabelGroupType">
<xs:unique name="uniqueXmlLangForLocationLabels">
<xs:selector xpath="heml:Label"/>
<xs:field xpath="@xml:lang"/>
</xs:unique>
</xs:element>
<xs:element ref="geo:Point"/>
<xs:element ref="heml:Annex" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
top

Element: LocationDefinitions

NameLocationDefinitions
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:LocationDefinitions>
<heml:Location> ... </heml:Location> [0..*]
</heml:LocationDefinitions>
Schema Component Representation
<xs:element name="LocationDefinitions">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Location" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: LocationRef

NameLocationRef
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation A reference to an existing Location element.
XML Instance Representation
<heml:LocationRef
uriRef="xs:anyURI [1]"/>
Schema Component Representation
<xs:element name="LocationRef">
<xs:complexType>
<xs:attribute name="uriRef" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
top

Element: Name

NameName
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
The containing Name element as represented a certain language. The xml:lang attribute encodes the language according to ISO 639-1 .
XML Instance Representation
<heml:Name
xml:lang="[0..1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:NameElement
ordinal="xs:integer [1]"
text="xs:string [0..1]"> [1..*]
xs:string
</heml:NameElement>
</heml:Name>
Schema Component Representation
<xs:element name="Name">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element name="NameElement" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="ordinal" type="xs:integer" use="required"/>
<xs:attribute name="text" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ref="xml:lang"/>
</xs:complexType>
</xs:element>
top

Element: NameSet

NameNameSet
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
A collection of heml:Name, that is language-specific instances, all of which refer to the same name and person.
XML Instance Representation
<heml:NameSet>
<heml:Comment> ... </heml:Comment> [0..1]
<heml:Name> ... </heml:Name> [1..*]
</heml:NameSet>
Schema Component Representation
<xs:element name="NameSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Name" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: NetworkedSourceSet

NameNetworkedSourceSet
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
For one common document, gathers sources which are accessed by network, probably through the http. Distinguished from PhysicalSources , which include printed books.
XML Instance Representation
<heml:NetworkedSourceSet>
<heml:SimpleLink> ... </heml:SimpleLink> [1..*]
</heml:NetworkedSourceSet>
Schema Component Representation
<xs:element name="NetworkedSourceSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:SimpleLink" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Originator

NameOriginator
Typeheml:PersonType
Nillableno
Abstractno
Documentation

An Originator is a person (or, presumably, corporation of people) who provides the referred to information. For instance, a holocaust-survivor interviewed in a video medium is not the author of the account she gives (this information would be provided in the NetworkedSources or PhysicalSources elements), but she is clearly the person with whom the historian is most interested. Accordingly Heml encourages the compiler to add as much information about the Originator as possible, including element that record sex, lifespan, etc.

XML Instance Representation
<heml:Originator
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:NameSet> ... </heml:NameSet> [1]
</heml:Originator>
Schema Component Representation
<xs:element name="Originator" type="heml:PersonType"/>
top

Element: Participants

NameParticipants
TypeLocally-defined complex type
Nillableno
Abstractno
Documentationheml:Participants comprises records and references that list the people who were involved in the event. (Should add coporate groups as well.)
XML Instance Representation
<heml:Participants>
Start Group: heml:ParticipantPersonsGroup [1..*]
Start Choice [1]
End Choice
End Group: heml:ParticipantPersonsGroup
</heml:Participants>
Schema Component Representation
<xs:element name="Participants">
<xs:complexType>
<xs:sequence>
<xs:group ref="heml:ParticipantPersonsGroup" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Period

NamePeriod
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:Period
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:References> ... </heml:References> [0..1]
<heml:Annex> ... </heml:Annex> [0..1]
</heml:Period>
Schema Component Representation
<xs:element name="Period">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:PeriodLabelSet"/>
<xs:element ref="heml:Chronology"/>
<xs:element ref="heml:References" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Annex" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
top

Element: PeriodLabelSet

NamePeriodLabelSet
Typeheml:LabelGroupType
Nillableno
Abstractno
XML Instance Representation
<heml:PeriodLabelSet>
<!--
Uniqueness Constraint - uniqueXmlLangForPeriodLabelSet
Selector - heml:Label
Field(s) - @xml:lang
-->

<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</heml:PeriodLabelSet>
Schema Component Representation
<xs:element name="PeriodLabelSet" type="heml:LabelGroupType">
<xs:unique name="uniqueXmlLangForPeriodLabelSet">
<xs:selector xpath="heml:Label"/>
<xs:field xpath="@xml:lang"/>
</xs:unique>
</xs:element>
top

Element: Periods

NamePeriods
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:Periods>
<heml:Period> ... </heml:Period> [1..*]
</heml:Periods>
Schema Component Representation
<xs:element name="Periods">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Period" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Person

NamePerson
Typeheml:PersonType
Nillableno
Abstractno
XML Instance Representation
<heml:Person
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:NameSet> ... </heml:NameSet> [1]
</heml:Person>
Schema Component Representation
<xs:element name="Person" type="heml:PersonType"/>
top

Element: PersonDefinitions

NamePersonDefinitions
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:PersonDefinitions>
<heml:Person> ... </heml:Person> [0..*]
</heml:PersonDefinitions>
Schema Component Representation
<xs:element name="PersonDefinitions">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Person" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: PersonRef

NamePersonRef
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationA XML IDREF to a heml:Person defined elsewhere in this document.
XML Instance Representation
<heml:PersonRef
uriRef="xs:anyURI [1]"/>
Schema Component Representation
<xs:element name="PersonRef">
<xs:complexType>
<xs:attribute name="uriRef" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
top

Element: PersonWithRole

NamePersonWithRole
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation Joins a PersonRef with a RoleLabelSetRef.
XML Instance Representation
<heml:PersonWithRole>
</heml:PersonWithRole>
Schema Component Representation
<xs:element name="PersonWithRole">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:PersonRef"/>
<xs:element ref="heml:RoleLabelSetRef" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: PhysicalSource

NamePhysicalSource
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:PhysicalSource
xml:lang="[0..1]">
Start Group: heml:PhysicalSourceGroup [0..*]
Start Choice [1]
End Choice
End Group: heml:PhysicalSourceGroup
</heml:PhysicalSource>
Schema Component Representation
<xs:element name="PhysicalSource">
<xs:complexType>
<xs:sequence>
<xs:group ref="heml:PhysicalSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="xml:lang"/>
</xs:complexType>
</xs:element>
top

Element: PhysicalSourceSet

NamePhysicalSourceSet
TypeLocally-defined complex type
Nillableno
Abstractno
DocumentationFor one common document, gathers sources that are available in a physical medium, such as printed books.
XML Instance Representation
<heml:PhysicalSourceSet>
<heml:Annex> ... </heml:Annex> [0..1]
</heml:PhysicalSourceSet>
Schema Component Representation
<xs:element name="PhysicalSourceSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:PhysicalSource" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="heml:Annex" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: References

NameReferences
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:References>
</heml:References>
Schema Component Representation
<xs:element name="References">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:Evidences"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: RoleLabelSet

NameRoleLabelSet
Typeheml:LabelGroupWithIdType
Nillableno
Abstractno
XML Instance Representation
<heml:RoleLabelSet
uri="xs:anyURI [1]">
<!--
Uniqueness Constraint - uniqueXmlLangForRoleLabels
Selector - heml:Label
Field(s) - @xml:lang
-->

<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</heml:RoleLabelSet>
Schema Component Representation
<xs:element name="RoleLabelSet" type="heml:LabelGroupWithIdType">
<xs:unique name="uniqueXmlLangForRoleLabels">
<xs:selector xpath="heml:Label"/>
<xs:field xpath="@xml:lang"/>
</xs:unique>
</xs:element>
top

Element: RoleLabelSetDefinitions

NameRoleLabelSetDefinitions
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:RoleLabelSetDefinitions>
</heml:RoleLabelSetDefinitions>
Schema Component Representation
<xs:element name="RoleLabelSetDefinitions">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:RoleLabelSet" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: RoleLabelSetRef

NameRoleLabelSetRef
Typeheml:BareRefType
Nillableno
Abstractno
XML Instance Representation
<heml:RoleLabelSetRef
uriRef="xs:anyURI [1]"/>
Schema Component Representation
<xs:element name="RoleLabelSetRef" type="heml:BareRefType"/>
top

Element: Roles

NameRoles
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:Roles>
</heml:Roles>
Schema Component Representation
<xs:element name="Roles">
<xs:complexType>
<xs:sequence>
<xs:element ref="heml:RoleLabelSet" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: SimpleLink

NameSimpleLink
TypeLocally-defined complex type
Nillableno
Abstractno
Documentation
Provides a simple hyperlink to a resource. The xml:lang attribute records the language of the resource in ISO 639-1 (two character) format.
XML Instance Representation
Schema Component Representation
top

Element: StartingDate

NameStartingDate
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:StartingDate>
Start Choice [1]
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
Start Choice [1]
End Choice
End Choice
</heml:StartingDate>
Schema Component Representation
<xs:element name="StartingDate">
<xs:complexType>
<xs:group ref="heml:PossibleDatesGroup"/>
</xs:complexType>
</xs:element>
top

Element: TerminusAnteQuem

NameTerminusAnteQuem
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:TerminusAnteQuem>
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
</heml:TerminusAnteQuem>
Schema Component Representation
<xs:element name="TerminusAnteQuem">
<xs:complexType>
<xs:group ref="heml:DatePrimitivesGroup"/>
</xs:complexType>
</xs:element>
top

Element: TerminusPostQuem

NameTerminusPostQuem
TypeLocally-defined complex type
Nillableno
Abstractno
XML Instance Representation
<heml:TerminusPostQuem>
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
</heml:TerminusPostQuem>
Schema Component Representation
<xs:element name="TerminusPostQuem">
<xs:complexType>
<xs:group ref="heml:DatePrimitivesGroup"/>
</xs:complexType>
</xs:element>
top

Element: Year

NameYear
Typexs:gYear
Nillableno
Abstractno
DocumentationA date represented as a year alone, in XML Schema's <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gYear"> gYear</a> datatype. Note that a '-' may be used before the value to indicate a year BCE.
XML Instance Representation
<heml:Year> xs:gYear </heml:Year>
Schema Component Representation
<xs:element name="Year" type="xs:gYear"/>
top

Global Definitions

Complex Type: BareRefType

Super-types:None
Sub-types:None
NameBareRefType
Abstractno
XML Instance Representation
<...
uriRef="xs:anyURI [1]"/>
Schema Component Representation
<xs:complexType name="BareRefType">
<xs:attribute name="uriRef" type="xs:anyURI" use="required"/>
</xs:complexType>
top

Complex Type: LabelGroupType

Super-types:None
Sub-types:None
NameLabelGroupType
Abstractno
DocumentationGathers labels constrained so as to not allow multiple labels of the same xml:lang declaration.
XML Instance Representation
<...>
<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</...>
Schema Component Representation
<xs:complexType name="LabelGroupType">
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Label" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: LabelGroupWithIdType

Super-types:None
Sub-types:None
NameLabelGroupWithIdType
Abstractno
DocumentationGathers labels constrained so as to not allow multiple labels of the same xml:lang declaration. Applies an id attribute to the collecting element, which whose name usually ends in 'Set'.
XML Instance Representation
<...
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:Label> ... </heml:Label> [1..*]
</...>
Schema Component Representation
<xs:complexType name="LabelGroupWithIdType">
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:Label" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
</xs:complexType>
top

Complex Type: LangString

Super-types:xs:string < LangString (by extension)
Sub-types:None
NameLangString
Abstractno
DocumentationAn element comprising a text string and an xml:lang attribute.
XML Instance Representation
<...
xml:lang="[0..1]">
xs:string
</...>
Schema Component Representation
<xs:complexType name="LangString">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: LatitudePointType

Super-types:None
Sub-types:None
NameLatitudePointType
Abstractno
DocumentationGathers together the constrains for hours/minutes/seconds appropriate for a point of latitude.
XML Instance Representation
<...
hours="heml:LatitudeHourType [1]"
minutes="heml:IntegerToSixtyType [0..1]"
seconds="heml:IntegerToSixtyType [0..1]"/>
Schema Component Representation
<xs:complexType name="LatitudePointType">
<xs:attribute name="hours" type="heml:LatitudeHourType" use="required"/>
<xs:attribute name="minutes" type="heml:IntegerToSixtyType" use="optional"/>
<xs:attribute name="seconds" type="heml:IntegerToSixtyType" use="optional"/>
</xs:complexType>
top

Complex Type: LongitudePointType

Super-types:None
Sub-types:None
NameLongitudePointType
Abstractno
DocumentationGathers together the constrains for hours/minutes/seconds appropriate for a point of longitude.
XML Instance Representation
<...
hours="heml:LongitudeHourType [1]"
minutes="heml:IntegerToSixtyType [0..1]"
seconds="heml:IntegerToSixtyType [0..1]"/>
Schema Component Representation
<xs:complexType name="LongitudePointType">
<xs:attribute name="hours" type="heml:LongitudeHourType" use="required"/>
<xs:attribute name="minutes" type="heml:IntegerToSixtyType" use="optional"/>
<xs:attribute name="seconds" type="heml:IntegerToSixtyType" use="optional"/>
</xs:complexType>
top

Complex Type: PersonType

Super-types:None
Sub-types:None
NamePersonType
Abstractno
Documentation
A type that defines a person. Each person should be defined only once per heml document, and subsequent references should be made with the heml:PersonRef element.
XML Instance Representation
<...
uri="xs:anyURI [1]">
<heml:Comment> ... </heml:Comment> [0..1]
<heml:NameSet> ... </heml:NameSet> [1]
</...>
Schema Component Representation
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element ref="heml:Comment" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:NameSet"/>
</xs:sequence>
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
</xs:complexType>
top

Model Group: DatePrimitivesGroup

NameDatePrimitivesGroup
DocumentationA choice among the date data types supported by Heml.
XML Instance Representation
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
Schema Component Representation
<xs:group name="DatePrimitivesGroup">
<xs:choice>
<xs:element ref="heml:DateTime"/>
<xs:element ref="heml:Date"/>
<xs:element ref="heml:Year"/>
<xs:element ref="heml:IntCalDate"/>
</xs:choice>
</xs:group>
top

Model Group: ParticipantPersonsGroup

NameParticipantPersonsGroup
Documentation Groups PersonWithRole and plain old PersonRef elements.
XML Instance Representation
Start Choice [1]
End Choice
Schema Component Representation
<xs:group name="ParticipantPersonsGroup">
<xs:choice>
<xs:element ref="heml:PersonWithRole"/>
<xs:element ref="heml:PersonRef"/>
</xs:choice>
</xs:group>
top

Model Group: PhysicalSourceGroup

NamePhysicalSourceGroup
DocumentationComprises all the means of defining a physical source. Currently, only docbook's bibliomixed element is allowed, but it is intended that other, more rich markup such as the TEI will be added when they are provided in XML Schema.
XML Instance Representation
Start Choice [1]
End Choice
Schema Component Representation
<xs:group name="PhysicalSourceGroup">
<xs:choice>
<xs:element ref="db:bibliomixed"/>
</xs:choice>
</xs:group>
top

Model Group: PossibleDatesGroup

NamePossibleDatesGroup
XML Instance Representation
Start Choice [1]
Start Choice [1]
<heml:DateTime> ... </heml:DateTime> [1]
<heml:Date> ... </heml:Date> [1]
<heml:Year> ... </heml:Year> [1]
End Choice
Start Choice [1]
End Choice
End Choice
Schema Component Representation
<xs:group name="PossibleDatesGroup">
<xs:choice>
<xs:group ref="heml:DatePrimitivesGroup"/>
<xs:group ref="heml:UncertainDateGroup"/>
</xs:choice>
</xs:group>
top

Model Group: SourcesGroup

NameSourcesGroup
XML Instance Representation
Schema Component Representation
<xs:group name="SourcesGroup">
<xs:sequence>
<xs:element ref="heml:NetworkedSourceSet" minOccurs="0" maxOccurs="1"/>
<xs:element ref="heml:PhysicalSourceSet" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:group>
top

Model Group: UncertainDateGroup

NameUncertainDateGroup
XML Instance Representation
Start Choice [1]
End Choice
Schema Component Representation
<xs:group name="UncertainDateGroup">
<xs:choice>
<xs:element ref="heml:BoundedDate"/>
</xs:choice>
</xs:group>
top

Simple Type: IntegerToSixtyType

Super-types:xs:integer < IntegerToSixtyType (by restriction)
Sub-types:None
NameIntegerToSixtyType
Content
  • Built-in XSD Type: integer
  • 0 <= value <= 59
DocumentationA positive integer with a maximum inclusive value of 59. Used for minutes and seconds.
Schema Component Representation
<xs:simpleType name="IntegerToSixtyType">
<xs:restriction base="xs:integer">
<xs:maxInclusive value="59"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: LatitudeHourType

Super-types:xs:decimal < LatitudeHourType (by restriction)
Sub-types:None
NameLatitudeHourType
Content
  • Built-in XSD Type: decimal
  • -90 <= value <= 90
DocumentationLimited to values of -90 to 90, representing the possible values of latitude south and north respectively.
Schema Component Representation
<xs:simpleType name="LatitudeHourType">
<xs:restriction base="xs:decimal">
<xs:maxInclusive value="90"/>
<xs:minInclusive value="-90"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: LongitudeHourType

Super-types:xs:decimal < LongitudeHourType (by restriction)
Sub-types:None
NameLongitudeHourType
Content
  • Built-in XSD Type: decimal
  • -180 <= value <= 180
DocumentationLimited to values of -180 to 180, representing the possible values of longitude east and west respectively.
Schema Component Representation
<xs:simpleType name="LongitudeHourType">
<xs:restriction base="xs:decimal">
<xs:maxInclusive value="180"/>
<xs:minInclusive value="-180"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: PossibleChronologicalRelationships

Super-types:xs:string < PossibleChronologicalRelationships (by restriction)
Sub-types:None
NamePossibleChronologicalRelationships
Content
  • Built-in XSD Type: string
  • value = {'tpq'}
Schema Component Representation
<xs:simpleType name="PossibleChronologicalRelationships">
<xs:restriction base="xs:string">
<xs:enumeration value="tpq"/>
</xs:restriction>
</xs:simpleType>
top

Legend

Complex Type:AusAddress
Schema Component TypeSchema Component Name
Super-types:Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
NameAusAddress
Abstractno
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top

Generated by xs3p. Last modified: