NISO Z39.98-2012 — Core Modules
Revision History | |
---|---|
2012-12-19 | |
Initial version. |
Abstract
The core modules are a set of modules that have been created to accompany the NISO Z39.98-2012: Authoring and Interchange Framework for Adapative XML Publishing Specification (Z39.98-AI). These modules serve both to define the common structure of a document and to provide a common base of components that can be drawn on for use across Z39.98-AI profiles.
Table of Contents
- 1 Introduction
- 2 Module and component definitions
-
- 2.1 Document foundation
- 2.2 Section layer
- 2.3 Block layer
-
- 2.3.1 The block module
- 2.3.2 The address module
- 2.3.3 The annotation module
- 2.3.4 The aside module
- 2.3.5 The byline module
- 2.3.6 The caption module
- 2.3.7 The citation module
- 2.3.8 The code module
- 2.3.9 The dateline module
- 2.3.10 The definition module
- 2.3.11 The description module
- 2.3.12 The headings module
- 2.3.13 The list module
- 2.3.14 The meta module
- 2.3.15 The note module
- 2.3.16 The object module
- 2.3.17 The paragraph module
- 2.3.18 The pagebreak module
- 2.3.19 The quote module
- 2.3.20 The transition module
- 2.3.21 The table module
-
- 2.3.21.1 The
table
element - 2.3.21.2 The
colgroup
element - 2.3.21.3 The
col
element - 2.3.21.4 The
thead
element - 2.3.21.5 The
tfoot
element - 2.3.21.6 The
tbody
element - 2.3.21.7 The
tr
element - 2.3.21.8 The
th
element - 2.3.21.9 The
td
element - 2.3.21.10 The
span
attribute - 2.3.21.11 The
abbr
attribute - 2.3.21.12 The
colspan
attribute - 2.3.21.13 The
rowspan
attribute - 2.3.21.14 The
scope
attribute - 2.3.21.15 The
headers
attribute - 2.3.21.16 The table module – Implementations
- 2.3.21.1 The
- 2.4 Phrase layer
-
- 2.4.1 The span module
- 2.4.2 The abbreviations module
- 2.4.3 The dialogue module
- 2.4.4 The emphasis module
- 2.4.5 The line module
- 2.4.6 The linking and embedding module
- 2.4.7 The name module
- 2.4.8 The num module
- 2.4.9 The sentence module
- 2.4.10 The term module
- 2.4.11 The time module
- 2.4.12 The word module
- 2.5 Text layer
- 2.6 Global attributes
- 2.7 Metadata attributes
-
- 2.7.1 The
RDFa
Attributes Module -
- 2.7.1.1 The RDFa
prefix
attribute - 2.7.1.2 The RDFa
about
attribute - 2.7.1.3 The RDFa
content
attribute - 2.7.1.4 The RDFa
datatype
attribute - 2.7.1.5 The RDFa
typeof
attribute - 2.7.1.6 The RDFa
property
attribute - 2.7.1.7 The RDFa
rel
attribute - 2.7.1.8 The RDFa
resource
attribute - 2.7.1.9 The RDFa
rev
attribute - 2.7.1.10 The
RDFa
Attributes Module – Implementations
- 2.7.1.1 The RDFa
- 2.7.2 The role module
- 2.7.1 The
List of Examples
1 Introduction
1.1 Overview
This document provides the definitions for the core modules developed to accompany the Z39.98 Authoring and Interchange Framework for Adapative XML Publishing Specification. These definitions are the human-readable descriptions that specify the nature of each module and component prior to their activation in any profile. Consequently, this document must not be read as a reference on how to tag a document to conform to any specific Z39.98-AI profile, as the actual implementation of a component in any given profile may vary from the definition given here.
The Core Modules section of the Z39.98-AI specification formally defines the purpose of these modules. In order to understand the definitions provided in this document and to be able to use them to build a profile, however, readers should also be familiar with the Abstract Document Model and the process of activating modules, as detailed in the Z39.98-AI specification.
1.2 How to read this document
1.2.1 Module groupings
The core modules have been grouped according to the primary container layer in the Abstract Document Model for the components they define. The first module listed in each layer contains the default member for that layer, while the remaining modules have been arranged alphabetically by name.
In cases where a module contains multiple variants of an element, the module appears in the first Abstract Document Model layer that contains the element (for example, the code
module is listed under the Block layer not the Phrase layer, even though it contains variants for both layers).
1.2.2 Information Tables
Each module and component definition includes a table summarizing pertinent information about it. In the case of modules, these tables provide a quick glance at the elements, attributes, datatypes and/or classes that they contribute. Module tables are only intended to provide an introduction to their components; the information in the tables should never be relied on alone when constructing a profile.
Accompanying each component is a table that provides a detailed listing of its traits. Depending on the type of component, the table may list the local name of the element, its namespace, its default usage context, its default content and attribute models and whether the component can be altered and/or omitted during module activation. In the case of attributes, the content and attribute model information is replaced by the attribute’s datatype or allowed set of values. More information about these traits can be found in the Module Components section of the Z39.98-AI specification.
The naming of columns in these tables may change depending on the nature of the component. In some cases, a component’s table may list its “Default Content Model” and in others it may list a “Content Model” (and similar with attribute models, usage context and values). The difference between a table item prefixed with the word “Default” and an item without relates to the alterability of that aspect of the component. If a content model can be altered on activation, for example, it only provides a default content model (i.e., one you can use as is or modify to your own needs). If the content model cannot be altered, then the listing in the table is fixed and must remain unchanged (the default modifier does not apply, as there is no other possible state).
1.3 Maintenance
The core modules are a product of the Z39.98-AI Working Group and are maintained and hosted by the Z39.98 Advisory Committee.
1.4 Changes to this document
This document is not subject to the same update process as the Z39.98-AI specification. It may be updated at any time to add new modules or to change or deprecate modules and components. The publication date and revision history of this document should always be checked to ensure the latest version is being referenced. The current official version of this document is available from the DAISY web site at http://www.daisy.org/z3998/2012/auth/cm/.
2 Module and component definitions
The definitions contained in this section have been extracted from the module and component metadata in the corresponding normative schema files. In the case of discrepancies between the prose abstract definitions and the practical definition of components in the normative schemas, the latter shall be taken as authoritative.
2.1 Document foundation
The document foundation modules define the common base of all profiles.
2.1.1 The document module
This module defines the
,
document
and
head
core structural elements common to all Z39.98-AI Profiles.
body
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
Document.attrib; the attribute required |
|
Document root. |
|
Document.attrib |
|
document |
|
Document.attrib | ( |
|
2.1.1.1 The document
element
The document
element is the root element of all Z39.98-AI Profiles.
The document
element must include an xmlns
attribute declaring the Z39.98-AI Core namespace and an
attribute specifying the language of the document.
xml:lang
Local name | document |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | Document root. |
Default attribute model | Document.attrib; the attribute required |
Content model |
|
Content model alterability | This content model is fixed, and must not be altered when activating this module. |
Optionality | This element must not be omitted when activating this module. |
2.1.1.2 The head
element
The head
element contains meta information about the complete or partial document contained in the enclosing
.
document
The meta information in the head
element is not document content in the context of Z39.98-AI documents, but may be used for display and other purposes when rendering documents into alternate formats.
Local name | head |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | document |
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model | Document.attrib |
Default content model |
|
Content model alterability | The content model must allow elements such that the normatively requried metadata can be expressed. |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
head
element must include ameta
element identifying the Z39.98-AI profile the document conforms to (z3998:profile). - The document must not include more than one
meta
element identifying a Z39.98-AI profile. - A
meta
element containing the profile name must be specified (z3998:name). - A
meta
element containing the profile version must be specified (z3998:version). - Every feature must have its name specified (z3998:name).
- Every feature must have its version specified (z3998:version).
- The
head
element must include ameta
element with a unique identifier (dc:identifier). - The
head
element must include ameta
element identifying the document publisher (dc:publisher). - The
head
element must include ameta
element indicating the document modification date (dc:date). - The
head
element must include only a singledc:date
property. - The
dc:date
property must be of the form CCYY-MM-DDThh:mm:ssZ.
2.1.1.3 The body
element
The body
element contains the complete or partial content of the enclosing
.
document
Local name | body |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model | Document.attrib |
Default content model | ( |
Optionality | This element must not be omitted when activating this module. |
2.1.1.4 The document module – Implementations
Schema | Language |
---|---|
z3998-document.rng | RelaxNG |
Activation of this module depends on the I18n, role, RDFa, global-classes, meta, section and Core modules also being activated.
2.1.2 The datatypes module
This module defines a set of core datatypes for reference globally.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Definition |
---|---|
ID |
An ID TokenizedType, as defined in section 3.3.1 of XML. |
IDREF |
An IDREF TokenizedType, as defined in section 3.3.1 of XML. |
IDREFS |
A space-separated list of IDREF TokenizedTypes. |
NMTOKEN |
An NMTOKEN TokenizedType, as defined in section 3.3.1 of XML. |
NMTOKENS |
A space-separated list of NMTOKEN TokenizedTypes. |
NCName |
An XML non-colonized Name, as defined in section 3.3.7 of XML. |
Character |
A single character, as per section 2.2 of XML. |
Characters |
A range (0..n) of characters, as per section 2.2 of XML. |
LanguageIdentifier |
A language identifier, as per Language Identification in XML. |
NonEmptyString |
Specifies a value that must contain at least one non-whitespace character after whitespace normalization rules have been applied to the attribute value, as expressed through the XSD normalizedString datatype. |
Time |
A date and/or time statement, expressed using any of the XSD gYear , gYearMonth , gMonthDay , gDay , gMonth , date , time or dateTime datatypes, or the Z39.98-defined datatype. |
TimeNoSeconds |
A derivation of the XSD time datatype that only includes hour and minute specifications. The lexical expression is hh:mm . |
dateTime |
Date and time information, as defined by the dateTime type in XML Schema Part2. |
nonNegativeInteger |
A non-negative integer. |
positiveInteger |
A positive integer. |
integer |
An integer. |
URI |
A Uniform Resource Identifier Reference, as defined by the anyURI type in XML Schema Part2. |
URIs |
A space-separated list of s. |
QName |
A namespace qualified name as per XMLNAMES. |
QNames |
One or more whitespace separated s. |
prefixedQName |
A prefixed . |
MediaType |
Media type, as per RFC2046. |
TimeValue |
A time value as defined in CSS 2.1 Times, e.g. 250ms , 3s . |
CURIE |
A single CURIE, as defined in RDFa. |
CURIEs |
A whitespace separated list of CURIEs. |
SafeCURIE |
A single safe CURIE , as defined in RDFa. |
SafeCURIEs |
A whitespace separated list of SafeCURIEs. |
URIorSafeCURIE |
A URI or a SafeCURIE. |
URIorSafeCURIEs |
A whitespace separated list of URIorSafeCURIEs. |
PositiveNumberOrRange |
A single positive number or range. |
2.1.2.1 The datatypes module – Implementations
Schema | Language |
---|---|
z3998-datatypes.rng | RelaxNG |
The RDFa, xlink, annotation, aside, by, word, Core, cover, depth, global-classes, headings, I18n, linking, list, name, num, pagebreak, role, span, table, time, verse and word modules depends on this module being activated.
2.1.3 The global classes module
This module defines the global named element and attribute classes
The patterns defined in this module allow the dynamic creation of globally-available content models. When building a RelaxNG implementation of a Z39.98-AI profile, included modules contribute to the content models by injecting patterns into the classes.
The principle of combining definitions used to create these classes is described in RELAX NG Tutorial Section 9.2.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Definition | Content |
---|---|---|
Section.class |
The set of elements which in the current profile are contributed to the Section level. | Fundamental member:
|
Block.class |
The set of elements which in the current profile are contributed to the Block level. | Fundamental member:
|
Phrase.class |
The set of elements which in the current profile are contributed to the Phrase level. | Fundamental member:
|
Text.class |
The set of elements which in the current profile are contributed to the Text level. | Fundamental member:
|
Global.attrib |
The set of global attributes whose properties do not change depending on the context in which they are used. | , and
|
Global.attrib |
The general purpose set of attributes which are allowed or required globally. | and
|
Document.attrib |
The set of attributes which are allowed or required on the , and . |
|
Section.attrib |
The set of attributes which are allowed or required on elements in Section.class. |
|
Section.noextern.attrib |
The set of attributes which are allowed or required on elements in Section.class, excluding external contributions. |
|
Block.attrib |
The set of attributes which are allowed or required on elements in Block.class. |
|
Block.noextern.attrib |
The set of attributes which are allowed or required on elements in Block.class, excluding external contributions. |
|
Phrase.attrib |
The set of attributes which are allowed or required on elements in Phrase.class. |
|
Phrase.noextern.attrib |
The set of attributes which are allowed or required on elements in Phrase.class, excluding external contributions. |
|
Text.attrib |
The set of attributes which are allowed or required on elements in Text.class. |
|
Text.noextern.attrib |
The set of attributes which are allowed or required on elements in Text.class, excluding external contributions. |
|
2.1.3.1 The global classes module – Implementations
Schema | Language |
---|---|
z3998-global-classes.rng | RelaxNG |
Activation of this module depends on the Core, I18n, role, RDFa and datatypes modules also being activated.
The abbreviations, address, annotation, article, aside, bibliography, block, byline, caption, word, citation, code, cover, dialogue, dateline, definition, object, document, emph, glossary, headings, index, line, linking, list, meta, name, note, num, object, p, pagebreak, partitions, code, sent, section, span, super-subscript, table, term, time, toc, transition, verse and word modules depends on this module being activated.
2.2 Section layer
The Section layer modules define major structural components for use within documents.
2.2.1 The section module
This module defines the
element that enables the representation of structural divisions within a document.
section
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
Section.attrib | ( |
As a parent to, or following on the sibling axis of members of Block.class |
2.2.1.1 The section
element
The section
element represents a structural division of a document.
A structural division is defined as any grouping of content that has significance to the hierarchy of the document, which can include major divisions like parts, sections, chapters, etc. or minor divisions like author biographies.
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | As a parent to, or following on the sibling axis of members of Block.class |
Default attribute model | Section.attrib |
Default content model | ( |
Content model alterability | The content model must not allow more than one instance of the heading element. |
Optionality | This element must not be omitted when activating this module. |
2.2.1.2 The section module – Implementations
Schema | Language |
---|---|
z3998-section.rng | RelaxNG |
Activation of this module depends on the headings and global-classes modules also being activated.
The document module depends on this module being activated.
2.2.2 The article module
This module defines the article element for the inclusion and embedding of articles.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
or ( |
|
|
|
|
|
|
|
( |
|
|
|
( |
|
2.2.2.1 The article
element
The article
element represents an article in an electronic or print journal, magazine, news source or encyclopedia.
The simplest use for the article
element is as a specialization of the
element for reproducing full articles or extracts. It is additionally possible to include
section
and
head
children for more formally structured articles.
body
Local name | article |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | or ( |
Content model alterability | The content model must not allow more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.2.2 The article head
element
The article head
element contains meta information about the complete or partial article contained in the enclosing article
element.
The meta information in the article head
element is not document content in the context of Z39.98-AI documents, but may be used for display and other purposes when rendering documents into alternate formats.
Local name | head |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Optionality | This element may be omitted when activating this module. |
2.2.2.3 The article body
element
The article body
element contains the complete or partial content of the
.
article
Local name | body |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Optionality | This element may be omitted when activating this module. |
2.2.2.4 The article section
element
The article section
element represents a major structural division in an
.
article
The article section
element is a specialization of the
element. It provides a content model to fit the unique requirements of article divisions.
section
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Content model alterability | The content model must not allow more than one element. |
Optionality | This element may be omitted when activating this module. |
2.2.2.5 The article module – Implementations
Schema | Language |
---|---|
z3998-article.rng | RelaxNG |
Activation of this module depends on the global-classes, meta, headings, byline and dateline modules also being activated.
2.2.3 The bibliography module
This module defines the
element used to structure bibliographic sections.
bibliography
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
( |
and
|
2.2.3.1 The bibliography
element
The bibliography
element represents a bibliography, discography, filmography or other bibliographic section.
The
in an
entries
bibliography
may be grouped into
by topic, work, alphabetic letter or other means.
sections
Local name | bibliography |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.3.2 The bibliography section
element
The bibliography section
element represents a major structural division of a
.
bibliography
The bibliography section
element is a specialization of the
element that provides a content model to fit the unique requirements of bibliographic divisions.
section
The republishing of documents often requires the insertion of content that was not a part of the original source document. For example, in the case of indexes, bibliographies and other ordered sections, this requirement may take the form of placeholder sections to mark gaps in the alphabetic list of entries. To indicate that an element presents content that is a deviation from the source, the
attribute can be used with the value
role
custom
. No behaviors are defined for how a processing agent should handle sections so identified, however.
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.3.3 The bibliography entry
element
The bibliography entry
element represents a single unique entry in a
.
bibliography
Local name | entry |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | ( |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
entry
element must neither be empty nor contain only whitespace.
2.2.3.4 The bibliography module – Implementations
Schema | Language |
---|---|
z3998-bibliography.rng | RelaxNG |
Activation of this module depends on the global-classes, headings, p and block modules also being activated.
2.2.4 The cover module
This module defines the
element for including images and content originally reproduced on the covers and jackets of publications.
cover
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
|
|
|
|
|
|
|
|
|
|
2.2.4.1 The cover
element
The cover
element represents the complete cover or jacket of a print publication.
Local name | cover |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Content model alterability | The cover element must contain at least one of its , , or children. |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
cover
element must contain at least one of its allowed children.
2.2.4.2 The spine
element
The spine
element represents the section of the cover that overlays the bound inner side of a publication.
Local name | spine |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
spine
element must neither be empty nor contain only whitespace.
2.2.4.3 The frontcover
element
The frontcover
element represents all content and images contained on the inside and outside of the front cover.
Local name | frontcover |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element may be omitted when activating this module. |
2.2.4.4 The backcover
element
The backcover
element represents all content and images contained on the inside and outside of the back cover.
Local name | backcover |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element may be omitted when activating this module. |
2.2.4.5 The flaps
element
The flaps
element represents all content and images contained on the front and back jacket flaps.
Local name | flaps |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element may be omitted when activating this module. |
2.2.4.6 The cover module – Implementations
Schema | Language |
---|---|
z3998-cover.rng | RelaxNG |
Activation of this module depends on the global-classes and datatypes modules also being activated.
2.2.5 The glossary module
This module defines the
element for defining glossaries and other sections of definitions.
glossary
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
, and
|
2.2.5.1 The glossary
element (Section)
The glossary
element represents a glossary, pronunciation guide or other section that exclusively defines terms or phrases.
The Section
variant is an adaptation for use including terms and definitions that have been grouped as a separate section in a work, and where the glossary
contains structured groups of entries by topic, letter of the alphabet, etc.
The republishing of documents often requires the insertion of content that was not a part of the original source document. For example, in the case of indexes, bibliographies and other ordered sections, this requirement may take the form of placeholder sections to mark gaps in the alphabetic list of entries. To indicate that an element presents content that is a deviation from the source, the
attribute can be used with the value
role
custom
. No behaviors are defined for how a processing agent should handle sections so identified, however.
The greatest advantage to using the dedicated glossary
element over hand-rolled solutions is the automatic association it allows when an entry contains exactly one term
and one definition
(which covers most glossaries and definition lists). The element is also intended to provide flexibility to accommodate the various forms definition lists take in production. A numbered definition list, for example, can be created using the Content Rendition feature’s prefix attribute:
<glossary> <entry rend:prefix="1."> <term>evolution</term> — <definition>the process by which ...</definition> </entry> <entry rend:prefix="2."> <term>gene</term> — <definition>a segment of DNA...</definition> </entry> </glossary>
The definitions could be turned into a variable list through use of CSS styles. Removing the em dashes and attaching a class
attribute to the glossary
element in the preceding example with a value of varlist
, for example, would allow the creation of the following style definitions to re-flow the content:
glossary.varList > entry > term { display: block; padding-bottom: .2em font-weight: bold; } glossary.varList > entry > definition { display: block; margin-left: 2em; }
Although it is recommended that the glossary
element be used whenever possible, there are no restrictions against creating definition lists using other combinations of elements. The list
element can simplify aspects (auto numbering, specifically), but at the price of having to explicitly link the terms and definitions in each entry. The first example above could be reformulated as a list as follows:
<list type="ordered"> <item><term ref="def1">evolution</term> — <definition xml:id="def1">the process by which ...</definition></item> <item><term ref="def2">gene</term> — <definition xml:id="def2">a segment of DNA...</definition></item> </list>
A variable list can also be implemented in a similar fashion with the addition of CSS styles:
<list class="varList"> <item> <term ref="defn1">evolution</term> <definition xml:id="defn1">the process by which ...</definition> </item> <item> <term ref="defn2">gene</term> <definition xml:id="defn2">a segment of DNA...</definition> </item> </list>
The absence of the type
attribute on the list
element in the preceding example outputs each item
without a prefix, similar to the default formatting for glossary
entries.
There are times where even more simplicity is needed. The glossary
and list
elements can be used for single definitions, but are typically more tagging than is needed, especially when the definition occurs in the flow of the body:
<p> A <term ref="defn01">gene</term> is <definition xml:id="defn01">a segment of DNA...</definition>. </p>
The convenience of using term
and definition
in these ways comes at the price of having to explicitly link the elements together via their ref
and xml:id
attributes, however.
Local name | glossary |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.5.2 The glossary
element (Block)
The glossary
element represents a glossary, pronunciation guide or other section that exclusively defines terms or phrases.
The Block
variant is an adaptation for use including terms and definitions that have been grouped within the body of a work.
The greatest advantage to using the dedicated glossary
element over hand-rolled solutions is the automatic association it allows when an entry contains exactly one term
and one definition
(which covers most glossaries and definition lists). The element is also intended to provide flexibility to accommodate the various forms definition lists take in production. A numbered definition list, for example, can be created using the Content Rendition feature’s prefix attribute:
<glossary> <entry rend:prefix="1."> <term>evolution</term> — <definition>the process by which ...</definition> </entry> <entry rend:prefix="2."> <term>gene</term> — <definition>a segment of DNA...</definition> </entry> </glossary>
The definitions could be turned into a variable list through use of CSS styles. Removing the em dashes and attaching a class
attribute to the glossary
element in the preceding example with a value of varlist
, for example, would allow the creation of the following style definitions to re-flow the content:
glossary.varList > entry > term { display: block; padding-bottom: .2em font-weight: bold; } glossary.varList > entry > definition { display: block; margin-left: 2em; }
Although it is recommended that the glossary
element be used whenever possible, there are no restrictions against creating definition lists using other combinations of elements. The list
element can simplify aspects (auto numbering, specifically), but at the price of having to explicitly link the terms and definitions in each entry. The first example above could be reformulated as a list as follows:
<list type="ordered"> <item><term ref="def1">evolution</term> — <definition xml:id="def1">the process by which ...</definition></item> <item><term ref="def2">gene</term> — <definition xml:id="def2">a segment of DNA...</definition></item> </list>
A variable list can also be implemented in a similar fashion with the addition of CSS styles:
<list class="varList"> <item> <term ref="defn1">evolution</term> <definition xml:id="defn1">the process by which ...</definition> </item> <item> <term ref="defn2">gene</term> <definition xml:id="defn2">a segment of DNA...</definition> </item> </list>
The absence of the type
attribute on the list
element in the preceding example outputs each item
without a prefix, similar to the default formatting for glossary
entries.
There are times where even more simplicity is needed. The glossary
and list
elements can be used for single definitions, but are typically more tagging than is needed, especially when the definition occurs in the flow of the body:
<p> A <term ref="defn01">gene</term> is <definition xml:id="defn01">a segment of DNA...</definition>. </p>
The convenience of using term
and definition
in these ways comes at the price of having to explicitly link the elements together via their ref
and xml:id
attributes, however.
Local name | glossary |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Usage context alterability | The content model must allow elements and no more than one element. |
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.2.5.3 The glossary section
element
The glossary section
element represents a major structural division in a
.
glossary
The glossary section
element is a specialization of the
element. It provides a content model to fit the unique requirements of glossary divisions.
section
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements. |
Optionality | This element must not be omitted when activating this module. |
2.2.5.4 The glossary entry
element
The glossary entry
element represents a single unique entry in a
.
glossary
A glossary entry
must contain one or more
elements and either one or more
term
elements or one or more
definition
elements pointing to a
ref
definition
.
To facilitate the markup of glossaries, if an entry
contains exactly one term
and one definition
an implicit association is assumed between them (i.e., the normal requirement to explicitly link the term
to the definition
by the
attribute does not apply). If the
ref
entry
contains mutliple term
or definition
elements, then the explicit association of each is required.
Local name | entry |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | , and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- Each
entry
element must contain at least oneterm
element. - Each
entry
element must contain at least onedefinition
orref
element. - Each
entry
element must contain at least onedefinition
or reference to adefinition
. - The
entry
element must neither be empty nor contain only whitespace.
2.2.5.5 The glossary module – Implementations
Schema | Language |
---|---|
z3998-glossary.rng | RelaxNG |
Activation of this module depends on the global-classes, headings, p and block modules also being activated.
2.2.6 The index module
This module defines the
element for structuring indices.
index
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
(( |
and
|
2.2.6.1 The index
element
The index
element represents a topical reference section in a book.
The
in an
entries
index
may be grouped into
by topic or alphabetic letter.
sections
Local name | index |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.6.2 The index section
element
The index section
element represents a major structural division of an
.
index
The index section
element is a specialization of the
element that provides a content model to fit the unique requirements of index divisions.
section
The republishing of documents often requires the insertion of content that was not a part of the original source document. For example, in the case of indexes, bibliographies and other ordered sections, this requirement may take the form of placeholder sections to mark gaps in the alphabetic list of entries. To indicate that an element presents content that is a deviation from the source, the
attribute can be used with the value
role
custom
. No behaviors are defined for how a processing agent should handle sections so identified, however.
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.6.3 The index entry
element
The index entry
element represents a single entry in an
, including all related child entries.
index
The
element can be used to link page number references back to the corresponding location in the document.
ref
Local name | entry |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (( |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
entry
element must neither be empty nor contain only whitespace.
2.2.6.4 The index module – Implementations
Schema | Language |
---|---|
z3998-index.rng | RelaxNG |
Activation of this module depends on the global-classes, headings, p and block modules also being activated.
2.2.7 The document partitions module
This module defines the
,
frontmatter
and
bodymatter
elements into which document content is typically partitioned when representing information resources such as books and journals.
backmatter
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Definition | Content |
---|---|---|
partitions |
The partitions pattern defines a top-level partitioning structure for information resources such as books and journals. |
|
2.2.7.1 The frontmatter
element
The frontmatter
element groups the initial/preliminary sections of a document.
Frontmatter typically consists of such sections as forewords, prefaces, acknowledgements, introductions, dedications, prologues, and tables of contents.
Local name | frontmatter |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.2.7.2 The bodymatter
element
The bodymatter
element groups the primary narrative of a document, as contrasted with preliminary material in frontmatter
and supplementary information in backmatter
.
Local name | bodymatter |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.2.7.3 The backmatter
element
The backmatter
element groups supplementary sections at the end of a document.
Local name | backmatter |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.2.7.4 The document partitions module – Implementations
Schema | Language |
---|---|
z3998-partitions.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
2.2.8 The table of contents module
This module defines the
element and descendants for representing tables of various content types.
toc
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
( |
|
|
|
(( |
|
|
|
(text | |
,
|
|
|
( |
|
|
|
|
|
|
|
(( |
|
2.2.8.1 The toc
element (Section)
The toc
element represents a single table of contents in a document.
The Section
variant is an adaption for use when a table of contents represents a unique section of a work, such as the primary table of contents in the front matter of a book.
The term “table of contents” is a generalization encompassing all of tables of contents, tables of figures, tables of maps and similar guides to the contents of a document.
Local name | toc |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.8.2 The toc
element (Block)
The toc
element represents a single table of contents in a document.
The Block
variant is an adaption for use when a table of contents is embedded within another sections, such as a mini table of contents to start a section.
The term “table of contents” is a generalization encompassing all of tables of contents, tables of figures, tables of maps and similar guides to the contents of a document.
Local name | toc |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (( |
Content model alterability | The content model must allow elements. |
Optionality | This element must not be omitted when activating this module. |
2.2.8.3 The toc entry
element
The toc entry
element represents a single entry in a
, including all related child entries.
table of contents
A toc entry
typically consists of the text on the leader line followed by an optional
element indicating the corresponding print page. The
ref
ref
element can also be used to link the text of the entry directly to the location in the document when the table of contents or document does not include page numbers.
The toc
element is used to group all secondary information that falls below the leader line. It is not intended to group subentries, which should be included as children of the primary
block
entry
following the block
..
Local name | entry |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | ,
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
entry
element must neither be empty nor contain only whitespace.
2.2.8.4 The toc block
element
The toc block
element is used to group any ancillary information that falls under an entry’s leader line (not including subentries), such as descriptions or topic lists.
Local name | block |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | ( |
Optionality | This element must not be omitted when activating this module. |
2.2.8.5 The toc section
element
The toc section
element represents a subdivision of a
.
table of contents
The toc section
element is a specialization of the
element that provides a content model to fit the unique requirements of table of contents divisions.
section
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements and no more than one element. |
Optionality | This element must not be omitted when activating this module. |
2.2.8.6 The toc aside
element
The toc aside
element represents a separate block of information in a
from the main sections and entries.
toc table of contents
The toc aside
element typically represents information in the margins of a print table of contents.
Local name | aside |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (( |
Optionality | This element may be omitted when activating this module. |
2.2.8.7 The table of contents module – Implementations
Schema | Language |
---|---|
z3998-toc.rng | RelaxNG |
Activation of this module depends on the global-classes, headings, p, block, linking and aside modules also being activated.
2.2.9 The verse module
This module defines the
element for representing lines of verse embedded in prose contexts.
verse
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
( |
|
|
|
( |
|
2.2.9.1 The verse
element
The verse
element represents a non-prose passage such as a poem, song, hymn etc., with or without metrical structure.
The verse
element consists of one or more
and may lines may be broken up into division such as stanzas and cantos using the
lines
and
lngroup
elements.
section
Local name | verse |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Optionality | This element may be omitted when activating this module. |
2.2.9.2 The verse section
element
The section
element represents a major structural division of a
, such as a canto.
verse
Local name | section |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | ( |
Optionality | This element may be omitted when activating this module. |
2.2.9.3 The verse module – Implementations
Schema | Language |
---|---|
z3998-verse.rng | RelaxNG |
Activation of this module depends on the headings, line, transition, Core, I18n, RDFa, global-classes and datatypes modules also being activated.
2.3 Block layer
The Block layer modules define components that are not structural in nature but that can stand alone from their surroundings.
2.3.1 The block module
This module defines the
element for grouping content.
block
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
Name | Default values | Default usage context |
---|---|---|
|
|
|
2.3.1.1 The block
element
The block
element establishes an association between a group of elements.
The block
element differs and is subordinate to the
element in that it is not used to represent the structural outline of a document. A
section
block
only establishes a general association, and is a semantically neutral element by default.
Attributes attached to the block reflect a general commonality amongst the children: a
attribute can be attached to express the semantic nature of the grouping; a
role
attribute to establish common formatting; an
class
attribute to indicate the language of the elements; and so forth.
xml:lang
If the children of the block have a strong association to a single element, the
attribute can be used to make this relationship explicit (e.g., in a figure, that all children are connected to the image).
associate
Associated content
Although images, tables and other objects may stand on their own in a document, typically they will include an accessible description, a caption and possibly a header.
In order to establish that other elements are carrying information about the table or image, you must tie them together using ref
attributes that point to the xml:id
of the central element, as in the following example:
<hd ref="galapisle">Galapagos Islands</hd> <object xml:id="galapisle" src="island.png" /> <caption ref="galapisle">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption>
If you were to omit the ref
attributes, the information would only be loosely associated by its order in the document (i.e., a processing agent would not be able to handle the elements as a group).
Although all of the above elements are associated through references to the object
element, their semantics are still only loosely defined (i.e., the linkage is established, but not what that linkage represents). A human can intuit they represent a figure by the collected items and their use, but not so a machine.
It can also be confusing to edit a document marked up with all content within a section as siblings, because document narrative could fall both immediately before and after the figure elements making it all appear connected. Without checking for ref
attributes as you edit, it wouldn’t be clear if a new non-structural heading were occuring or a figure were being inserted.
To begin to bind the elements more tightly and create a figure both humans and machines can understand, the block
element can be wrapped as a container. A role
attribute can then be attached to further specify that all of the children constitute a figure, as in the following example:
<block role="figure"> <hd ref="galapisland">Galapagos Islands</hd> <object xml:id="galapisland" src="island.png" /> <caption ref="galapisland">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
A common question at this point is why the ref
elements are still necessary. The answer is because the block
element is only a general container. The role
attribute provides additional semantics, but those semantics only extend to what kind of content the block
represents, not how it is interrelated (but more on this shortly).
Now that the content is grouped, however, we can begin to further simplify it. To avoid the extra work of linking the child elements, an associate
attribute can be attached to the block
(the attribute represents an automatic ref
between all the children). The IDREF that you specify in the attribute implicitly makes the references that we have so far been carrying forward, so our markup can now be more minimally represented as in the following example:
<block role="figure" associate="galap-figure"> <hd>Galapagos Islands</hd> <object xml:id="galap-figure" src="island.png" /> <caption>The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
Now, when a processing agent comes across this markup it will be able to determine both that the block constitutes a figure (from the role
attribute) and that the child hd
and caption
elements are tied to the object
(from the associate
attribute). We’ve gained much more information about the figure than we started with, and the work required to reproduce the figure has been greatly simplified (there is also no worry about accidentally forgetting a ref
on any of the children).
Now that we have a compact markup model for figures, we can briefly jump back to why we cannot assume associations. Consider the following example:
<block role="figure"> <object xml:id="galap-isa" src="isabella.png" /> <object xml:id="galap-fer" src="fernandina.png" /> <object xml:id="galap-sc" src="santa-cruz.png" /> <caption>The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
We cannot make a simple association here that all the children of the figure are tied to an object
, as the figure constitutes three images sharing a caption. We likewise cannot use the associate
attribute, but have to revert back to explicitly linking the caption
to each of the three images it describes:
<block role="figure"> <object xml:id="isa" src="isabella.png" /> <object xml:id="fer" src="fernandina.png" /> <object xml:id="sc" src="santa-cruz.png" /> <caption ref="isa fer sc">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
It’s this potential for varation that requires at least some level of linking in all cases, and makes it impossible to state a simple rule that would hold true for all content grouped in a block
.
Fortunately, most image and table figures are not this complicated, and the simpler process of grouping in a block
with the associate
attribute will work the majority of the time.
Local name | block |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
block
element must neither be empty nor contain only whitespace.
2.3.1.2 The associate
attribute
The associate
attribute identifies the child element of a
to which all other children are bound.
block
The associate
attribute takes a single IDREF that must point to one of its children as a value. All the other children assume an implict reference to the element through this value, allowing the
attribute to be omitted from them.
ref
Local name | associate |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The IDREF in the
associate
attribute must reference the ID of a child element.
2.3.1.3 The block module – Implementations
Schema | Language |
---|---|
z3998-block.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The bibliography, glossary, index and toc modules depends on this module being activated.
2.3.2 The address module
This module defines the
element for marking up postal, http, email and other types of addresses in documents.
address
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
( |
|
|
|
(text | z3998.Text.class | z3998.Phrase.class)+ |
|
2.3.2.1 The address
element (Block)
The address
element represents both physical locations (postal, geographic, etc.) and virtual locations (http, email, ftp, etc.).
The Block
variant is an adaptation for use marking multi-line addresses (e.g., postal addresses).
The
attribute optionally expresses the type of address. If omitted, the implicit value
role
postal
is assumed.
Local name | address |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Optionality | This element must not be omitted when activating this module. |
2.3.2.2 The address
element (Phrase)
The address
element represents both physical locations (postal, geographic, etc.) and virtual locations (http, email, ftp, etc.).
The Phrase
variant is an adaptation for use for addresses that are embedded within the text flow (typically web and email addresses).
The
attribute optionally expresses the type of address. If omitted, the implicit value
role
postal
is assumed.
Local name | address |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
address
element must neither be empty nor contain only whitespace.
2.3.2.3 The address module – Implementations
Schema | Language |
---|---|
z3998-address.rng | RelaxNG |
Activation of this module depends on the global-classes and line modules also being activated.
2.3.3 The annotation module
This module defines the
element for including annotations and comments about the document content.
annotation
Two variants of the annotation
element are available: one for use in a Block context and a second for use in a Phrase context.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(text | |
|
|
|
(empty | (text | |
|
Name | Default values | Default usage context |
---|---|---|
|
text |
|
2.3.3.1 The annotation
element (Block)
The annotation
element represents an annotation that an author, editor, publisher, or other individual or agency has added to a document.
Unless an annotation
element has a
value of
role
temporary
, it must reference at least one element in the document using the
attribute or be referenced by at least one
ref
. For annotations that apply to more than one element, use a space-separated list of
annoref
xml:id
values in the ref
attribute.
The
attribute identifies the specific element(s) being annotated by referencing their
ref
xml:id
values.
The annotation
element should not be used to add descriptions, footnotes or endnotes. Refer to the
and
description
elements for more information.
note
The optional by
and role
attributes define the contributor of the annotation and expresses its nature:
<object xml:id="mnt" src="mnt.png" /> <annotation ref="mnt" by="republisher" role="alteration"> <p>This picture was originally on page 15 in the source but has been moved after the paragraph it split.</p> </annotation>
The lack of a role
value indicates the annotation
is general in nature; no implicit value should be assumed. The by
attribute has an implicit value of author
unless an ancestor element establishes a new relationship.
Notice also in the preceding example that there isn’t an explicit reference to the annotation (i.e., no annoref
element). As a result, the annotation
establishes its relationship to the text via the ref
attribute. Only temporary notes may be included with no reference to them or from them:
<annotation role="temporary"> 2010-12-24 - Markup verified to this point. Continuing after holidays. --MG </annotation>
The by
attribute may be omitted from temporary annotations as they must be removed from a document prior to its finalization. Where they are being used to relay production information, however, creating and assigning unique by
values for staff/production roles may improve their usability. For example, a quality assurance editor could use the element to leave notes for the markup team:
<annotation role="temporary" by="qa" class="error"> Missed merged paragraphs. </annotation>
This specification does not attempt to define all the role
values needed for all production contexts. New contributor and annotation types can be added as required, however.
Attaching more than one annotation
to an element is permitted, but each annotation must have a unique role
.
Local name | annotation |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
annotation
element must be referenced by anannoref
or reference another element in the document unless it has therole
valuetemporary
. - The
annotation
element must neither be empty nor contain only whitespace.
2.3.3.2 The annotation
element (Phrase)
The annotation
element represents an annotation that an author, editor, publisher, or other individual or agency has added to a document.
The inline inclusion of annotation elements does not influence the rendering of the annotations or reflect their appearance in a print medium; inlining allows annotations to be included as close to their referenced element as is desired. It is equally valid for Block-layer annotations to reference inline elements.
Unless an annotation
element has a
value of
role
temporary
, it must reference at least one element in the document using the
attribute or be referenced by at least one
ref
. For annotations that apply to more than one element, use a space-separated list of
annoref
xml:id
values in the ref
attribute.
The
attribute identifies the specific element(s) being annotated by referencing their
ref
xml:id
values.
The annotation
element should not be used to add descriptions, footnotes or endnotes. Refer to the
and
description
elements for more information.
note
Local name | annotation |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
2.3.3.3 The annoref
element
The annoref
element represents a textual reference to an
.
annotation
By default, the text content of the annoref
represents the link reference and is treated as document content. When superscripted numbers or symbols are instead used to identify the corresponding annotation
, the
attribute should be used. The
value
annoref
must be an empty element when attaching a value
attribute; it it not permitted to include text content and a value
attribute.
The
attribute is used to establish the link between the
ref
annoref
and its associated annotation
.
This element is a specialization of the
element.
ref
There are two means of tagging references to annotations. When a superscripted identifier is used, the value
attribute is required:
<p>…it created a great chasm between my step-mother and me.<annoref ref="anno-04" value="4" /></p>
In the above example, the annotation identifier (the number 4) is no longer part of the document content, but can still be output and repurposed by a processing agent.
It is sometimes the case, however, that using one or more words in the content to link to the annotation is preferred to a superscripted identifier. In this case, the value
attribute is omitted and the text content of the annoref
becomes the linkable text:
<p>…it created a great chasm between <annoref ref="anno-04">my step-mother and me</annoref>.</p>
An additional benefit to tagging words instead of inserting superscripted referents is that a transformation process could automatically remove the link from the words and instead insert superscripted numbers or symbols after the element when they are needed. It would not be possible to do the reverse if only the superscripts have been tagged, however.
It is illegal to use an empty element and omit a value
attribute, as in the following example, as some text content is necessary to render the link:
<p>…it created a great chasm between my step-mother and me.<annoref ref="anno-04" /></p>
It is also illegal to use text content together with a value
attribute, as it introduces ambiguity in how to format the output:
<p>…it created a great chasm between <annoref ref="anno-04" value="4">my step-mother and me</annoref>.</p>
Local name | annoref |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (empty | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The IDREF(s) in the
ref
attribute must resolve toannotation
s.
2.3.3.4 The annoref value
attribute
The annoref value
attribute provides the number or symbol that represents the current annotation
reference.
The value
attribute allows any text string as an identifier.
Local name | value |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) | text |
Optionality | This attribute must not be omitted when activating this module. |
2.3.3.5 The annotation module – Implementations
Schema | Language |
---|---|
z3998-annotation.rng | RelaxNG |
Activation of this module depends on the global-classes, datatypes, Core, I18n, RDFa and linking modules also being activated.
2.3.4 The aside module
This module defines the
element for capturing supplementary information in documents.
aside
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
2.3.4.1 The aside
element (Section)
The aside
element represents information supplementary to the main text and/or narrative flow.
The Section
variant is an adaptation for use with asides that contain structured content.
An aside typically floats separate from the main text, often in a boxed or shaded region.
The
attribute optionally expresses the semantic nature of the aside.
role
Local name | aside |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
aside
element must neither be empty nor contain only whitespace.
2.3.4.2 The aside
element (Block)
The aside
element represents information supplementary to the main text and/or narrative flow.
The Block
variant is an adaptation for use with asides that contain unstructured content.
An aside typically floats separate from the main text, often in a boxed or shaded region.
The
attribute optionally expresses the semantic nature of the aside.
role
Local name | aside |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.4.3 The aside module – Implementations
Schema | Language |
---|---|
z3998-aside.rng | RelaxNG |
Activation of this module depends on the global-classes, datatypes, Core, I18n and RDFa modules also being activated.
The toc module depends on this module being activated.
2.3.5 The byline module
This module defines the byline element for crediting the authorship of articles.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.3.5.1 The byline
element
The byline
element represents the byline used to establish the author(s) of a news or journal article, an entry in an encyclopaedic reference, or similar.
Bylines typically occur on a separate line immediately after the headline in print articles.
Local name | byline |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
byline
element must neither be empty nor contain only whitespace.
2.3.5.2 The byline module – Implementations
Schema | Language |
---|---|
z3998-byline.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The article module depends on this module being activated.
2.3.6 The caption module
This module defines the caption element for adding titles and/or explanatory information to elements.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
2.3.6.1 The caption
element
The caption
element represents a short explanation or description accompanying a component of a publication. Captions most often occur in conjunction with illustrations, photographs, tables and diagrams.
The
attribute identifies the component(s) to which the caption applies.
ref
Local name | caption |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
caption
element must not contain childcaption
elements. - The
caption
element must neither be empty nor contain only whitespace.
2.3.6.2 The caption module – Implementations
Schema | Language |
---|---|
z3998-caption.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.3.7 The citation module
This module defines the
element for marking references to other works.
citation
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
|
|
(text | |
|
2.3.7.1 The citation
element (Block)
The citation
element represents an author’s acknowledgment of the original author and/or work of a directly or indirectly borrowed idea, quote or other resource. Citations typically occur in conjunction with epigraphs, quotes, illustrations, charts and diagrams.
The Block
variant is an adaptation for use where the citation is offset from the quoted material.
The optional
attribute on the
ref
citation
element is used to establish an explicit association between the citation
and the passage or resource it references; the placement of the citation
does not, by default, imply an association with any element in the document. Some elements do provide a mechanism for implied relationships, however (see the
element, for example). When adding citations, refer to the documentation for the element the citation is being attached to for more information.
quote
A citation
can also be linked to the work it cites by including a child
element. A
ref
attribute can be attached to the nested
ref
ref
element to reference a work in the current document’s
, for example. To reference other resources, including resources external to the current document, the
bibliography
attribute must be used instead.
xlink:href
Local name | citation |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow either the or attributes. |
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.3.7.2 The citation
element (Phrase)
The citation
element represents an author’s acknowledgment of the original author and/or work of a directly or indirectly borrowed idea, quote or other resource. Citations typically occur in conjunction with epigraphs, quotes, illustrations, charts and diagrams.
The Phrase
variant is an adaptation for use where citations are included inline with the quoted material.
The optional
attribute on the
ref
citation
element is used to establish an explicit association between the citation
and the passage or resource it references; the placement of the citation
does not, by default, imply an association with any element in the document. Some elements do provide a mechanism for implied relationships, however (see the
element, for example). When adding citations, refer to the documentation for the element the citation is being attached to for more information.
quote
A citation
can also be linked to the work it cites by including a child
element. A
ref
attribute can be attached to the nested
ref
ref
element to reference a work in the current document’s
, for example. To reference other resources, including resources external to the current document, the
bibliography
attribute must be used instead.
xlink:href
Parentheses, brackets and other enclosing characters should be included within the citation
element if they must be retained in the file. The use of CSS for appending these characters is recommended, however, for the flexibility it allows to change the characters depending on the desired output.
This element is a specialization of the
element.
ref
Local name | citation |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and attributes as exclusive choices. |
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
citation
element must neither be empty nor contain only whitespace. - The
ref
attribute on theref
element must refer to anentry
in abibliography
when nested inside acitation
element.
2.3.7.3 The citation module – Implementations
Schema | Language |
---|---|
z3998-citation.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.3.8 The code module
This module defines the
element for marking instances of computer code, commands and coded alphabets and systems.
code
Two variants of the code
element are available: one for use in a Block context and a second for use in a Phrase context.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(( |
|
|
|
|
|
|
|
|
and
|
|
|
(text | |
|
2.3.8.1 The code
element (Block)
The code
element is intended for general instances of code as found in works of fiction and similar non-technical documents, which includes computer programming code, commands and command input/output as well as representations of numeric and text coding systems, such as Morse code.
For computer programming books, manuals and specifications, specializing the code
element or using a computer markup feature is recommended.
Local name | code |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (( |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
code
element must neither be empty nor contain only whitespace.
2.3.8.2 The lngroup
element (code)
The lngroup
element for code represents a grouping of ln
code elements.
Lines of code may be grouped to show a section of a coded message, a computer program, methods within a program, to separate programs from sample input/output, etc.
Local name | lngroup |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements. |
Optionality | This element must not be omitted when activating this module. |
2.3.8.3 The ln
element (code)
The ln
element for the code
element represents a single line of code.
The
element can be added at the start of the
lnum
ln
for code examples that include line numbers.
Local name | ln |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.3.8.4 The code
element (Phrase)
The code
element is intended for general instances of code as found in works of fiction and similar non-technical documents, which includes computer programming code, commands and command input/output as well as representations of numeric and text coding systems, such as Morse code.
For computer programming books, manuals and specifications, specializing the code
element or using a computer markup feature is recommended.
Local name | code |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.3.8.5 The code module – Implementations
Schema | Language |
---|---|
z3998-code.rng | RelaxNG |
Activation of this module depends on the global-classes and line modules also being activated.
2.3.9 The dateline module
This module defines the dateline element for identifying when and where a work was produced.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.3.9.1 The dateline
element
The dateline
element represents the creation date and/or time of a news article, diary entry, poem, etc.
Datelines typically occur on their own line and include a date and location. For dates and times expressed within the narrative flow of a document, refer to the
element.
time
Local name | dateline |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
dateline
element must neither be empty nor contain only whitespace.
2.3.9.2 The dateline module – Implementations
Schema | Language |
---|---|
z3998-dateline.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The article module depends on this module being activated.
2.3.10 The definition module
This module defines the
element for including formal definitions for words, terms and phrases.
definition
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
and
|
2.3.10.1 The definition
element
The definition
element represents a formal description of the meaning of a word, term, phrase, or other construct.
The definition
element requires an xml:id
attribute with a unique identifier for linking from the associated term.
Definitions that are not part of the document content may be placed in the document
.
head
Local name | definition |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | and
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
definition
element must neither be empty nor contain only whitespace.
2.3.10.2 The definition module – Implementations
Schema | Language |
---|---|
z3998-definition.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
2.3.11 The description module
This module defines the
element and
description
attribute for providing accessible descriptions.
desc
Three variants of the description
element are defined for use in the Block, Phrase and Text classes respectively.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(empty | ( |
|
|
|
(text | |
|
|
|
(text | |
|
Name | Definition | Content |
---|---|---|
desc |
The desc attribute establishes the connection between the current element and its associated accessible (s). |
|
2.3.11.1 The description
element (Block)
The description
element represents an alternate accessible description of an image, video, table, etc.
The Block
variant is an adaption for use embedding descriptions in other Block
-layer elements and for grouping descriptions in Section
-layer elements (for example, in the document
, where they can be referenced globally).
head
The description
element can either contain the text content of the description or reference an external file in which it can be found via the
attribute. It is not permitted to mix both methods, however.
xlink:href
To ensure the description can be rendered, the description
element must not include descendant elements and attributes that require a description.
Local name | description |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (empty | ( |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
description
element must either contain text data or point to an external resource using thexlink:href
attribute. - Every
description
element must be referenced by at least one element in the document.
2.3.11.2 The description
element (Phrase)
The description
element represents an alternate accessible description of an image, video, table, etc.
The description
element can either contain the text content of the description or reference an external file in which it can be found via the
attribute. It is not permitted to mix both methods, however.
xlink:href
To ensure the description can be rendered, the description
element must not include descendant elements and attributes that require a description.
Local name | description |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.3.11.3 The description
element (Text)
The description
element represents an alternate accessible description of an image, video, table, etc.
The description
element can either contain the text content of the description or reference an external file in which it can be found via the
attribute. It is not permitted to mix both methods, however.
xlink:href
To ensure the description can be rendered, the description
element must not include descendant elements and attributes that require a description.
Local name | description |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.3.11.4 The description module – Implementations
Schema | Language |
---|---|
z3998-description.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.3.12 The headings module
This module defines the
,
h
and
hd
elements for representing headings and heading segments.
hpart
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
Block.attrib | ( |
Section.class |
|
Phrase.attrib | (text | |
h |
|
,
|
(text | |
|
2.3.12.1 The h
element
The h
element represents a structural heading.
The h
element is strongly associated with the
element and its specializations. Each section typically allows zero or one
section
h
element child.
Local name | h |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | Section.class |
Usage context alterability | No element may allow more than one h element in its content model. |
Default attribute model | Block.attrib |
Default content model | ( |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
h
element must neither be empty nor contain only whitespace.
2.3.12.2 The hpart
element
The hpart
element represents a segment of a structural heading.
The hpart
element is typically used to separate numeric identifiers from headings or to separate segments of headings broken onto separate lines.
Local name | hpart |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | h |
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model | Phrase.attrib |
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
hpart
element must neither be empty nor contain only whitespace.
2.3.12.3 The hd
element
The hd
element represents a free-floating heading that is not associated with the hierarchical structure of the document.
The
attribute may be used to associate an
ref
hd
element with a construct that it acts as a heading for.
Local name | hd |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model | ,
|
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
hd
element must neither be empty nor contain only whitespace.
2.3.12.4 The headings module – Implementations
Schema | Language |
---|---|
z3998-headings.rng | RelaxNG |
Activation of this module depends on the global-classes, datatypes and linking modules also being activated.
The article, bibliography, glossary, index, section, toc and verse modules depends on this module being activated.
2.3.13 The list module
This module defines the list
element for structuring ordered and unordered simple sets of items.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(text | z3998.Text.class | z3998.Phrase.class)+ |
|
Name | Default values | Default usage context |
---|---|---|
|
'ordered'|'unordered' |
|
|
|
|
2.3.13.1 The list
element
The list
element represents a simple list of items, either ordered or unordered.
The optional type
attribute specifies the HTML-style ordered and unordered nature of the list.
By default, an unordered list is prefixed by bullets and an ordered list by numeric values. To change this behavior, refer to the Content Rendition feature’s
attributes.
prefix
If the type
attribute is omitted, then there is no default formatting.
The list
element is not intended to structure semantically meaningful sets of entries as found in indexes, bibliographies and glossaries.
Local name | list |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and type attributes. |
Default content model |
|
Content model alterability | The content model must allow elements. |
Optionality | This element must not be omitted when activating this module. |
2.3.13.2 The list
element (Phrase)
The list
element represents a simple list of items, either ordered or unordered.
The Phrase
variant is an adaptation for use embedding lists where the items flow together as part of the document narrative.
The optional type
attribute specifies the HTML-style ordered and unordered nature of the list.
By default, an unordered list is prefixed by bullets and an ordered list by numeric values. To change this behavior, refer to the Content Rendition feature’s
attributes.
prefix
If the type
attribute is omitted, then there is no default formatting.
The list
element is not intended to structure semantically meaningful sets of entries as found in indexes, bibliographies and glossaries.
Local name | list |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and type attributes. |
Default content model |
|
Content model alterability | The content model must allow elements. |
Optionality | This element must not be omitted when activating this module. |
2.3.13.3 The item
element
The item
element represents a single item in a list.
The number or glyph that appears before the item
is typically controlled by the attributes specified on the parent
element together with the number of preceding
list
item
s. The Content Rendition feature’s
attribute allows this default behaviour to be overridden for individual items, however.
prefix
Local name | item |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
item
element must neither be empty nor contain only whitespace.
2.3.13.4 The item
element (Phrase)
The item
element represents a single item in a list.
The number or glyph that appears before the item
is typically controlled by the attributes specified on the parent
element together with the number of preceding
list
item
s. The Content Rendition feature’s
attribute allows this default behaviour to be overridden for individual items, however.
prefix
Local name | item |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.13.5 The type
attribute
The type
attribute specifies whether the item
s in the list are ordered or unordered.
The type
attribute values imply the following semantics for the list items:
ordered
— the order of the items is significant and changing the order of the items typically changes the meaning of the list.unordered
— the order of the items is not significant and changes the order of the items typically does not change the meaning of the list.
Local name | type |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) | 'ordered'|'unordered' |
Optionality | This attribute must not be omitted when activating this module. |
2.3.13.6 The start
attribute
The start
attribute specifies the ordinal value for the first list item
‘s prefix.
If omitted, the implicit value 1
is assumed.
This attribute is only valid when used with ordered lists (as defined by the presence and value of the type
attribute).
Local name | start |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
2.3.13.7 The list module – Implementations
Schema | Language |
---|---|
z3998-list.rng | RelaxNG |
Activation of this module depends on the global-classes and datatypes modules also being activated.
2.3.14 The meta module
This module defines the
element for including metadata information.
meta
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
, and
|
empty | z3998.meta+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
2.3.14.1 The meta
element
The meta
element expresses metadata information about the document, a document fragment or an external resource associated with the document.
The meta
element accepts attributes from the RDFa attributes collection for capturing the metadata information.
Acceptable methods for specifying the value of a meta
element include:
- attaching a
content
attribute; and - inlining text and non-
meta
element children.
It is not valid to employ both methods for the same element. If no value is specified, the meta
element either expresses a specialized metadata function or is a container for one or more child meta
elements.
Local name | meta |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model | , and
|
Attribute model alterability | The attribute model must allow the attributes. |
Default content model | empty | z3998.meta+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The meta
content
attribute must neither be empty nor contain only whitespace.
2.3.14.2 The meta module – Implementations
Schema | Language |
---|---|
z3998-meta.rng | RelaxNG |
Activation of this module depends on the RDFa, Core, I18n and global-classes modules also being activated.
The article and document modules depends on this module being activated.
2.3.15 The note module
This module defines the
and
note
elements for the referencing and inclusion of footnotes and endnotes.
noteref
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(empty | (text | |
|
Name | Default values | Default usage context |
---|---|---|
|
text |
|
2.3.15.1 The note
element (Block)
The note
element represents a single footnote or endnote.
The Block
variant is an adaptation for use including notes between block elements.
Notes provide or reference sources of additional information, or acknowledge the source of a quotation or idea. In printed matter, they are usually distinguishable from annotations by their location either at the bottom of print pages, at the end of sections or in the back matter of a document.
Each note
is typically referenced by a
or prefixed by a page location (when explicit references have been omitted from the text). If the
noteref
note
does not have a referent in a Z39.98-AI document, it must include a
attribute that references back to the nearest element in the document to the content to which it applies.
ref
The
attribute optionally expresses the semantic nature of the note. The value can be either
role
footnote
or endnote
. If omitted, the implicit value footnote
is assumed.
When a note is prefixed by a number or symbol, that identifier should be included using the Content Rendition feature’s
attribute.
prefix
Local name | note |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
note
element must either be referenced by anoteref
or reference another element in the document. - The
note
element must neither be empty nor contain only whitespace.
2.3.15.2 The note
element (Phrase)
The note
element represents a single footnote or endnote.
The Phrase
variant is an adaptation for use including notes inline in phrase contexts.
Notes provide or reference sources of additional information, or acknowledge the source of a quotation or idea. In printed matter, they are usually distinguishable from annotations by their location either at the bottom of print pages, at the end of sections or in the back matter of a document.
Each note
is typically referenced by a
or prefixed by a page location (when explicit references have been omitted from the text). If the
noteref
note
does not have a referent in a Z39.98-AI document, it must include a
attribute that references back to the nearest element in the document to the content to which it applies.
ref
The
attribute optionally expresses the semantic nature of the note. The value can be either
role
footnote
or endnote
. If omitted, the implicit value footnote
is assumed.
When a note is prefixed by a number or symbol, that identifier should be included using the Content Rendition feature’s
attribute.
prefix
Local name | note |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.15.3 The noteref
element
The noteref
element represents a textual reference to a
.
note
The
attribute is used to establish the link between the note reference and its associated
ref
note
.
By default, the text content of the noteref
represents the link reference and is treated as document content. When superscripted numbers or symbols are used to identify the corresponding note
, the
attribute should be used. The
value
noteref
must be an empty element when attaching a value
attribute; it it not permitted to include text content and a value
attribute.
This element is a specialization of the
element.
ref
There are two means of tagging references to notes. When a superscripted identifier is used, the value
attribute is required:
<p>THE following pages contain Extracts from LETTERS addressed to Professor HENSLOW<noteref ref="n2" value="2" /> by C. DARWIN, Esq. … </p>
In the above example, the note identifier (the number 2) is no longer part of the document content, but can still be output and repurposed by a processing agent.
It is sometimes the case, however, that using one or more words in the content to link to the annotation is preferred to a superscripted identifier. In this case, the value
attribute is omitted and the text content of the noteref
becomes the linkable text:
<p>THE following pages contain Extracts from LETTERS addressed to <noteref ref="n2">Professor HENSLOW</noteref> by C. DARWIN, Esq. … </p>
An additional benefit to tagging words instead of inserting superscripted referents is that a transformation process could automatically remove the link from the words and instead insert superscripted numbers or symbols after the element when they are needed. It would not be possible to do the reverse if only the superscripts have been tagged, however.
It is illegal to use an empty element and omit a value
attribute, as in the following example, as some text content is necessary to render the link:
<p>THE following pages contain Extracts from LETTERS addressed to Professor HENSLOW<noteref ref="n2" /> by C. DARWIN, Esq. … </p>
It is also illegal to use text content together with a value
attribute, as it introduces ambiguity in how to format the output:
<p>THE following pages contain Extracts from LETTERS addressed to <noteref ref="n2" value="2">Professor HENSLOW</noteref> by C. DARWIN, Esq. … </p>
Local name | noteref |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (empty | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The IDREF(s) in the
ref
attribute must resolve tonote
elements.
2.3.15.4 The noteref value
attribute
The noteref value
attribute provides the number or symbol that represents the current note
reference.
The value
attribute allows any text string as an identifier.
Local name | value |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) | text |
Optionality | This attribute must not be omitted when activating this module. |
2.3.15.5 The note module – Implementations
Schema | Language |
---|---|
z3998-note.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.3.16 The object module
This module defines the
element for including graphics, video and other external objects.
object
Three variants of the object
element are defined for use in the Block, Phrase and Text classes respectively.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(empty | ( |
|
|
|
(empty | (text | |
|
|
|
(empty | (text | |
|
2.3.16.1 The object
element (Block)
The object
element contains a reference to an external resource, such as a graphic or video.
The Block
variant is an adaptation for use embedding objects that are intended to be offset from any surrounding block elements.
The referenced resource may be an image, video, XML text, or other content, but its media type must be supported by the current profile and features in use. The optional srctype
attribute carries an enumeration of the allowed media types.
The formal behavior of the object
element is defined by
.
XHTML 1.1
This element is a specialization of the
element with the XLink behaviors
ref
xlink:show="embed"
and xlink:actuate="onLoad"
.
It is not always the case that the referenced object will be available, renderable or accessible. The object
element provides two mechanisms for adding fallback accessible descriptions in these cases:
- the direct inclusion of elements within the
object
element:<object xml:id="mnt1" src="mouse.png"> <p>A picture of a small, grey mouse.</p> </object>
or
<object xml:id="mnt2" src="mouse.png"> <description by="republisher"> <p>A picture of a small, grey mouse.</p> </description> </object>
In the first example, a
description
element with aby
attribute value ofauthor
is implied around the child content. In the second, an explicitdescription
has been added to identify that the description has been contributed by a republisher of the document. - by attaching a
desc
attribute pointing to the description:<object xml:id="mnt3" src="mouse.png" desc="mouse-description" /> <description by="republisher" xml:id="mouse-description"> <p>A picture of a small, grey mouse.</p> </description>
Local name | object |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and attributes. |
Default content model | (empty | ( |
Optionality | This element must not be omitted when activating this module. |
2.3.16.2 The object
element (Phrase)
The object
element contains a reference to an external resource, such as a graphic or video.
The Phrase
variant is an adaption for use embedding objects in phrasal constructs.
The referenced resource may be an image, video, XML text, or other content, but its media type must be supported by the current profile and features in use. The optional srctype
attribute carries an enumeration of the allowed media types.
The formal behavior of the object
element is defined by
.
XHTML 1.1
This element is a specialization of the
element with the XLink behaviors
ref
xlink:show="embed"
and xlink:actuate="onLoad"
.
It is not always the case that the referenced object will be available, renderable or accessible. The object
element provides two mechanisms for adding fallback accessible descriptions in these cases:
- the direct inclusion of elements within the
object
element:<object xml:id="mnt1" src="mouse.png"> <p>A picture of a small, grey mouse.</p> </object>
or
<object xml:id="mnt2" src="mouse.png"> <description by="republisher"> <p>A picture of a small, grey mouse.</p> </description> </object>
In the first example, a
description
element with aby
attribute value ofauthor
is implied around the child content. In the second, an explicitdescription
has been added to identify that the description has been contributed by a republisher of the document. - by attaching a
desc
attribute pointing to the description:<object xml:id="mnt3" src="mouse.png" desc="mouse-description" /> <description by="republisher" xml:id="mouse-description"> <p>A picture of a small, grey mouse.</p> </description>
Local name | object |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and attributes. |
Default content model | (empty | (text | |
Optionality | This element may be omitted when activating this module. |
2.3.16.3 The object
element (Text)
The object
element contains a reference to an external resource, such as a graphic or video.
The Text
variant is an adaption for use representing objects at the character level.
The referenced resource may be an image, video, XML text, or other content, but its media type must be supported by the current profile and features in use. The optional srctype
attribute carries an enumeration of the allowed media types.
The formal behavior of the object
element is defined by
.
XHTML 1.1
This element is a specialization of the
element with the XLink behaviors
ref
xlink:show="embed"
and xlink:actuate="onLoad"
.
It is not always the case that the referenced object will be available, renderable or accessible. The object
element provides two mechanisms for adding fallback accessible descriptions in these cases:
- the direct inclusion of elements within the
object
element:<object xml:id="mnt1" src="mouse.png"> <p>A picture of a small, grey mouse.</p> </object>
or
<object xml:id="mnt2" src="mouse.png"> <description by="republisher"> <p>A picture of a small, grey mouse.</p> </description> </object>
In the first example, a
description
element with aby
attribute value ofauthor
is implied around the child content. In the second, an explicitdescription
has been added to identify that the description has been contributed by a republisher of the document. - by attaching a
desc
attribute pointing to the description:<object xml:id="mnt3" src="mouse.png" desc="mouse-description" /> <description by="republisher" xml:id="mouse-description"> <p>A picture of a small, grey mouse.</p> </description>
Local name | object |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and attributes. |
Default content model | (empty | (text | |
Optionality | This element may be omitted when activating this module. |
2.3.16.4 The object module – Implementations
Schema | Language |
---|---|
z3998-object.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
The word module depends on this module being activated.
2.3.17 The paragraph module
This module defines the
element for distinguishing paragraphs of text.
p
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.3.17.1 The p
element
The p
element represents a paragraph of text consisting of one or several sentences.
The
attribute together with a CSS stylesheet should be used to retain any formatting information specific to a paragraph, such as first line indenting.
class
Local name | p |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
p
element must neither be empty nor contain only whitespace.
2.3.17.2 The paragraph module – Implementations
Schema | Language |
---|---|
z3998-p.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The bibliography, glossary, index and toc modules depends on this module being activated.
2.3.18 The pagebreak module
This module defines the pagebreak element and the pagebreak
attribute for retaining print page transition points.
value
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
empty |
, and
|
Name | Default values | Default usage context |
---|---|---|
|
text |
|
2.3.18.1 The pagebreak
element
The pagebreak
element represents the location of a page break in a print source.
The
attribute optionally expresses a page number associated with the page.
value
Local name | pagebreak |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | , and
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | empty |
Optionality | This element must not be omitted when activating this module. |
2.3.18.2 The pagebreak value
attribute
The pagebreak value
attribute provides the numbering of the page immediately following the pagebreak
element.
The value
attribute allows any text string as an identifier to accommodate Arabic, roman and other sequencing conventions.
Local name | value |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) | text |
Optionality | This attribute must not be omitted when activating this module. |
2.3.18.3 The pagebreak module – Implementations
Schema | Language |
---|---|
z3998-pagebreak.rng | RelaxNG |
Activation of this module depends on the global-classes and datatypes modules also being activated.
2.3.19 The quote module
This module defines the
element for indicating text reproduced from another source.
quote
Two variants of the quote
element are available: one for use in a Block context and a second for use in a Phrase context.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(text | |
|
2.3.19.1 The quote
element (Block)
The quote
element represents a quotation from a real or fictitious source.
When citing the source of a quotation, the
must be explicitly linked to the
citation
quote
by means of the
attribute.
ref
If a quote
element contains only a single child citation
element, and the citation
does not contain a ref
attribute or child
element, the association between the two elements is implied.
ref
If a quote
does not contain a citation, it can still be linked to the work it is cited from by attaching a
attribute referencing an entry in a
ref
, for example. To reference other resources, including resources external to the current document, the
bibliography
attribute must be used.
xlink:href
The
attribute optionally expresses the semantic nature of the quote. The
role
role
value epigraph
, for example, indicates the quoted passage or verse represents an epigraph for the document or section.
Local name | quote |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
quote
element must neither be empty nor contain only whitespace.
2.3.19.2 The quote
element (Phrase)
The quote
element represents a quotation from a real or fictitious source.
When citing the source of a quotation, the
must be explicitly linked to the
citation
quote
by means of the
attribute.
ref
If a quote
element contains only a single child citation
element, and the citation
does not contain a ref
attribute or child
element, the association between the two elements is implied.
ref
If a quote
does not contain a citation, it can still be linked to the work it is cited from by attaching a
attribute referencing an entry in a
ref
, for example. To reference other resources, including resources external to the current document, the
bibliography
attribute must be used.
xlink:href
The
attribute optionally expresses the semantic nature of the quote. The
role
role
value epigraph
, for example, indicates the quoted passage or verse represents an epigraph for the document or section.
Quotation marks should be included within the element if they must be retained in the file. The use of CSS for appending these characters is recommended, however, for the flexibility it allows to change the characters depending on the desired output.
Local name | quote |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.3.19.3 The quote module – Implementations
Schema | Language |
---|---|
z3998-quote.rng | RelaxNG |
Activation of this module depends on the global-classes and line modules also being activated.
2.3.20 The transition module
This module defines the transition element for indicating changes in context and other shifts in the narrative flow of a document.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
Block.attrib | empty |
Block.class |
2.3.20.1 The transition
element
The transition
element represents context changes and other shifts in the narrative flow or content of a document.
The shift represented by a transition
does not infer structural meaning on the elements that precede or follow it (see the
element). A typical example of a
section
transition
in print documents is a spaced gap between paragraphs, which may include centered asterisks or other glyphs (often referred to as a space break).
The Content Rendition feature’s
attribute can be used to represent a character marker associated with the
symbol
transition
, and the
attribute can be used to reference an image. If both attributes are omitted, the
src
transition
is treated as a whitespace gap.
Local name | transition |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | Block.class |
Default attribute model | Block.attrib |
Default content model | empty |
Optionality | This element must not be omitted when activating this module. |
2.3.20.2 The transition module – Implementations
Schema | Language |
---|---|
z3998-transition.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The verse module depends on this module being activated.
2.3.21 The table module
This module defines the table element and descendants for expressing tabular data and constructs.
The table element and its descendants inherit the semantics and behavior of the XHTML Modularization 1.1 tables module unless otherwise specified.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
( |
|
|
|
|
|
|
|
empty |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(z3998.table.th | z3998.table.td)+ |
, , and
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
|
|
(z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
|
Name | Default values | Default usage context |
---|---|---|
|
|
|
|
|
|
|
|
and
|
|
|
and
|
|
'row' | 'col' | 'rowgroup' | 'colgroup' |
and
|
|
|
and
|
2.3.21.1 The table
element
The table
element represents a single instance of tabular data arranged in rows and columns.
A table
may consist of one or more tr
elements or may be divided into
,
thead
and
tbody
divisions.
tfoot
A table may contain one or more
elements, for expressing common column formatting and properties.
colgroup
Associated content
Although images, tables and other objects may stand on their own in a document, typically they will include an accessible description, a caption and possibly a header.
In order to establish that other elements are carrying information about the table or image, you must tie them together using ref
attributes that point to the xml:id
of the central element, as in the following example:
<hd ref="galapisle">Galapagos Islands</hd> <object xml:id="galapisle" src="island.png" /> <caption ref="galapisle">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption>
If you were to omit the ref
attributes, the information would only be loosely associated by its order in the document (i.e., a processing agent would not be able to handle the elements as a group).
Although all of the above elements are associated through references to the object
element, their semantics are still only loosely defined (i.e., the linkage is established, but not what that linkage represents). A human can intuit they represent a figure by the collected items and their use, but not so a machine.
It can also be confusing to edit a document marked up with all content within a section as siblings, because document narrative could fall both immediately before and after the figure elements making it all appear connected. Without checking for ref
attributes as you edit, it wouldn’t be clear if a new non-structural heading were occuring or a figure were being inserted.
To begin to bind the elements more tightly and create a figure both humans and machines can understand, the block
element can be wrapped as a container. A role
attribute can then be attached to further specify that all of the children constitute a figure, as in the following example:
<block role="figure"> <hd ref="galapisland">Galapagos Islands</hd> <object xml:id="galapisland" src="island.png" /> <caption ref="galapisland">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
A common question at this point is why the ref
elements are still necessary. The answer is because the block
element is only a general container. The role
attribute provides additional semantics, but those semantics only extend to what kind of content the block
represents, not how it is interrelated (but more on this shortly).
Now that the content is grouped, however, we can begin to further simplify it. To avoid the extra work of linking the child elements, an associate
attribute can be attached to the block
(the attribute represents an automatic ref
between all the children). The IDREF that you specify in the attribute implicitly makes the references that we have so far been carrying forward, so our markup can now be more minimally represented as in the following example:
<block role="figure" associate="galap-figure"> <hd>Galapagos Islands</hd> <object xml:id="galap-figure" src="island.png" /> <caption>The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
Now, when a processing agent comes across this markup it will be able to determine both that the block constitutes a figure (from the role
attribute) and that the child hd
and caption
elements are tied to the object
(from the associate
attribute). We’ve gained much more information about the figure than we started with, and the work required to reproduce the figure has been greatly simplified (there is also no worry about accidentally forgetting a ref
on any of the children).
Now that we have a compact markup model for figures, we can briefly jump back to why we cannot assume associations. Consider the following example:
<block role="figure"> <object xml:id="galap-isa" src="isabella.png" /> <object xml:id="galap-fer" src="fernandina.png" /> <object xml:id="galap-sc" src="santa-cruz.png" /> <caption>The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
We cannot make a simple association here that all the children of the figure are tied to an object
, as the figure constitutes three images sharing a caption. We likewise cannot use the associate
attribute, but have to revert back to explicitly linking the caption
to each of the three images it describes:
<block role="figure"> <object xml:id="isa" src="isabella.png" /> <object xml:id="fer" src="fernandina.png" /> <object xml:id="sc" src="santa-cruz.png" /> <caption ref="isa fer sc">The Galapagos islands lie approximately 970km off the shore of Ecuador.</caption> </block>
It’s this potential for varation that requires at least some level of linking in all cases, and makes it impossible to state a simple rule that would hold true for all content grouped in a block
.
Fortunately, most image and table figures are not this complicated, and the simpler process of grouping in a block
with the associate
attribute will work the majority of the time.
Local name | table |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | ( |
Content model alterability | The table element must allow the , and elements and/or one or more elements. The order of the thead , tbody and tfoot elements must not be altered. |
Optionality | This element must not be omitted when activating this module. |
2.3.21.2 The colgroup
element
The colgroup
element allows a set of properties to be defined for the cells in one or more table columns.
The colgroup
can define a common set of properties for one or more columns using the
attribute, in which case it must be an empty element. To specify different properties for different columns, the
span
colgroup
must contain one or more
elements with the properties for those columns.
col
A colgroup
must not contain both a span
attribute and child col
elements.
Local name | colgroup |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Content model |
|
Content model alterability | This content model is fixed, and must not be altered when activating this module. |
Optionality | This element must not be omitted when activating this module. |
2.3.21.3 The col
element
The col
element allows a set of properties to be defined for the cells in one or more table columns.
The optional
attribute indicates the number of adjoining columns to which the properties apply.
span
Local name | col |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | empty |
Optionality | This element must not be omitted when activating this module. |
2.3.21.4 The thead
element
The thead
element represents the collection of
header rows.
table
Local name | thead |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.3.21.5 The tfoot
element
The tfoot
element represents the collection of
footer rows.
table
Note that contrary to the XHTML Modularization 1.1 tables module tfoot element, this element is placed following the tbody
element.
Local name | tfoot |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.3.21.6 The tbody
element
The tbody
element represents a collection of
body rows.
table
Multiple tbody
elements are allowed to enable representation of sections of rows.
Local name | tbody |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model |
|
Optionality | This element must not be omitted when activating this module. |
2.3.21.7 The tr
element
The tr
element represents a single
row of data.
table
Local name | tr |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | , , and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.table.th | z3998.table.td)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.21.8 The th
element
The th
element represents a single table cell containing header information.
The optional
attribute can be used to express the column(s) or row(s) to which the header applies.
scope
Local name | th |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.21.9 The td
element
The td
element represents a single table cell.
The optional
and
colspan
attributes can be used to specify that a column extends across or down more than one cell, respectively.
rowspan
The optional
attribute can be used to express that the current cell represents a header for columns(s) or row(s) defined by the attribute’s value.
scope
Local name | td |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (z3998.Block.class)+ | (text | z3998.Text.class | z3998.Phrase.class)+ |
Optionality | This element must not be omitted when activating this module. |
2.3.21.10 The span
attribute
The span
attribute specifies the number of columns the properties defined in a
or
colgroup
apply to.
col
If a colgroup
element contains child col
elements, the span is determined automatically from the number of child col
elements and any respective span
values they define.
If omitted, the implicit value 1
is assumed.
Local name | span |
---|---|
Namespace | None |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute must not be omitted when activating this module. |
2.3.21.11 The abbr
attribute
The abbr
attribute specifies an abbreviated header value.
Local name | abbr |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) |
|
Optionality | This attribute may be omitted when activating this module. |
2.3.21.12 The colspan
attribute
The colspan
attribute specifies the number of columns spanned by the current cell.
The implicit value of this attribute is 1
. The value 0
indicates that the cell spans all columns from the current column to the last column of the
in which the cell is defined.
colgroup
Local name | colspan |
---|---|
Namespace | None |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute must not be omitted when activating this module. |
2.3.21.13 The rowspan
attribute
The rowspan
attribute specifies the number of rows spanned by the current cell.
The implicit value of this attribute is 1
. The value 0
indicates that the cell spans all rows from the current row to the last row of the current table section (rowgroup) in which the cell is defined (where the
,
thead
, and
tbody
elements are considered rowgroups).
tfoot
Local name | rowspan |
---|---|
Namespace | None |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute must not be omitted when activating this module. |
2.3.21.14 The scope
attribute
The scope
attribute specifies the set of data cells for which the current header cell provides header information.
This attribute may be used in place of the
attribute, especially for simple tables.
headers
Local name | scope |
---|---|
Namespace | None |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Value(s) | 'row' | 'col' | 'rowgroup' | 'colgroup' |
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute must not be omitted when activating this module. |
2.3.21.15 The headers
attribute
The headers
attribute specifies the list of header cells that provide header information for the current data cell.
This attribute requires a space separated list of valid
references that resolves to
ID
elements.
th
Local name | headers |
---|---|
Namespace | None |
Usage context | and
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
headers
attribute must resolve to ath
in the currenttable
.
2.3.21.16 The table module – Implementations
Schema | Language |
---|---|
z3998-table.rng | RelaxNG |
Activation of this module depends on the global-classes and datatypes modules also being activated.
2.4 Phrase layer
The Phrase layer modules define constructs that operate at the grammatical level.
2.4.1 The span module
This module defines the span element for grouping inline content.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
|
|
(text | |
|
2.4.1.1 The span
element (Phrase)
The span
element represents an arbitrary phrase of text.
The span
element is similar to the
element in that only acts a container for its child content. It is a semantically neutral element by default, but may express some other commonality between the elements such as formatting or language.
block
To convey a semantic connection between the child content, the optional
attribute must be attached.
role
Local name | span |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
span
element must neither be empty nor contain only whitespace.
2.4.1.2 The span
element (Text)
The span
element represents an arbitrary phrase of text.
The span
element is similar to the
element in that only acts a container for its child content. It is a semantically neutral element by default, but may express some other commonality between the elements such as formatting or language.
block
To convey a semantic connection between the child content, the optional
attribute must be attached.
role
Local name | span |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
2.4.1.3 The span module – Implementations
Schema | Language |
---|---|
z3998-span.rng | RelaxNG |
Activation of this module depends on the global-classes, datatypes, Core, I18n and RDFa modules also being activated.
The name module depends on this module being activated.
2.4.2 The abbreviations module
This module defines the
and
abbr
elements for identifying and annotating abbreviations and acronyms.
expansion
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | Phrase.core.class | Text.core.class)+ |
|
|
|
(text | |
|
2.4.2.1 The abbr
element
The abbr
element represents the abbreviated form of a phrase, term or name.
The
attribute optionally expresses whether the type of abbreviation.
role
The
and
expansion
elements provide a mechanism for associating an abbreviation with its uncontracted form. When including an expansion, the
name
ref
attribute on the abbr
element links the abbreviation to an expansion
or name
.
The ref
attribute can also be used to reference a
element when an explanatory definition of the abbreviation is also needed.
definition
Local name | abbr |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the and attributes. |
Default content model | (text | Phrase.core.class | Text.core.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
ref
attribute on anabbr
element must resolve to anexpansion
,name
ordefinition
element. - The
abbr
element must neither be empty nor contain only whitespace.
2.4.2.2 The expansion
element
The expansion
element represents the fully expanded form of an
.
abbreviation
The expansion
element requires an xml:id
attribute with a unique identifier for linking from the associated abbreviation.
Expansions that are not part of the document content must be placed in the document
.
head
Local name | expansion |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
expansion
element must not contain descendantexpansion
elements. - The
expansion
element must neither be empty nor contain only whitespace.
2.4.2.3 The abbreviations module – Implementations
Schema | Language |
---|---|
z3998-abbr.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.4.3 The dialogue module
This module defines the d element for marking sections of dialogue.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.4.3.1 The d
element
The d
element represents an instance of dialogue in a book, play, article or other document.
Quotation marks should be included within the element if they must be retained in the file. The use of CSS for appending these characters is recommended, however, for the flexibility it allows to change the characters depending on the desired output.
The
attribute can optionally be used to link an instance of dialogue to a character listed in a dramatis personae.
ref
Local name | d |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
d
element must not contain descendantd
elements. - The
d
element must neither be empty nor contain only whitespace.
2.4.3.2 The dialogue module – Implementations
Schema | Language |
---|---|
z3998-d.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.4.4 The emphasis module
This module defines the emph element for indicating the placement of emphasis on words or phrases.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
|
|
(text | |
|
2.4.4.1 The emph
element (Phrase)
The emph
element represents an author’s emphasis.
Emphasis is not restricted to italicized text, but may constitute any of a variety of typographical or styling means used to distinguish text, such as bolding, underlining, coloring, etc.
Nested emph
elements indicate extra emphasized segments within an emphasized segment.
Local name | emph |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
emph
element must neither be empty nor contain only whitespace.
2.4.4.2 The emph
element (Text)
The emph
element represents an author’s emphasis.
Emphasis is not restricted to italicized text, but may constitute any of a variety of typographical or styling means used to distinguish text, such as bolding, underlining, coloring, etc.
Nested emph
elements indicate extra emphasized segments within an emphasized segment.
Local name | emph |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
2.4.4.3 The emphasis module – Implementations
Schema | Language |
---|---|
z3998-emph.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
2.4.5 The line module
This module defines the
,
ln
and
lngroup
elements for representing individual lines and line groupings.
lnum
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
|
|
(text | |
|
|
|
|
No default context. |
2.4.5.1 The ln
element
The ln
element represents a single line of text.
The
element can be added to the start of the
lnum
ln
to represent numbered lines.
Local name | ln |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
ln
element must not contain descendantln
elements. - The
ln
element must neither be empty nor contain only whitespace.
2.4.5.2 The lnum
element
The lnum
element represents the line number of the parent
.
ln
Local name | lnum |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model |
|
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
lnum
element must neither be empty nor contain only whitespace.
2.4.5.3 The lngroup
element
The lngroup
element represents a group of lines.
Local name | lngroup |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context | No default context. |
Default attribute model |
|
Default content model |
|
Content model alterability | The content model must allow elements. |
Optionality | This element may be omitted when activating this module. |
2.4.5.4 The line module – Implementations
Schema | Language |
---|---|
z3998-line.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
The address, code, code and verse modules depends on this module being activated.
2.4.6 The linking and embedding module
This module defines the
element and the
ref
,
ref
and
src
attributes that enable inter- and intra-document linking and content embedding. It also defines the
srctype
attribute that enables logical association of elements.
continuation
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
( |
(text | |
|
Name | Default values | Default usage context |
---|---|---|
|
|
No default context. |
|
|
No default context. |
|
'image/png'|'image/jpeg'|'image/bmp' |
On elements where is allowed. |
|
|
No default context. |
2.4.6.1 The ref
element
The ref
element represents a reference to an internal or external entity.
The referenced entity is not required to be resolvable or includable in a processing or rendering context: the ref
element may point to conceptual or physical items.
The ref
element may employ attributes from the
attributes collection to specify the nature of the hyperlink, including or excluding expressions of link activation behavior.
xlink.attrib
IDREF link relationships may also be established using the
attribute, but not in conjunction with the
ref
xlink
attributes collection.
Local name | ref |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Attribute model | ( |
Attribute model alterability | This attribute model is fixed, and must not be altered when activating this module. |
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
ref
element must neither be empty nor contain only whitespace.
2.4.6.2 The ref
attribute
The ref
attribute provides a generic mechanism to establish an association between the current element and one or more other elements in the document scope.
The ref
attribute must contain one or more space separated references to the
of the associated elements.
IDs
Elements adopting the ref
attribute may express constraints on the nature of the referenced elements.
Local name | ref |
---|---|
Namespace | None |
Default usage context | No default context. |
Default value(s) |
|
Optionality | This attribute may be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
ref
attribute must not reference the same ID multiple times. - Each IDREF in the
ref
attribute must reference the ID of another element in the document. - Elements carrying a
ref
attribute must not reference themselves.
2.4.6.3 The src
attribute
The src
attribute contains a URI reference to an external resource to embed in the document, in place of the current element.
Only references to resources that conform to one of the types in the
attribute enumeration are allowed.
srctype
Local name | src |
---|---|
Namespace | None |
Default usage context | No default context. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute may be omitted when activating this module. |
2.4.6.4 The srctype
attribute
The srctype
attribute contains a
expression that identifies the type of resource referenced from the
MediaType
attribute.
src
All Z39.98-AI profiles must allow the media types
,
image/png
and
image/jpeg
image/bmp
. These three image types are jointly referred to as the “core image types”. Z39.98-AI features may extend this enumeration to support additional media types.
If the srctype
attribute is not specified, processing agents must dereference the resource in the src
attribute to identify its media type.
Local name | srctype |
---|---|
Namespace | None |
Default usage context | On elements where is allowed. |
Value(s) | 'image/png'|'image/jpeg'|'image/bmp' |
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute may be omitted when activating this module. |
2.4.6.5 The continuation
attribute
The continuation
attribute provides a generic mechanism to establish a logical continuation of the current element cross one or more other elements in the document scope.
The continuation
attribute must contain one or more space separated references to the
of the associated elements. Note that the element that carries the continuation attribute must not be referenced in this list.
IDs
The order in which the references appear in the attribute value is not significant (i.e., the reference order need not match the document order of the referenced elements). Only elements with the same QName as the parent element of the attribute can be referenced (e.g., a paragraph cannot list a table as a continuation). Additionally, only elements following the current element in the document order may be referenced as continuations. Elements that are referenced as continuations must not have continuation attributes themselves.
Logical connections allow for special formatting of elements when generating outputs (to establish the connection between emphasis that continues across multiple paragraphs for braille formatting, for example). When the continuation
attribute has been attached to an element, all formatting instructions that apply to that element also apply to all the elements referenced in the attribute. Formatting instructions on the logical siblings, however, do not cascade.
A processing agent that does not recognize logical connections must be able to process each individual element in the continuation without requiring special knowledge of the elements that came before (i.e., inheritance of formatting cannot be assumed).
Local name | continuation |
---|---|
Namespace | None |
Default usage context | No default context. |
Value(s) |
|
Value alterability | The defined value(s) or datatype(s) are fixed, and must not be altered when activating this module. |
Optionality | This attribute may be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
continuation
attribute must not reference the same ID multiple times. - Elements referenced by a
continuation
attribute must be located after the referencing element (i.e., in document order). - Elements referenced by a
continuation
attribute must have the same QName as the referencing element. - Elements carrying a
continuation
attribute must not reference themselves.
2.4.6.6 The linking and embedding module – Implementations
Schema | Language |
---|---|
z3998-linking.rng | RelaxNG |
Activation of this module depends on the global-classes, xlink and datatypes modules also being activated.
The abbreviations, annotation, caption, citation, dialogue, object, headings, note, object, term and toc modules depends on this module being activated.
2.4.7 The name module
This module defines the name element for identifying proper names.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.4.7.1 The name
element
The name
element represents particular instances of names, places and things (proper nouns).
The
attribute optionally expresses the semantic nature of the proper noun. No implicit value is associated with the
role
name
element.
Local name | name |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
name
element must neither be empty nor contain only whitespace.
2.4.7.2 The name module – Implementations
Schema | Language |
---|---|
z3998-name.rng | RelaxNG |
Activation of this module depends on the datatypes, Core, I18n, RDFa, span and global-classes modules also being activated.
2.4.8 The num module
This module defines the
element for marking numbers that are not mathematical in nature.
num
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | z3998.Text.class)+ |
|
Name | Default values | Default usage context |
---|---|---|
|
text |
|
2.4.8.1 The num
element
The num
element represents a set of Arabic or Roman numerals that taken together indicate a single value or represent a single number in a standardized format.
Examples of numbers include: cardinal and ordinal values, weights, measures, currency values, postal codes, telephone numbers, ISBN numbers, scores and results, etc. Where these values include units of measure or other symbols integral to their understanding, the units and symbols must be included as a part of the num
element.
The
attribute optionally expresses the semantic nature of the number. If omitted, the implicit value
role
cardinal
is assumed.
If the value of the num
element is not in a machine-readable format, the
attribute optionally allows the inclusion of an alternate representation.
value
The MathML feature is intended for marking proper mathematical statements within documents and should be used in preference over the num
element whenever equations, formulae or other formal mathematic constructs or operators are being marked.
The num
element must not be used to mark instances of dates and times. Refer to the
element for more information.
time
Local name | num |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (text | z3998.Text.class)+ |
Content model alterability | The content model must not allow elements from MathML. |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
num
element must neither be empty nor contain only whitespace.
2.4.8.2 The value
attribute
The value
attribute provides the value of the num
element in a machine-readable form.
A processing agent’s interpretation of the value depends on the specific type of numeral, as specified by the role
attribute.
Local name | value |
---|---|
Namespace | None |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default value(s) | text |
Optionality | This attribute may be omitted when activating this module. |
2.4.8.3 The num module – Implementations
Schema | Language |
---|---|
z3998-num.rng | RelaxNG |
Activation of this module depends on the datatypes, Core, I18n, RDFa and global-classes modules also being activated.
2.4.9 The sentence module
This module defines the s element for marking the component sentences that compose the document text.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.4.9.1 The s
element
The s
element represents a grammatical and/or lexical sentence.
Local name | s |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
s
element must not contain descendants
elements. - The
s
element must neither be empty nor contain only whitespace.
2.4.9.2 The sentence module – Implementations
Schema | Language |
---|---|
z3998-s.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
2.4.10 The term module
This module defines the
element for identifying words and phrases of semantic or lexical significance.
term
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
?,
|
(text | z3998.Text.class)+ |
|
2.4.10.1 The term
element
The term
element represents a word, or compound word, characterized by its particular use and context.
The addition of a
attribute establishes a link to a definition. The value of the
ref
ref
attribute must reference the xml:id
of a
element
definition
Local name | term |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model | ?,
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (text | z3998.Text.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
term
element must neither be empty nor contain only whitespace. - The
ref
attribute on aterm
element must resolve to adefinition
.
2.4.10.2 The term module – Implementations
Schema | Language |
---|---|
z3998-term.rng | RelaxNG |
Activation of this module depends on the global-classes and linking modules also being activated.
2.4.11 The time module
This module defines the
element and the
time
attribute for including dates and times in human- and machine-readable forms.
time
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
Name | Default values | Default usage context |
---|---|---|
|
|
|
2.4.11.1 The time
element
The time
element represents a calendar or clock-based statement of time.
If the value of the time
element is not in a machine-readable format, the
attribute optionally allows the inclusion of an alternate representation.
time
Local name | time |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Attribute model alterability | The attribute model must allow the attribute. |
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
time
element must not contain descendanttime
elements. - The
time
element must neither be empty nor contain only whitespace.
2.4.11.2 The time
attribute
The time
attribute contains a calendar or clock-based statement of time expressed in machine-readable form.
When this attribute appears on the time element, it contains an alternate rendition of the element’s content.
The time
attribute value must be valid to the
datatype.
Time
Local name | time |
---|---|
Namespace | None |
Usage context |
|
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default value(s) |
|
Optionality | This attribute may be omitted when activating this module. |
2.4.11.3 The time module – Implementations
Schema | Language |
---|---|
z3998-time.rng | RelaxNG |
Activation of this module depends on the global-classes and datatypes modules also being activated.
2.4.12 The word module
This module defines the
element for marking the component words that compose the document text.
w
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | z3998.Text.class)+ |
|
|
Phrase.attrib | (text | |
w |
2.4.12.1 The w
element
The w
element represents a single, possibly compound, lexical word.
The
attribute optionally expresses the semantic nature of the word. No implicit value is associated with the
role
w
element.
Local name | w |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | z3998.Text.class)+ |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
word
element must neither be empty nor contain only whitespace.
2.4.12.2 The wpart
element
The wpart
element represents a segment of a word.
The wpart
element is typically used to distinguish the parts of a word (root, stem and affix), compound word, portmanteau or homograph. It can also be used in grammatical contexts to identify morphemes, graphemes and other divisions and boundaries within a word.
The wpart
element additionally can be used in place of soft hyphens to identify line ending break locations, if external formatting options are limited.
The
attribute optionally expresses the semantic nature of the word part. No implicit value is associated with the
role
wpart
element.
Local name | wpart |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Usage context | w |
Usage context alterability | This usage context is fixed, and must not be altered when activating this module. |
Default attribute model | Phrase.attrib |
Default content model | (text | |
Optionality | This element may be omitted when activating this module. |
The following model restrictions apply to this element:
- The
wpart
element must neither be empty nor contain only whitespace.
2.4.12.3 The word module – Implementations
Schema | Language |
---|---|
z3998-w.rng | RelaxNG |
Activation of this module depends on the datatypes, Core, I18n, RDFa and global-classes modules also being activated.
2.5 Text layer
The Text layer modules define character data and elements whose semantics operate at a character level.
2.5.1 The super- and subscript module
This module defines the sub and sup elements for marking superscripts and subscripts.
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
|
|
(text | |
|
2.5.1.1 The sub
element
The sub
element represents instances of subscripted text.
Local name | sub |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
sub
element must neither be empty nor contain only whitespace.
2.5.1.2 The sup
element
The sup
element represents instances of superscripted text.
Local name | sup |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Default content model | (text | |
Optionality | This element must not be omitted when activating this module. |
The following model restrictions apply to this element:
- The
sup
element must neither be empty nor contain only whitespace.
2.5.1.3 The super- and subscript module – Implementations
Schema | Language |
---|---|
z3998-sub-sup.rng | RelaxNG |
Activation of this module depends on the global-classes module also being activated.
2.5.2 The char module
This module defines the
element for inserting unique character data into a document.
char
Name | Default attribute model | Default content model | Default usage context |
---|---|---|---|
|
|
(text | |
|
2.5.2.1 The char
element
The char
element represents a single instance of a special character or a character with no Unicode equivalent.
The char
element can contain either a single character or a
tag, for characters and symbols that require special typesetting or display (e.g. ornamented initials at the start of chapters).
object
Local name | char |
---|---|
Namespace | http://www.daisy.org/ns/z3998/authoring/ |
Default usage context |
|
Default attribute model |
|
Content model | (text | |
Content model alterability | This content model is fixed, and must not be altered when activating this module. |
Optionality | This element must not be omitted when activating this module. |
2.5.2.2 The char module – Implementations
Schema | Language |
---|---|
z3998-char.rng | RelaxNG |
Activation of this module depends on the global-classes, datatypes and object modules also being activated.
2.6 Global attributes
The Global attributes modules define attributes that are available across the elements in a profile.
2.6.1 The by module
This module defines the
attribute for identifying the contributor of an element.
by
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default values | Default usage context |
---|---|---|
|
|
All global attribute classes |
2.6.1.1 The by
attribute
The by
attribute expresses the contributor of an element to the document source, such as the author, editor, a republisher, etc.
The by
attribute allows a single CURIE as its value, which must be bound to an RDF property using the mechanism defined in CURIE.
All descendants of an element that declares a by
attribute value implicitly inherit that value. In the absence of an expressed relationship, the implicit value author
is assumed.
Local name | by |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
2.6.1.2 The by module – Implementations
Schema | Language |
---|---|
z3998-by-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
2.6.2 The core attributes module
This module defines the xml:id, xml:space, xml:base and class attributes that constitute the core attributes collection that is available for all elements in a profile’s core markup model.
The core attributes are all optional, but the module activation process provides a mechanism to require some or all of the attributes.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default values | Default usage context |
---|---|---|
|
ID | z3998.Core.attrib |
|
"default" | "preserve" |
|
|
URI | z3998.Core.attrib |
|
NMTOKENS | z3998.Core.attrib |
Name | Definition | Content |
---|---|---|
z3998.Core.attrib |
A set of attributes, initially consisting of the xml:id, xml:space, xml:base and class attributes. |
2.6.2.1 The xml:id
attribute
The xml:id
attribute specifies a unique identifier for the element.
No two elements in an xml document can have the same xml:id
, including inside components that are appended to the primary document by xinclude statements or other means.
The semantics of this attribute are defined by XMLID.
Local name | xml:id |
---|---|
Namespace | http://www.w3.org/XML/1998/namespace |
Default usage context | z3998.Core.attrib |
Default value(s) | ID |
Optionality | This attribute must not be omitted when activating this module. |
2.6.2.2 The xml:space
attribute
The xml:space
attribute indicates whether the whitespace within an element is significant.
The semantics of this attribute are defined by XML. Refer to White Space Handling for more information.
Local name | xml:space |
---|---|
Namespace | http://www.w3.org/XML/1998/namespace |
Default usage context |
|
Default value(s) | "default" | "preserve" |
Optionality | This attribute must not be omitted when activating this module. |
2.6.2.3 The xml:base
attribute
The xml:base
attribute specifies a base URI to use for resolving relative URI references, for instances where the base URI of the document or external entity is not appropriate.
The semantics and behaviors of this attribute are defined by XMLBase.
Local name | xml:base |
---|---|
Namespace | http://www.w3.org/XML/1998/namespace |
Default usage context | z3998.Core.attrib |
Default value(s) | URI |
Optionality | This attribute must not be omitted when activating this module. |
2.6.2.4 The class
attribute
The class
attribute provides the ability to express general classifying or commonality between elements.
This attribute inherits all the fundamental properties of the (X)HTML class
attribute and is usable in the context of CSS styling.
The class
attribute is not used to inflect semantics or structure on elements or their contents. Refer to the
attribute for more information on how to layer semantic meaning on elements.
role
Local name | class |
---|---|
Namespace | None |
Default usage context | z3998.Core.attrib |
Default value(s) | NMTOKENS |
Optionality | This attribute may be omitted when activating this module. |
2.6.2.5 The core attributes module – Implementations
Schema | Language |
---|---|
z3998-core-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
The annotation, aside, document, global-classes, meta, name, num, span, verse and word modules depends on this module being activated.
2.6.3 The depth module
This module defines the
attribute for indicating the current nesting depth of like elements.
depth
Name | Default values | Default usage context |
---|---|---|
|
|
No default context. |
2.6.3.1 The depth
attribute
The depth
attribute specifies the nesting depth of the current element in relation to ancestors of the same type.
An element’s name alone does not infer an ancestral relationship; the usage context is equally important. For example, the depth of the first index
is not influenced by the number of structural
section
that may enclose the index.
sections
The outermost ancestor has the implied depth value 0
.
Local name | depth |
---|---|
Namespace | None |
Default usage context | No default context. |
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
2.6.3.2 The depth module – Implementations
Schema | Language |
---|---|
z3998-depth-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
2.6.4 The I18n module
This module defines the xml:lang, its:dir and its:translate attributes that constitute the I18n (Internationalization) attributes collection that is available for all elements in a profile’s core markup model.
The I18n attributes are all optional, but the module activation process provides a mechanism to require some or all of the attributes locally or globally.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default values | Default usage context |
---|---|---|
|
LanguageIdentifier | z3998.I18n.attrib |
|
"ltr" | "rtl" | "lro" | "rlo" |
z3998.I18n.attrib |
|
"yes" | "no" |
z3998.I18n.attrib |
Name | Definition | Content |
---|---|---|
z3998.I18n.attrib |
A set of attributes, initially consisting of the xml:lang, its:dir and its:translate attributes. |
2.6.4.1 The xml:lang
attribute
The xml:lang
attribute identifies the natural or formal language in which the content is written.
The semantics of this attribute are defined by XML. Refer to Language Identification for more information.
Local name | xml:lang |
---|---|
Namespace | http://www.w3.org/XML/1998/namespace |
Default usage context | z3998.I18n.attrib |
Default value(s) | LanguageIdentifier |
Optionality | This attribute must not be omitted when activating this module. |
2.6.4.2 The its:dir
attribute
The its:dir
attribute specifies the base writing direction of the content.
If omitted, the implicit value ltr
(left-to-right) is assumed.
The semantics of this attribute are defined by ITS. Refer to Directionality for more information.
Local name | dir |
---|---|
Namespace | http://www.w3.org/2005/11/its |
Default usage context | z3998.I18n.attrib |
Default value(s) | "ltr" | "rtl" | "lro" | "rlo" |
Optionality | This attribute must not be omitted when activating this module. |
2.6.4.3 The its:translate
attribute
The its:translate
attribute indicates whether the content of an element is translatable or not.
If omitted, the implicit value yes
is assumed.
The semantics of this attribute are defined by ITS. Refer to Translate for more information.
Local name | translate |
---|---|
Namespace | http://www.w3.org/2005/11/its |
Default usage context | z3998.I18n.attrib |
Default value(s) | "yes" | "no" |
Optionality | This attribute may be omitted when activating this module. |
2.6.4.4 The I18n module – Implementations
Schema | Language |
---|---|
z3998-i18n-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
The annotation, aside, document, global-classes, meta, name, num, span, verse and word modules depends on this module being activated.
2.6.5 The XLink attributes module
This module defines the
attributes collection, as defined by W3C XLink.
xlink.attrib
Compliant Z39.98-AI processing agents must comply to the Simple Conformance definition in XLink.
Note also that in its default state, the
attribute collection does not include the
xlink.attrib
xlink:role
and xlink:arcrole
attributes, as the functionality of these attributes is covered by the globally available
and
Rdfa.attrib
.
role
Name | Default values | Default usage context |
---|---|---|
|
|
|
|
'simple' |
Co-occuring with
|
|
|
Co-occuring with
|
|
|
Co-occuring with
|
|
text |
Co-occuring with
|
|
'new' | 'replace' | 'embed' | 'other' | 'none' |
Co-occuring with
|
|
'onLoad' | 'onRequest' | 'other' | 'none' |
Co-occuring with
|
Name | Definition | Content |
---|---|---|
xlink.attrib |
The W3C XLink attributes collection. | xlink.href.attrib, xlink.type.attrib?, xlink.title.attrib?, xlink.show.attrib?, xlink.actuate.attrib? |
2.6.5.1 The XLink href
attribute
Identifies a link target with a Legacy extended IRI ( LeIRI)
Local name | href |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context |
|
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
2.6.5.2 The XLink type
attribute
Identifies the XLink link type
In any Z39.98-AI profile and as defined by XLink Simple Conformance, the xlink type simple
is the implied xlink type, and does therefore not need to be expressed literally using the
attribute.
xlink:type
Local name | type |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) | 'simple' |
Optionality | This attribute may be omitted when activating this module. |
2.6.5.3 The XLink role
attribute
Identifies the XLink role of the link
Local name | role |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) |
|
Optionality | This attribute may be omitted when activating this module. |
2.6.5.4 The XLink arcrole
attribute
Identifies the XLink arcrole of the link
Local name | arcrole |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) |
|
Optionality | This attribute may be omitted when activating this module. |
2.6.5.5 The XLink title
attribute
Identifies the XLink title of the link.
Local name | title |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) | text |
Optionality | This attribute may be omitted when activating this module. |
2.6.5.6 The XLink show
attribute
Identifies the XLink show behavior of the link
Local name | show |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) | 'new' | 'replace' | 'embed' | 'other' | 'none' |
Optionality | This attribute may be omitted when activating this module. |
2.6.5.7 The XLink actuate
attribute
Identifies the XLink actuate behavior of the link
Local name | actuate |
---|---|
Namespace | http://www.w3.org/1999/xlink |
Default usage context | Co-occuring with
|
Default value(s) | 'onLoad' | 'onRequest' | 'other' | 'none' |
Optionality | This attribute may be omitted when activating this module. |
2.7 Metadata attributes
The Metadata attributes modules define attributes that allow meta information and semantics to be appended to elements in a profile.
2.7.1 The RDFa
Attributes Module
This module defines the W3C RDFa attribute collection.
The semantics of the attributes in this module are defined by RDFa. Refer to RDFa Primer for further information.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default values | Default usage context |
---|---|---|
|
( NCName: URI)+ |
|
|
URI | All global attribute classes |
|
Characters | All global attribute classes |
|
CURIE | All global attribute classes |
|
CURIEs | All global attribute classes |
|
CURIEs | All global attribute classes |
|
CURIEs | All global attribute classes |
|
URI | All global attribute classes |
|
CURIEs | All global attribute classes |
Name | Definition | Content |
---|---|---|
Rdfa.attrib |
Defines the RDFa attribute collection; all attributes with optional occurrence. |
|
2.7.1.1 The RDFa prefix
attribute
The prefix
attribute associates RDFa vocabulary namespace prefixes and URIs, as defined in RDFa Core 1.1.
The prefix
attribute may optionally be attached to the root
element. Z39.98-AI profiles must not allow the attribute to be attached to any other element.
document
The prefix
attribute must not be used to redefine prefixes or URIs declared in the default context document for the profile.
Local name | prefix |
---|---|
Namespace | None |
Default usage context |
|
Default value(s) | ( NCName: URI)+ |
Optionality | This attribute must not be omitted when activating this module. |
2.7.1.2 The RDFa about
attribute
The about
attribute specifies the subject of a relationship. If not given, then the subject is the current document.
Local name | about |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | URI |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The fragment URI in the
about
attribute must resolve to an ID in the document.
2.7.1.3 The RDFa content
attribute
The content
attribute specifies a string to use as an object for the
attribute.
property
Local name | content |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | Characters |
Optionality | This attribute must not be omitted when activating this module. |
2.7.1.4 The RDFa datatype
attribute
The datatype
attribute specifies a datatype of the object of the
attribute (either in the content attribute, or the content of the element that the datatype attribute is on.)
property
By default, data in the content attribute is of type string, and data in the content of an element has type xml:Literal
. If datatype=""
is used, then for the RDF the element content is stripped of markup, and is of type string.
Local name | datatype |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | CURIE |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
datatype
attribute contains an undeclared CURIE prefix.
2.7.1.5 The RDFa typeof
attribute
The typeof
attribute creates a blank node, which becomes the subject, and asserts that the current element contains relationships that match the given RDF type.
Local name | typeof |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | CURIEs |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
typeof
attribute contains an undeclared CURIE prefix.
2.7.1.6 The RDFa property
attribute
The property
attribute defines a relationship between the subject and either a string (if the
attribute is present) or the content of the element that the
content
property
attribute is on.
Local name | property |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | CURIEs |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
property
attribute contains an undeclared CURIE prefix.
2.7.1.7 The RDFa rel
attribute
The rel
attribute defines a relation between the subject and a URL given by the
attribute.
resource
The
attribute expresses the inverse relation.
rev
Local name | rel |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | CURIEs |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
rel
attribute contains an undeclared CURIE prefix.
2.7.1.8 The RDFa resource
attribute
The resource
attribute specifies an object URI for the
and
rev
attributes, if the attribute
rel
href
is not present.
Local name | resource |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | URI |
Optionality | This attribute must not be omitted when activating this module. |
2.7.1.9 The RDFa rev
attribute
The rev
attribute defines a relation between the subject and a URL given by the
attribute.
resource
The
attribute expresses the inverse relation.
rel
Local name | rev |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) | CURIEs |
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
rev
attribute contains an undeclared CURIE prefix.
2.7.1.10 The RDFa
Attributes Module – Implementations
Schema | Language |
---|---|
rdfa-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
The annotation, aside, document, global-classes, meta, name, num, span, verse and word modules depends on this module being activated.
2.7.2 The role module
This module defines the
attribute for annotating elements with machine-extractable semantic information about their nature and purpose.
role
The value of the role attribute is one or several CURIE
s, each bound to an RDF property using the mechanism defined in CURIE.
The role
attribute is optional on all applicable elements in a profile’s core markup model by default. When this module is activated, however, it is possible to make the attribute locally or globally required.
The attribute is not required on elements in a profile’s core markup model if the given element does not require semantic inflections or if it already provides other means of expressing metadata annotations.
When the role attribute is specified on an element, RDF triples are generated such that the current document constitutes the subject, the CURIE
(role attribute value) the predicate, and the current element node the object.
This module itself does not define a mechanism to declare prefixes of the used CURIE
s; the mechanisms to do this are defined by RDFa.
This module must be included in all compliant Z39.98-2012 Profiles.
Name | Default values | Default usage context |
---|---|---|
|
|
All global attribute classes |
2.7.2.1 The role
attribute
The role
attribute expresses a semantic inflection on the nature or purpose of its parent element.
The attribute takes as its value one or more whitespace separated CURIEs RDFa, that must be bound to one or more RDF vocabularies either defined in the RDFa initial context document or by the
attribute.
prefix
The role
attribute is intended to be functionally compatible with the WAI-PF role attribute ( ROLE) in its expression of document metadata to improve the accessibility of documents marked up to Z39.98-AI profiles.
Local name | role |
---|---|
Namespace | None |
Default usage context | All global attribute classes |
Default value(s) |
|
Optionality | This attribute must not be omitted when activating this module. |
The following model restrictions apply to this attribute:
- The
role
attribute contains an undeclared CURIE prefix.
2.7.2.2 The role module – Implementations
Schema | Language |
---|---|
z3998-role-attrib.rng | RelaxNG |
Activation of this module depends on the datatypes module also being activated.
The document and global-classes modules depends on this module being activated.