Topic and map specializations
Topic and map specializations
Content TBD
Book map elements
Elements in the book map section are used to organize DITA content into book form. They include elements for dividing up content, such as chapter and appendix, as well as metadata specific to publishing.
Book map content elements
The bookmap specialization of <map>
supports standard book production for collections of DITA
topics.
<abbrevlist>
The <abbrevlist>
element references a list of
abbreviations.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<abbrevlist>
element, a processor could generate a list of
abbreviations used in the book.
Specialization hierarchy
The <abbrevlist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/abbrevlist
The <abbrevlist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how to reference a list of abbreviations as part of a publication's back matter:
<backmatter>
<booklists>
<abbrevlist href="abbrev.dita"/>
<indexlist/>
</booklists>
</backmatter>
<amendments>
The <amendments>
element either
references a list of amendments or changes to the book, or it indicates
to a processor that a list of changes should be generated at this
location in the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<amendments>
element, a processor could generate a list of
amendments or updates made to the book.
Specialization hierarchy
The <amendments>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/amendments
The <amendments>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample specifies that a change history list is generated in the
publication front matter. The content of the change history list is contained in the DITA
resource referenced by @href
.
<frontmatter>
<booklists>
<amendments href="change-history.dita"/>
</booklists>
</frontmatter>
<appendices>
The <appendices>
element is an optional
container for <appendix>
elements.
Specialization hierarchy
The <appendices>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?,
<appendix>
*
Contained by
- Optional
<topicmeta>
- Zero or more
<appendix>
Contained by
Inheritance
- map/topicref bookmap/appendices
The <appendices>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <appendices>
element
functions as a container to hold several appendix topics for an HTML publication:
<bookmap>
<booktitle>
<mainbooktitle>About operating the widget</mainbooktitle>
</booktitle>
<frontmatter>
<!-- TOC, preface, and other front matter -->
</frontmatter>
<part href="introduction.dita">
<!-- Part with introductory material about the widget -->
</part>
<part href="using.dita">
<!-- Part about using the widget -->
</part>
<part href="troubleshooting.dita">
<!-- Troubleshooting information -->
</part>
<appendices toc="yes">
<topicmeta>
<navtitle>Appendices</navtitle>
</topicmeta>
<appendix href="return-codes.dita"/>
<appendix href="messages.dita"/>
<appendix href="extra-info.dita"/>
</appendices>
<backmatter>
<booklists><indexlist/></booklists>
</backmatter>
</bookmap>
<appendix>
An <appendix>
element references a
topic or map as an appendix within a book.
Specialization hierarchy
The <appendix>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/appendix
The <appendix>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
<appendix>
elements are used to create two appendices for a
publication:
<bookmap>
<booktitle>
<mainbooktitle>Developers guide to the widget</mainbooktitle>
</booktitle>
<frontmatter>
<!-- TOC, preface, and other front matter -->
</frontmatter>
<chapter href="introduction.dita">
<!-- Introductory material about the widget -->
</chapter>
<chapter href="extending.dita">
<!-- How to extend the widget widget -->
</chapter>
<appendix href="intro.dita">
<topicref href="caring.dita"/>
<topicref href="feeding.dita"/>
</appendix>
<appendix href="setup.dita">
<topicref href="prereq.dita"/>
<topicref href="download.dita"/>
</appendix>
</bookmap>
<backmatter>
The <backmatter>
element is a container for material that follows
the main body of a document and any appendices. Back matter might include items such as a
colophon, legal notices, and book lists such as a glossary or an index.
Specialization hierarchy
The <backmatter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
(
<amendments>
|
<booklists>
|
<colophon>
|
<dedication>
|
<notices>
|
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
-
<amendments>
-
<booklists>
-
<colophon>
-
<dedication>
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<notices>
-
<topicgroup>
-
<topichead>
-
<topicref>
Contained by
Inheritance
- map/topicref bookmap/backmatter
The <backmatter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, universal
attributes,
@format
, @keyref
, @scope
, and @type
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<bibliolist>
The <bibliolist>
element references a topic that contains a list
of bibliographic entries for the publication.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<bibliolist>
element, a processor could generate a list of
bibliographic entries used in the book.
Specialization hierarchy
The <bibliolist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/bibliolist
The <bibliolist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a <bibliolist>
element is used
to add a bibliography topic to the publication's back matter:
<bookmap>
<!-- ... -->
<backmatter>
<amendments href="updatesToTheBook.dita"/>
<booklists>
<trademarklist href="listoftrademarks.dita"/>
<bibliolist href="bibliography.dita"/>
<indexlist/>
</booklists>
</backmatter>
</bookmap>
<bookabstract>
The <bookabstract>
element references a
topic that includes a brief summary of the book content.
Specialization hierarchy
The <bookabstract>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/bookabstract
The <bookabstract>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a <bookabstract>
element can be added to the front matter to provide a book summary:
<bookmap xml:lang="en-us">
<booktitle>
<booklibrary>Book library</booklibrary>
<mainbooktitle>Book title</mainbooktitle>
</booktitle>
<!-- ... Book metadata here ... -->
<frontmatter>
<booklists>
<toc/>
<figurelist/>
<tablelist/>
</booklists>
<bookabstract href="book-summary.dita"/>
<preface href="preface.dita"></preface>
</frontmatter>
<!-- ... Book content followed by back matter ... -->
</bookmap>
<booklibrary>
The <booklibrary>
element contains information about the
library, series, or collection of documents to which a book belongs.
Specialization hierarchy
The <booklibrary>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<ph>
|
<strong>
|
<em>
|
<b>
|
<i>
|
<line-through>
|
<overline>
|
<sup>
|
<sub>
|
<tt>
|
<u>
|
<hwcontrol>
|
<partno>
|
<codeph>
|
<filepath>
|
<msgph>
|
<systemoutput>
|
<userinput>
|
<synph>
|
<menucascade>
|
<uicontrol>
|
<q>
|
<term>
|
<abbreviated-form>
|
<text>
|
<tm>
|
<cite>
|
<image>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<b>
-
<cite>
-
<cmdname>
-
<codeph>
-
<em>
-
<filepath>
-
<hwcontrol>
-
<i>
-
<image>
-
<keyword>
-
<line-through>
-
<markupname>
-
<menucascade>
-
<msgnum>
-
<msgph>
-
<numcharref>
-
<option>
-
<overline>
-
<parameterentity>
-
<parmname>
-
<partno>
-
<ph>
-
<q>
-
<strong>
-
<sub>
-
<sup>
-
<synph>
-
<systemoutput>
-
<term>
-
<text>
-
<textentity>
-
<tm>
-
<tt>
-
<u>
-
<uicontrol>
-
<userinput>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/ph bookmap/booklibrary
The <booklibrary>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how to use <booklibrary>
to
include this book as part of a larger library:
<bookmap>
<booktitle>
<booklibrary>Construction Equipment</booklibrary>
<mainbooktitle>Bulldozer Service Manual</mainbooktitle>
<booktitlealt>Models 1234-5678</booktitlealt>
</booktitle>
<!-- ... metadata, front matter, and book content ... -->
</bookmap>
<booklist>
The <booklist>
element either references a
topic that contains a list of items in the book, or it indicates to a processor that a
list of items should be generated at this location in the book. This is a general
purpose element designed for use in specializations.
Usage information
The <booklist>
element is a general purpose
element that references a topic or map containing a list of items within the book.
For example, it could be used to reference a topic that contains a list of authors
for the book. When a more specific element is already available, such as
<tablelist>
for a list of tables, use that element
instead. If the element does not reference a topic or map, a processor might be able
to generate a list of items based on an @outputclass
or based on
specialization ancestry.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. Because
<booklist>
is a general purpose element, the type of list
would need to be specified for the processor; for example, it could be provided
using @outputclass
or by further specializing the element.
Specialization hierarchy
The <booklist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/booklist
The <booklist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how to use <booklist>
to reference a topic
that contains a list of authors of topics in this document:
<booklists>
<toc/>
<tablelist/>
<booklist href="authors.dita"/>
</booklists>
<booklists>
The <booklists>
element is a container for lists of various
kinds within the book.
Processing expectations
The <booklists>
element indicates to processors that lists are
to be rendered or generated at that location in the front or back matter.
Specialization hierarchy
The <booklists>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
(
<abbrevlist>
|
<amendments>
|
<bibliolist>
|
<booklist>
|
<figurelist>
|
<glossarylist>
|
<indexlist>
|
<tablelist>
|
<trademarklist>
|
<toc>
)*
Contained by
Contained by
Inheritance
- map/topicref bookmap/booklists
The <booklists>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: common map attributes, universal
attributes, @format
, @keyref
, @scope
, and @type
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample indicates that lists are generated in the front and back matter of the publication.
<bookmap>
<booktitle>
<mainbooktitle>Sample publication</mainbooktitle>
</booktitle>
<frontmatter>
<booklists>
<toc>
<figurelist/>
<tablelist/>
<amendments/>
</booklists>
</frontmatter>
...
<backmatter>
<booklists>
<abbrevlist/>
<glossarylist/>
<indexlist/>
</booklists>
</backmatter>
</bookmap>
<bookmap>
The <bookmap>
element is a map specialization that is used to
assemble DITA topics as a traditional book.
Usage information
Book maps consist of references to topics organized as book content. The topic references therefore are labeled according to the book components they point to, such as book title, front matter, chapter, and appendix.
Specialization hierarchy
The <bookmap>
element is specialized from
<map>
. It is defined in the bookmap module.
Content model
(
<title>
|
<booktitle>
)?,
<bookmeta>
?,
<ditavalref>
*,
<mapresources>
*,
<frontmatter>
?,
<chapter>
*,
<part>
*, (
<appendices>
? |
<appendix>
*),
<backmatter>
?,
<reltable>
*
Not contained by any element.
- Optionally one of the following
-
<booktitle>
-
<title>
-
- Optional
<bookmeta>
- Zero or more
<ditavalref>
- Zero or more
<mapresources>
- Optional
<frontmatter>
- Zero or more
<chapter>
- Zero or more
<part>
- One of the following
- Optional
<appendices>
- Zero or more
<appendix>
- Optional
- Optional
<backmatter>
- Zero or more
<reltable>
Not contained by any element.
Inheritance
- map/map bookmap/bookmap
The <bookmap>
element is specialized from
<map>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: architectural
attributes, common map attributes, universal
attributes, @format
, @scope
, and @type
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a <bookmap>
can be used to
organize content into a common book structure:
<bookmap xml:lang="en-us">
<booktitle>
<booklibrary>Book library</booklibrary>
<mainbooktitle>Book title</mainbooktitle>
</booktitle>
<bookmeta>
<bookrights>
<copyrfirst><year>2019</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
</bookrights>
</bookmeta>
<frontmatter>
<booklists>
<toc/>
<figurelist/>
<tablelist/>
</booklists>
<bookabstract href="MyBookAbstract.dita"/>
<preface href="preface.dita"></preface>
</frontmatter>
<chapter href="chapter1.dita">
<topicref href="subchap1.dita"></topicref>
</chapter>
<chapter href="chapter2.dita">
<topicref href="subchap2.dita"></topicref>
</chapter>
<appendix href="app1.dita">
<topicref href="insideApp1.dita"></topicref>
</appendix>
<appendix href="app2.dita">
<topicref href="insideApp2.dita"></topicref>
</appendix>
<backmatter>
<amendments href="RevisionHistoryTable.dita"/>
<booklists>
<glossarylist href="listofterms.dita"/>
<trademarklist href="listoftrademarks.dita"/>
<indexlist/>
</booklists>
</backmatter>
</bookmap>
<booktitle>
The <booktitle>
element contains the title information for a
book, including the library title, main title, and any other alternative
titles.
Specialization hierarchy
The <booktitle>
element is specialized from
<title>
. It is defined in the bookmap module.
Content model
<booklibrary>
?,
<mainbooktitle>
,
<booktitlealt>
*
Contained by
- Optional
<booklibrary>
-
<mainbooktitle>
- Zero or more
<booktitlealt>
Contained by
Inheritance
- topic/title bookmap/booktitle
The <booktitle>
element is specialized from
<title>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: ID
and conref attributes,
localization
attributes, @base
, @class
, @outputclass
, and @rev
.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @base
- Specifies metadata about the element. It is often used as a
base for specialized attributes that have a simple syntax for
values, but which are not conditional processing
attributes.
The
@base
attribute takes a space-delimited set of values. However, when serving as a container for generalized attributes, the attribute values will be more complex. See Attribute generalization for more details. @class
(not for use by authors)- This attribute is not for use by authors. If an editor displays
@class
attribute values, do not edit them. Specifies a default value that defines the specialization ancestry of the element. Its predefined values allow DITA tools to work correctly with specialized elements. In a generalized DITA document the@class
attribute value in the generalized instance might differ from the default value for the@class
attribute for the element as given in the DTD or schema. See The class attribute rules and syntax for more information. This attribute is specified on every element except for the<dita>
container element. It is always specified with a default value, which varies for each element. @conaction
- Specifies how the element content will be pushed into a new
location. The following values are valid:
- mark
- The element acts as a marker when pushing content
before or after the target, to help ensure that the push
action is valid. The element with
conaction="mark"
also specifies the target of the push action with@conref
. Content inside of the element withconaction="mark"
is not pushed to the new location. - pushafter
- Content from this element is pushed after the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushafter"
is the first sibling element after the element withconaction="mark"
. - pushbefore
- Content from this element is pushed before the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushbefore"
is the first sibling element before the element withconaction="mark"
. - pushreplace
- Content from this element replaces any content from the
element referenced by the
@conref
attribute. A second element withconaction="mark"
is not used when usingconaction="pushreplace"
. - -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See STUB CONTENT for examples and details about the syntax.
@conkeyref
- Specifies a key name or a key name with an element ID that acts as an indirect reference to reusable content. The referenced content is used in place of the content of the current element. See STUB CONTENT for more details about the syntax and behaviors.
@conref
- Specifies a URI that references a DITA element. The referenced content is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax.
@conrefend
- Specifies a URI that references the last element in a
sequence of elements, with the first element of the sequence
specified by
@conref
. The referenced sequence of elements is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax. @dir
-
Identifies or overrides the text directionality. The following values are valid:
- lro
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into left-to-right mode.
- ltr
- Indicates left-to-right.
- rlo
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into right-to-left mode.
- rtl
- Indicates right-to-left.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See The dir attribute for more information.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- Specifies an identifier for the current
element. This ID is the target for references by
@href
and@conref
attributes and for external applications that refer to DITA or LwDITA content. This attribute is defined with the XML data type NMTOKEN, except where noted for specific elements within the language reference.See id attribute for more details.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @outputclass
- Specifies a role that the element is playing. The role must be consistent with the
basic semantic and expectations for the element. In particular, the
@outputclass
attribute can be used for styling during output processing; HTML output will typically preserve@outputclass
for CSS processing. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rev
- Specifies a revision level of an element that identifies when the element was added or modified. It can be used to flag outputs when it matches a run-time parameter. It cannot be used for filtering nor is it sufficient to be used for version control. If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@translate
- Specifies whether the content of the element should be
translated. The following values are valid:
yes, no, and
-dita-use-conref-target.
See Element-by-element recommendations for translators for suggested processing defaults for each element.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@xml:lang
- Specifies the language and optional locale
of the content that is contained in an element. Valid values
are language tokens or the null string. The
@xml:lang
attribute and its values are described in the Extensible Markup Language 1.0 specification, fifth edition.
<booktitlealt>
The <booktitlealt>
element contains an alternative title,
subtitle, or short title for a book.
Specialization hierarchy
The <booktitlealt>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<ph>
|
<strong>
|
<em>
|
<b>
|
<i>
|
<line-through>
|
<overline>
|
<sup>
|
<sub>
|
<tt>
|
<u>
|
<hwcontrol>
|
<partno>
|
<codeph>
|
<filepath>
|
<msgph>
|
<systemoutput>
|
<userinput>
|
<synph>
|
<menucascade>
|
<uicontrol>
|
<q>
|
<term>
|
<abbreviated-form>
|
<text>
|
<tm>
|
<cite>
|
<image>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<b>
-
<cite>
-
<cmdname>
-
<codeph>
-
<em>
-
<filepath>
-
<hwcontrol>
-
<i>
-
<image>
-
<keyword>
-
<line-through>
-
<markupname>
-
<menucascade>
-
<msgnum>
-
<msgph>
-
<numcharref>
-
<option>
-
<overline>
-
<parameterentity>
-
<parmname>
-
<partno>
-
<ph>
-
<q>
-
<strong>
-
<sub>
-
<sup>
-
<synph>
-
<systemoutput>
-
<term>
-
<text>
-
<textentity>
-
<tm>
-
<tt>
-
<u>
-
<uicontrol>
-
<userinput>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/ph bookmap/booktitlealt
The <booktitlealt>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows a <booktitlealt>
element is used to
provide a subtitle for the main book title:
<bookmap>
<booktitle>
<mainbooktitle>Product Z Installation, Operation, and Maintenance Manual</mainbooktitle>
<booktitlealt>Getting to know Product Z</booktitlealt>
</booktitle>
<!-- ... -->
</bookmap>
<chapter>
The <chapter>
element references a topic or map as a chapter
within a book.
Specialization hierarchy
The <chapter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/chapter
The <chapter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
<chapter>
elements are used to create two chapters within a
publication:<bookmap>
<booktitle>
<mainbooktitle>A book about one thing</mainbooktitle>
</booktitle>
<!-- ... metadata and front matter ... -->
<chapter href="introduction.dita">
<topicref href="getting-the-one-thing.dita"/>
<topicref href="preparing-to-use-the-thing.dita"/>
</chapter>
<chapter href="setup.dita">
<topicref href="before-you-use-the-thing.dita"/>
<topicref href="steps-to-start-using-the-thing.dita"/>
</chapter>
<!-- ... more chapters and back matter ... -->
</bookmap>
<colophon>
The <colophon>
element references a
topic that describes how the document was created.
Specialization hierarchy
The <colophon>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/colophon
The <colophon>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <colophon>
element is used
to add details about the book's production into the back matter:
<bookmap>
<title>Sample book</title>
<!-- ... -->
<backmatter>
<!-- ... other back matter ... -->
<colophon href="ProductionNotes.dita" />
</backmatter>
</bookmap>
<dedication>
The <dedication>
element references a
topic that contains a dedication for the book, such as to a person or
group.
Specialization hierarchy
The <dedication>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/dedication
The <dedication>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a <dedication>
element is used
to supply content for the dedication within the book's frontmatter.
<frontmatter>
<dedication href="dedication-to-mother.dita"/>
<!-- ... -->
</frontmatter>
<draftintro>
The <draftintro>
element references a topic used as an
introduction to the current draft of a book.
Specialization hierarchy
The <draftintro>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/draftintro
The <draftintro>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample uses <draftintro>
to provide an
introductory draft section within the frontmatter of the book.
<frontmatter>
<draftintro href="introducing-this-draft.dita"/>
<!-- ... -->
</frontmatter>
<figurelist>
The <figurelist>
element either
references a topic that contains a list of figures in the book, or it
indicates to a processor that a list of figures should be generated at
this location in the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<figurelist>
element, a processor typically generates a list of
figures used in the book.
Specialization hierarchy
The <figurelist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/figurelist
The <figurelist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<frontmatter>
The <frontmatter>
element is a container for the material that
precedes the main body of a document. Front matter might include items such
as an abstract, a preface, and book lists such as a figure list or table of
contents.
Specialization hierarchy
The <frontmatter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
(
<bookabstract>
|
<booklists>
|
<colophon>
|
<dedication>
|
<draftintro>
|
<notices>
|
<preface>
|
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
-
<bookabstract>
-
<booklists>
-
<colophon>
-
<dedication>
-
<ditavalref>
-
<draftintro>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<notices>
-
<preface>
-
<topicgroup>
-
<topichead>
-
<topicref>
Contained by
Inheritance
- map/topicref bookmap/frontmatter
The <frontmatter>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, universal
attributes,
@format
, @keyref
, @scope
, and @type
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<glossarylist>
The <glossarylist>
element either references a topic or map that contains a list of glossary entries in the book, or it
indicates to a processor that a list of glossary entries should be generated at this location in
the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<glossarylist>
element, a processor could generate a list of
glossary entries used in the book.
Specialization hierarchy
The <glossarylist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/glossarylist
The <glossarylist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<indexlist>
The <indexlist>
element either
references a topic that contains an index for the book, or it indicates
to a processor that an index should be generated at this location in
the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<indexlist>
element, a processor typically generates an index based
on index terms used in the book.
Specialization hierarchy
The <indexlist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/indexlist
The <indexlist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<mainbooktitle>
The <mainbooktitle>
element contains the primary title for a
book.
Specialization hierarchy
The <mainbooktitle>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<ph>
|
<strong>
|
<em>
|
<b>
|
<i>
|
<line-through>
|
<overline>
|
<sup>
|
<sub>
|
<tt>
|
<u>
|
<hwcontrol>
|
<partno>
|
<codeph>
|
<filepath>
|
<msgph>
|
<systemoutput>
|
<userinput>
|
<synph>
|
<menucascade>
|
<uicontrol>
|
<q>
|
<term>
|
<abbreviated-form>
|
<text>
|
<tm>
|
<cite>
|
<image>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<b>
-
<cite>
-
<cmdname>
-
<codeph>
-
<em>
-
<filepath>
-
<hwcontrol>
-
<i>
-
<image>
-
<keyword>
-
<line-through>
-
<markupname>
-
<menucascade>
-
<msgnum>
-
<msgph>
-
<numcharref>
-
<option>
-
<overline>
-
<parameterentity>
-
<parmname>
-
<partno>
-
<ph>
-
<q>
-
<strong>
-
<sub>
-
<sup>
-
<synph>
-
<systemoutput>
-
<term>
-
<text>
-
<textentity>
-
<tm>
-
<tt>
-
<u>
-
<uicontrol>
-
<userinput>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/ph bookmap/mainbooktitle
The <mainbooktitle>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how to use <mainbooktitle>
to
provide the main title of the book:
<bookmap>
<booktitle>
<booklibrary>Construction Equipment</booklibrary>
<mainbooktitle>Bulldozer Service Manual</mainbooktitle>
<booktitlealt>Models 1234-5678</booktitlealt>
</booktitle>
<!-- ... metadata, front matter, and book content ... -->
</bookmap>
<notices>
The <notices>
element references a
topic that contains special notice information, such as legal notices
about supplementary copyrights and trademarks associated with the
book.
Specialization hierarchy
The <notices>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/notices
The <notices>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how to use a
<notices>
element to reference legal content:
<backmatter>
<notices href="legal-notices.dita"/>
<!-- ... Other back matter ... -->
</backmatter>
<part>
The <part>
element references a topic or a map that acts as a
part within a book.
Usage information
Use <part>
to divide a document's chapters into logical groupings.
For example, in a document that contains both guide and reference information, you can
define two parts, one containing the guide information and the other containing the
reference information.
Specialization hierarchy
The <part>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<chapter>
|
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<chapter>
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/part
The <part>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
<part>
elements are used to
group chapters in order to divide a book into two major sections for task and reference
material:<bookmap>
<title>Using and maintaining Product Zed</title>
<!-- ... metadata and front matter ... ->
<part href="taskguide.dita">
<chapter href="intro.dita">
<topicref href="caring.dita"/>
<topicref href="feeding.dita"/>
</chapter>
<chapter href="setup.dita">
<topicref href="prereq.dita"/>
<topicref href="download.dita"/>
</chapter>
</part>
<part href="reference.dita">
<chapter href="commands.dita">
<topicref href="care.dita"/>
<topicref href="feed.dita"/>
</chapter>
<chapter href="apis.dita">
<topicref href="acare.dita"/>
<topicref href="afeed.dita"/>
</chapter>
</part>
</bookmap>
<preface>
The <preface>
element references a
topic or map that contains introductory information about a book, such
as the purpose and structure of the document.
Specialization hierarchy
The <preface>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?, (
<topicref>
|
<keydef>
|
<mapref>
|
<mapresources>
|
<topicgroup>
|
<topichead>
|
<ditavalref>
)*
Contained by
- Optional
<topicmeta>
- Zero or more of the following
-
<ditavalref>
-
<keydef>
-
<mapref>
-
<mapresources>
-
<topicgroup>
-
<topichead>
-
<topicref>
-
Contained by
Inheritance
- map/topicref bookmap/preface
The <preface>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<tablelist>
The <tablelist>
element either
references a topic that contains a list of tables in the book, or it
indicates to a processor that a list of tables should be generated at
this location in the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<tablelist>
element, a processor typically generates a list of
tables used in the book.
When the @href
attribute is not specified, a processor might generate a
list of tables at the specified location in the map.
Specialization hierarchy
The <tablelist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/tablelist
The <tablelist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<toc>
The <toc>
element either references a
topic that contains a table of contents for the book, or it indicates
to a processor that a table of contents should be generated at this
location in the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<toc>
element, a processor typically generates a table of contents
based on topics used in the book.
Specialization hierarchy
The <toc>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/toc
The <toc>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<trademarklist>
The <trademarklist>
element either
references a topic that contains a list of trademarks in the book, or
it indicates to a processor that a list of trademarks should be
generated at this location in the book.
Processing expectations
When a list element in the bookmap module uses
@href
or @keyref
to reference a topic or map, the
referenced content provides the list content. When the list element does not reference a
topic or map, a processor might generate a an appropriate list at the specified location
in the map. For the
<trademarklist>
element, a processor could generate a list of
trademarks used in the book.
Specialization hierarchy
The <trademarklist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Content model
<topicmeta>
?
Contained by
Optional
<topicmeta>
Contained by
Inheritance
- map/topicref bookmap/trademarklist
The <trademarklist>
element is specialized from
<topicref>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element:
common map attributes, link-relationship attributes, universal
attributes,
and @keyref
.
For this element, the @href
or @keyref
attribute references a manual
listing for the current element. If the element does not
reference a topic or map, processors can choose to generate
an appropriate listing for this element.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @cascade
(common map attributes)-
Specifies how metadata attributes cascade within a map. The specification defines the following values:
- merge
- Indicates
that the metadata attributes cascade, and that the
values of the metadata attributes are additive. This is the
processing default for the
@cascade
attribute. - nomerge
- Indicates
that the metadata attributes cascade, but that they are
not additive for
<topicref>
elements that specify a different value for a specific metadata attribute. If the cascading value for an attribute is already merged based on multiple ancestor elements, that merged value continues to cascade until a new value is encountered. That is, settingcascade="nomerge"
does not undo merging that took place on ancestor elements.
Processors can also define custom, implementation-specific tokens for this attribute.
See Cascading of metadata attributes in a DITA map for more information about how this attribute interacts with metadata attributes.
@chunk
(common map attributes)- Specifies how a processor should render a map or branch of a
map. For example, it can be used to
specify that individual topic documents should be rendered as
a single document, or that a single document with multiple
topics should be rendered as multiple documents.The following values are valid:
- combine
- Instructs a processor to combine the referenced source documents for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document.
- split
- Instructs a processor to split each topic from the referenced source document into its own document for rendering purposes. This is intended for cases where a publishing process normally results in a single output artifact for each source XML document, regardless of how many DITA topics exist within each source document.
Processors can also define custom, implementation-specific tokens for this attribute.
For a detailed description of the
@chunk
attribute and its usage, see Chunking. @collection-type
(common map attributes)- Specifies how topics or links relate to each other. The
processing default is unordered, although no
default is specified in the OASIS-provided grammar files. The
following values are valid:
- unordered
- Indicates that the order of the child topics is not significant.
- sequence
- Indicates that the order of the child topics is significant. Output processors will typically link between them in order.
- choice
- Indicates that one of the children should be selected.
- family
- Indicates a tight grouping in which each of the referenced topics not only relates to the current topic but also relate to each other.
@format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@keyscope
(common map attributes)- Specifies that the element marks the boundaries of a key
scope.
See STUB CONTENT for information on using this attribute.
@linking
(common map attributes)- Specifies linking characteristics of a topic specific to the
location of this reference in a map. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map).
The
following values are valid:
- targetonly
- A topic can only be linked to and cannot link to other topics.
- sourceonly
- A topic cannot be linked to but can link to other topics.
- normal
- A topic can be linked to and can link to other topics. Use this to override the linking value of a parent topic.
- none
- A topic cannot be linked to or link to other topics.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@processing-role
(common map attributes)- Specifies whether the referenced
resource is processed normally or treated as a resource that is
only included in order to resolve references, such as key or
content references. The following values are valid:
- normal
- Indicates that the resource is a readable part of the
information set. It is included in navigation and search
results. This is the default value for the
<topicref>
element. - resource-only
- Indicates that the resource should be used only for
processing purposes. It is not included in navigation or
search results, nor is it rendered as a topic. This is
the default value for the
<keydef>
element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@search
(common map attributes)- Specifies whether the target is available for searching. If the value is not specified locally, the value might cascade from another element in the map (for cascade rules, see Cascading of metadata attributes in a DITA map). The following values are valid: yes, no, and -dita-use-conref-target.
@subjectrefs
(common map attributes)- Specifies one or more keys that are each defined by a subject definition in a subject scheme map. Multiple values are separated by white space.
@toc
(common map attributes)- Specifies whether a topic appears in the table of contents
(TOC) based on the current map context. If the value is not specified
locally, the value might cascade from another element in the map
(for cascade rules, see Cascading of metadata attributes in a DITA map). The following
values are valid:
- yes
- The topic appears in a generated TOC.
- no
- The topic does not appear in a generated TOC.
- -dita-use-conref-target
- See STUB CONTENT for more information.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Book map metadata elements
The book map specialization supports standard book production. This section contains the metadata elements used by bookmap to store book-related metadata.
<approved>
The <approved>
element contains detailed information about a
book approval, such as the revision that was approved, who approved the book, and when the
approval occurred.
Usage information
Information within <approval>
can apply to different aspects
of the map, such as approval of the overall content or of a specific deliverable
created from the map.
Specialization hierarchy
The <approved>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<organization>
|
<person>
)*,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/approved
The <approved>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <approved>
element can
be used to specify who approved the book and when it was
approved:
<bookmeta>
<bookchangehistory>
<reviewed>
<revisionid>2</revisionid>
<started><year>2019</year><month>10</month></started>
<completed><year>2020</year><month>01</month></completed>
</reviewed>
<approved>
<organization>OASIS</organization>
<completed><year>2020</year><month>05</month></completed>
</approved>
</bookchangehistory>
</bookmeta>
<bookchangehistory>
The <bookchangehistory>
element contains publishing life-cycle information about the book.
Specialization hierarchy
The <bookchangehistory>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
<reviewed>
*,
<edited>
*,
<tested>
*,
<approved>
*,
<bookevent>
*
Contained by
- Zero or more
<reviewed>
- Zero or more
<edited>
- Zero or more
<tested>
- Zero or more
<approved>
- Zero or more
<bookevent>
Contained by
Inheritance
- topic/data bookmap/bookchangehistory
The <bookchangehistory>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookchangehistory>
element
can be used to specify details about when the content was reviewed,
edited, tested, approved, and indexed:
<bookmeta>
<bookchangehistory>
<reviewed>
<revisionid>2</revisionid>
<started><year>2019</year><month>10</month></started>
<completed><year>2020</year><month>01</month></completed>
</reviewed>
<edited>
<revisionid>1</revisionid>
<person>Joe T. Editor</person>
<completed><year>2019</year><month>03</month><day>15</day></completed>
<summary>Corrected grammatical errors.</summary>
</edited>
<edited>
<revisionid>3</revisionid>
<person>Joe T. Editor</person>
<completed><year>2022</year><month>06</month><day>30</day></completed>
</edited>
<tested>
<organization>OASIS</organization>
<completed><year>2023</year><month>04</month></completed>
</tested>
<approved>
<organization>OASIS</organization>
<completed><year>2023</year><month>08</month></completed>
</approved>
<bookevent>
<bookeventtype name="indexed"/>
<completed><year>2023</year><month>01</month></completed>
</bookevent>
</bookchangehistory>
</bookmeta>
<bookevent>
The <bookevent>
element contains detailed information about a
custom book event, such as the type of event, which book revision was part of the event, who
was responsible for the event, and when the event occurred.
Usage information
This element is appropriate for specialization if the existing
<reviewed>
, <edited>
, or
<approved>
event type elements do not meet the needs of the organization.
Specialization hierarchy
The <bookevent>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
<bookeventtype>
?, (
<organization>
|
<person>
)*,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Optional
<bookeventtype>
- Zero or more of the following
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/bookevent
The <bookevent>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookevent>
element can be used to
specify that the book was indexed and when indexing was
completed:
<bookmeta>
<bookchangehistory>
<bookevent>
<bookeventtype name="indexed"/>
<completed><month>09</month><year>2022</year></completed>
</bookevent>
</bookchangehistory>
</bookmeta>
<bookeventtype>
The <bookeventtype>
element indicates a custom publication
event, for example, updated, indexed, or deprecated.
Usage information
The @value
attribute is used to indicate the event
type.
Specialization hierarchy
The <bookeventtype>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
EMPTY
Contained by
Empty
Contained by
Inheritance
- topic/data bookmap/bookeventtype
The <bookeventtype>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
For this element, the
@value
attribute specifies the type of book event.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookeventtype>
element
can be used to specify a custom publication event:
<bookmeta>
<bookchangehistory>
<bookevent>
<bookeventtype name="indexed"/>
<completed><month>09</month><year>2022</year></completed>
</bookevent>
</bookchangehistory>
</bookmeta>
<bookid>
The <bookid>
element contains publishing information used to
identify the book, such as part number, edition number, or ISBN number.
Specialization hierarchy
The <bookid>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
<bookpartno>
*,
<edition>
?,
<isbn>
*,
<booknumber>
*,
<volume>
*,
<maintainer>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more
<bookpartno>
- Optional
<edition>
- Zero or more
<isbn>
- Zero or more
<booknumber>
- Zero or more
<volume>
- Optional
<maintainer>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/bookid
The <bookid>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookid>
element can
be used to define detailed information that identifies the book:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
</bookmeta>
<bookmeta>
The <bookmeta>
element contains metadata about the book, such as
information related to publishing, copyright details, and book identification.
Specialization hierarchy
The <bookmeta>
element is specialized from
<topicmeta>
. It is defined in the bookmap module.
Content model
(
<titlealt>
|
<navtitle>
|
<searchtitle>
|
<linktitle>
|
<subtitle>
|
<titlehint>
)*,
<shortdesc>
?,
<author>
*,
<source>
?,
<publisherinformation>
*,
<critdates>
?,
<permissions>
?, (
<metadata>
|
<change-historylist>
)*,
<audience>
*,
<category>
*,
<keywords>
*,
<prodinfo>
*,
<othermeta>
*,
<resourceid>
*,
<ux-window>
*,
<bookid>
?,
<bookchangehistory>
*,
<bookrights>
*, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
-
<linktitle>
-
<navtitle>
-
<searchtitle>
-
<subtitle>
-
<titlealt>
-
<titlehint>
-
- Optional
<shortdesc>
- Zero or more
<author>
- Optional
<source>
- Zero or more
<publisherinformation>
- Optional
<critdates>
- Optional
<permissions>
- Zero or more of the following
-
<change-historylist>
-
<metadata>
-
- Zero or more
<audience>
- Zero or more
<category>
- Zero or more
<keywords>
- Zero or more
<prodinfo>
- Zero or more
<othermeta>
- Zero or more
<resourceid>
- Zero or more
<ux-window>
- Optional
<bookid>
- Zero or more
<bookchangehistory>
- Zero or more
<bookrights>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- map/topicmeta bookmap/bookmeta
The <bookmeta>
element is specialized from
<topicmeta>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookmeta>
element can be
used to specify publishing details, book identification details, and copyright details.
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>2</revisionid>
<started><month>01</month><year>2020</year></started>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
<bookchangehistory>
<reviewed>
<person>Jack</person>
<revisionid>1</revisionid>
<completed><day>31</day><month>07</month><year>2022</year></completed>
</reviewed>
<edited>
<organization>XYZ Editing</organization>
<completed><day>18</day><month>01</month><year>2023</year></completed>
</edited>
<approved>
<organization>OASIS</organization>
</approved>
<bookevent>
<bookeventtype name="indexed"/>
<completed><month>09</month><year>2022</year></completed>
</bookevent>
</bookchangehistory>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner><organization>OASIS</organization></bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
</bookmeta>
<booknumber>
The <booknumber>
element contains the number used to identify a
book that is part of a collection of works that belong to the same author.
Specialization hierarchy
The <booknumber>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/data bookmap/booknumber
The <booknumber>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <booknumber>
element can be
used to identify this book among the author's works:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
</bookmeta>
<bookowner>
The <bookowner>
element specifies the person
(<person>
) or business unit (<organization>
)
that owns the copyrights to the book.
Specialization hierarchy
The <bookowner>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<organization>
|
<person>
)*
Contained by
Contained by
Inheritance
- topic/data bookmap/bookowner
The <bookowner>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookowner>
element can be
used to specify the business unit that owns the copyrights to the book:
<bookmeta>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
</bookmeta>
<bookpartno>
The <bookpartno>
element contains the part number of the book,
such as 99F1234.
Usage information
A publisher may use the <bookpartno>
element to identify a book for
tracking purposes.
Specialization hierarchy
The <bookpartno>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/data bookmap/bookpartno
The <bookpartno>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookpartno>
element can be
used to identify the part number of the book:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
</bookid>
</bookmeta>
<bookrestriction>
The <bookrestriction>
element specifies whether the book is
classified or restricted in some way.
Usage information
The @value
attribute is required to specify whether there is a restriction
on the book.
Specialization hierarchy
The <bookrestriction>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
EMPTY
Contained by
Empty
Contained by
Inheritance
- topic/data bookmap/bookrestriction
The <bookrestriction>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
For this element, the @value
attribute specifies any
restrictions on the use of the material, such as declaring the information confidential or
for licensed use only.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookrestriction>
element
can be used to specify the book restriction:
<bookrights>
<copyrfirst><year>2016</year></copyrfirst>
<copyrlast><year>2020</year></copyrlast>
<bookowner><organization>Example Corporation</organization></bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
<bookrights>
The <bookrights>
element contains information about the legal
rights associated with the book, including copyright dates and owners.
Specialization hierarchy
The <bookrights>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
<copyrfirst>
?,
<copyrlast>
?,
<bookowner>
,
<bookrestriction>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Optional
<copyrfirst>
- Optional
<copyrlast>
-
<bookowner>
- Optional
<bookrestriction>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/bookrights
The <bookrights>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <bookrights>
element can be
used to specify copyright information, who owns the book, and whether there are restrictions
in place:
<bookmeta>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
</bookmeta>
<completed>
The <completed>
element indicates when a book event
ended.
Specialization hierarchy
The <completed>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
((
<year>
,
<month>
<day>
??) | (
<month>
,
<day>
?,
<year>
) | (
<day>
,
<month>
,
<year>
))
Contained by
<approved>
,
<bookevent>
,
<edited>
,
<published>
,
<reviewed>
,
<tested>
Contained by
Inheritance
- topic/ph bookmap/completed
The <completed>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <completed>
element can be
used to specify when publishing and editing ended:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>2</revisionid>
<started><month>11</month><year>2022</year></started>
<completed>
<month>02</month><year>2023</year>
</completed>
</published>
</publisherinformation>
<bookchangehistory>
<edited>
<organization>XYZ Editing</organization>
<started><month>08</month><year>2022</year></started>
<completed>
<month>10</month><year>2022</year>
</completed>
</edited>
</bookmeta>
<copyrfirst>
The <copyrfirst>
element contains the copyright year, or the
first copyright year within a multi-year copyright statement.
Specialization hierarchy
The <copyrfirst>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
Contained by
Contained by
Inheritance
- topic/data bookmap/copyrfirst
The <copyrfirst>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <copyrfirst>
element can be
used to specify the first copyright year:
<bookmeta>
<bookrights>
<copyrfirst>
<year>2020</year>
</copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
</bookmeta>
<copyrlast>
The <copyrlast>
element contains the last copyright year within
a multi-year copyright statement.
Specialization hierarchy
The <copyrlast>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
Contained by
Contained by
Inheritance
- topic/data bookmap/copyrlast
The <copyrlast>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <copyrlast>
element can be
used to specify the last copyright year:
<bookmeta>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast>
<year>2023</year>
</copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
<bookrestriction value="unclassified"/>
</bookrights>
</bookmeta>
<day>
The <day>
element denotes a day of the month.
Specialization hierarchy
The <day>
element is specialized from <ph>
.
It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
Contained by
Inheritance
- topic/ph bookmap/day
The <day>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<edited>
The <edited>
element contains detailed information about a book
edit, such as the revision that was edited, who completed the edit, and when the edit
occurred.
Specialization hierarchy
The <edited>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<organization>
|
<person>
)*,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/edited
The <edited>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <edited>
element can be used
to show which revisions of the book were edited, who completed the edits, and when the edits
occurred:
<bookmeta>
<bookchangehistory>
<reviewed>
<revisionid>2</revisionid>
<started><year>2019</year><month>10</month></started>
<completed><year>2020</year><month>01</month></completed>
</reviewed>
<edited>
<revisionid>1</revisionid>
<person>Joe T. Editor</person>
<completed><year>2020</year><month>03</month><day>15</day></completed>
</edited>
<edited>
<revisionid>2</revisionid>
<person>Joe T. Editor</person>
<completed><year>2023</year><month>06</month><day>30</day></completed>
</edited>
</bookchangehistory>
</bookmeta>
<edition>
The <edition>
element contains information used by a publisher
to identify the edition of the book, such as First or Third edition.
Specialization hierarchy
The <edition>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
Contained by
Inheritance
- topic/data bookmap/edition
The <edition>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following example shows how the <edition>
element can be used to
specify the edition of the book:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
</bookmeta>
<isbn>
The <isbn>
element contains the International Standard Book
Number (ISBN) for the book.
Specialization hierarchy
The <isbn>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
Contained by
Inheritance
- topic/data bookmap/isbn
The <isbn>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following example shows how the <isbn>
element can be used to
show to specify the ISBN for the book:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
</bookmeta>
<maintainer>
The <maintainer>
element contains the name of the person (
<person>
) or business unit (<organization>
) that
maintains the book.
Specialization hierarchy
The <maintainer>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<person>
|
<organization>
)*, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/maintainer
The <maintainer>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following example shows how the <maintainer>
element can be used
identify the person that maintains the book:
<bookmeta>
<bookid>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
</bookmeta>
<month>
The <month>
element denotes a month of the year.
Specialization hierarchy
The <month>
element is specialized from <ph>
.
It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
Contained by
Inheritance
- topic/ph bookmap/month
The <month>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<organization>
The <organization>
element contains the name of a business
unit.
Specialization hierarchy
The <organization>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
<approved>
,
<bookevent>
,
<bookowner>
,
<edited>
,
<maintainer>
,
<published>
,
<publisherinformation>
,
<reviewed>
,
<tested>
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/data bookmap/organization
The <organization>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <organization>
element can
be used to specify the business units responsible for publishing, editing, and approving the
book as well as the business unit that owns the copyrights to the book:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
</publisherinformation>
<bookid>
<isbn>123-0-456-12345-1</isbn>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
<bookchangehistory>
<reviewed>
<person>Jack</person>
<completed><month>July</month><year>2022</year></completed>
</reviewed>
<edited>
<organization>XYZ Editing</organization>
<completed><month>January</month><year>2023</year></completed>
</edited>
<approved>
<organization>OASIS</organization>
</approved>
</bookchangehistory>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner>
<organization>OASIS</organization>
</bookowner>
</bookrights>
</bookmeta>
<person>
The <person>
element contains name of a person.
Specialization hierarchy
The <person>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
<approved>
,
<bookevent>
,
<bookowner>
,
<edited>
,
<maintainer>
,
<published>
,
<publisherinformation>
,
<reviewed>
,
<tested>
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/data bookmap/person
The <person>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <person>
element can be used
to specify who maintains the book and who reviewed the book:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
</publisherinformation>
<bookid>
<isbn>123-0-456-12345-1</isbn>
<maintainer>
<person>John Smith</person>
</maintainer>
</bookid>
<bookchangehistory>
<reviewed>
<person>Jack</person>
<completed><month>July</month><year>2022</year></completed>
</reviewed>
<edited>
<organization>XYZ Editing</organization>
<completed><month>January</month><year>2023</year></completed>
</edited>
<approved>
<organization>OASIS</organization>
</approved>
</bookchangehistory>
<bookrights>
<copyrfirst><year>2020</year></copyrfirst>
<copyrlast><year>2023</year></copyrlast>
<bookowner><organization>OASIS</organization></bookowner>
</bookrights>
</bookmeta>
<printlocation>
The <printlocation>
element indicates where the book was
printed.
Usage information
Typically the print location includes only the country in which the book was printed.
Specialization hierarchy
The <printlocation>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/data bookmap/printlocation
The <printlocation>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <printlocation>
element can
be used to indicate where the book is printed:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<completed><year>2023</year></completed>
</published>
</publisherinformation>
</bookmeta>
<published>
The <published>
element contains information about the
publication, such as the published revision, the publication type, and when the book was
published.
Specialization hierarchy
The <published>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<person>
|
<organization>
)*,
<publishtype>
?,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Optional
<publishtype>
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/published
The <published>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <published>
element can be
used to specify the publication type, the published revision, and when the book was
published:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>2</revisionid>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
</bookmeta>
<publisherinformation>
The <publisherinformation>
element contains information about
who published the book, where it was printed, the publication type, which revision was
published, and when it was published.
Usage information
Additional information about the publication history is found in the
<bookchangehistory>
element.
Specialization hierarchy
The <publisherinformation>
element is specialized from
<publisher>
. It is defined in the bookmap module.
Content model
(
<person>
|
<organization>
)*,
<printlocation>
*,
<published>
*, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Zero or more
<printlocation>
- Zero or more
<published>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/publisher bookmap/publisherinformation
The <publisherinformation>
element is specialized from
<publisher>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <publisherinformation>
element can be used to identity who published the book, where the book was printed, the
published revision, the publication dates, and the publication type:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>1</revisionid>
<started><month>01</month><year>2020</year></started>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
</bookmeta>
<publishtype>
The <publishtype>
element indicates whether there are any
restrictions on the availability of the book.
Usage information
The @value
attribute is required to specify the type of availability, for
example, beta release, limited availability, or general availability.
Specialization hierarchy
The <publishtype>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
EMPTY
Contained by
Empty
Contained by
Inheritance
- topic/data bookmap/publishtype
The <publishtype>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
For this element, the @value
attribute specifies any
restrictions on the availability of the publication.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <publishtype>
element can be
used to specify any restrictions on the availability of the book. In this example, there are
no restrictions.
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>1</revisionid>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
</bookmeta>
<reviewed>
The <reviewed>
element contains detailed information about a
book review, such as the revision that was reviewed, who reviewed the book, and when the review
occurred.
Specialization hierarchy
The <reviewed>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<organization>
|
<person>
)*,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/reviewed
The <reviewed>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <reviewed>
element can be
used to show which revision of the book was reviewed and when it was reviewed:
<bookmeta>
<bookchangehistory>
<reviewed>
<revisionid>2</revisionid>
<started><year>2019</year><month>10</month></started>
<completed><year>2020</year><month>01</month></completed>
</reviewed>
<approved>
<organization>OASIS</organization>
<completed><year>2020</year><month>05</month></completed>
</approved>
</bookchangehistory>
</bookmeta>
<revisionid>
The <revisionid>
element specifies the revision of the
book.
Processing expectations
A processor determines how or whether the revision level is displayed. Common methods include using a dash, for example "-01", or a period, such as ".01".
Specialization hierarchy
The <revisionid>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
)*
Contained by
<approved>
,
<bookevent>
,
<edited>
,
<published>
,
<reviewed>
,
<tested>
Contained by
Inheritance
- topic/ph bookmap/revisionid
The <revisionid>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <revisionid>
element can be
used to specify the book revision that was published and the revisions that were edited:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<revisionid>2</revisionid>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
<bookchangehistory>
<edited>
<revisionid>1</revisionid>
<person>Joe T. Editor</person>
<completed><year>2020</year><month>03</month><day>15</day></completed>
</edited>
<edited>
<revisionid>2</revisionid>
<person>Joe T. Editor</person>
<completed><year>2023</year><month>06</month><day>30</day></completed>
</edited>
</bookchangehistory>
</bookmeta>
<started>
The <started>
element indicates when a book event
began.
Specialization hierarchy
The <started>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
((
<year>
,
<month>
<day>
??) | (
<month>
,
<day>
?,
<year>
) | (
<day>
,
<month>
,
<year>
))
Contained by
<approved>
,
<bookevent>
,
<edited>
,
<published>
,
<reviewed>
,
<tested>
Contained by
Inheritance
- topic/ph bookmap/started
The <started>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <started>
element can be
used to specify when publishing and editing began:
<bookmeta>
<publisherinformation>
<organization>NY Publishing</organization>
<printlocation>United States of America</printlocation>
<published>
<publishtype value="general"/>
<revisionid>2</revisionid>
<started>
<month>11</month><year>2022</year>
</started>
<completed><month>02</month><year>2023</year></completed>
</published>
</publisherinformation>
<bookchangehistory>
<edited>
<organization>XYZ Editing</organization>
<started>
<month>08</month><year>2022</year>
</started>
<completed><month>10</month><year>2022</year></completed>
</edited>
</bookchangehistory>
</bookmeta>
<summary>
The <summary>
element contains a brief summary related to a book
event or to the copyrights of the book.
Specialization hierarchy
The <summary>
element is specialized from
<ph>
. It is defined in the bookmap module.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
Contained by
<approved>
,
<bookevent>
,
<bookrights>
,
<edited>
,
<published>
,
<reviewed>
,
<tested>
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
Contained by
Inheritance
- topic/ph bookmap/summary
The <summary>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <summary>
element can be
used to provide a brief summary of the edits that were completed on two different revisions
of the book:
<bookmeta>
<bookchangehistory>
<edited>
<person>Joe T. Editor</person>
<revisionid>1</revisionid>
<completed><year>2020</year><month>03</month><day>15</day></completed>
<summary>Added several new topics</summary>
</edited>
<edited>
<person>Joe T. Editor</person>
<revisionid>2</revisionid>
<completed><year>2020</year><month>10</month><day>13</day></completed>
<summary>Fixed a few typos</summary>
</edited>
</bookchangehistory>
</bookmeta>
<tested>
The <tested>
element contains detailed information about book
testing, such as the revision that was tested, who tested the book, and when testing
occurred.
Specialization hierarchy
The <tested>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(
<organization>
|
<person>
)*,
<revisionid>
?,
<started>
?,
<completed>
?,
<summary>
?, (
<data>
|
<sort-as>
)*
Contained by
- Zero or more of the following
- Optional
<revisionid>
- Optional
<started>
- Optional
<completed>
- Optional
<summary>
- Zero or more of the following
-
<data>
-
<sort-as>
-
Contained by
Inheritance
- topic/data bookmap/tested
The <tested>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <tested>
element can be used
to indicate who completed testing and when testing occurred:
<bookmeta>
<bookchangehistory>
<reviewed>
<revisionid>2</revisionid>
<started><year>2019</year><month>10</month></started>
<completed><year>2020</year><month>01</month></completed>
</reviewed>
<tested>
<organization>OASIS</organization>
<completed><year>2020</year><month>04</month></completed>
</tested>
<approved>
<organization>OASIS</organization>
<completed><year>2020</year><month>05</month></completed>
</approved>
</bookchangehistory>
</bookmeta>
<volume>
The <volume>
element contains the volume number of the
book.
Specialization hierarchy
The <volume>
element is specialized from
<data>
. It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
Contained by
Inheritance
- topic/data bookmap/volume
The <volume>
element is specialized from
<data>
. It is defined in the bookmap module.
Attributes
The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @datatype
(data-element attributes)- Specifies the type of data contained in the
@value
attribute or within the<data>
element. A typical use of@datatype
will be the identifying URI for an XML Schema datatype. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name
(data-element attributes)- Defines a unique name for the object.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@value
(data-element attributes)- Specifies a value associated with the current property or element.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following example shows how the <volume>
element can be used to
indicate the volume number of the book:
<bookmeta>
<bookid>
<bookpartno>99F1234</bookpartno>
<edition>Second</edition>
<isbn>123-0-456-12345-1</isbn>
<booknumber>SC21-1234-00</booknumber>
<volume>2</volume>
</bookid>
</bookmeta>
<year>
The <year>
element denotes a year.
Specialization hierarchy
The <year>
element is specialized from <ph>
.
It is defined in the bookmap module.
Content model
(Text |
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<text>
)*
Contained by
<completed>
,
<copyrfirst>
,
<copyrlast>
,
<started>
Contained by
Inheritance
- topic/ph bookmap/year
The <year>
element is specialized from
<ph>
. It is defined in the bookmap module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Concept elements
Concept elements provide the fundamental structure for concept topics. Concept topics are useful for introducing the background or overview information for task or reference topics.
<concept>
The <concept>
element is
the top-level element for a topic that answers the question what is?
Usage information
Concepts provide background information that users must know before they can successfully work with a product or interface. Often, a concept is an extended definition of a major abstraction such as a process or function. It might also contain an example, image, or diagram.
Specialization hierarchy
The <concept>
element is specialized from
<topic>
. It is defined in the concept module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows a concept topic:
<concept id="concept">
<title>DITA concept topic</title>
<shortdesc>The concept topic answers the question <q>what is?</q></shortdesc>
<conbody>
<p>Concept topics provide background information that users must know
before they can successfully work with a product or interface. Often,
a concept is an extended definition of a major abstraction such as a
process or function. It might also have an example or a graphic.</p>
</conbody>
</concept>
<conbody>
The <conbody>
element contains the main
content of a concept topic.
Usage information
The <conbody>
element allows paragraphs,
lists, and other elements as well as sections and examples.
However, <conbody>
element has a restriction
that a <section>
or an
<example>
can be followed only by other
sections, examples, or <conbodydiv>
elements
that group sections and examples.
Specialization hierarchy
The <conbody>
element is specialized from
<body>
. It is defined in the concept module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<conbodydiv>
The <conbodydiv>
element provides an
container for content that might be grouped within a concept topic.
Usage information
There are no additional semantics attached to the
<conbodydiv>
element. It is purely a
grouping element that is provided to help
organize content for reuse.
The content model of the
<conbodydiv>
element only permits
<section>
and
<example>
.
Specialization hierarchy
The <conbodydiv>
element is specialized from
<bodydiv>
. It is defined in the concept module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a
<conbodydiv>
element can be used to group
content for reuse:
<conbody>
<conbodydiv id="concept-purpose-content-model">
<section id="purpose">
<title>Purpose</title>
<p>Concept topics serve a variety of purposes:</p>
<!-- ... -->
</section>
<section id="content-model">
<title>Content model</title>
<p>The body of a concept topic can contain the following document
structures:</p>
<!-- ... -->
</section>
</conbodydiv>
</conbody>
Glossary entry elements
The glossary entry specialization contains markup that supports the development and delivery of glossaries. It also can be used in conjunction with the abbreviated-form domain to provide a solution for rendering different forms of a term on first and later usage in a publication.
<glossAcronym>
The <glossAcronym>
element defines an acronym for the term that is specified in the <glossterm>
element.
Usage information
This element can be used with the <abbreviated-form>
element to
display an expanded version of an acronym the first time that acronym appears in a set of
text. See <abbreviated-form>
for information on how the two elements
interact.
Specialization hierarchy
The <glossAcronym>
element is specialized from
<title>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: ID
and conref attributes,
localization
attributes, @base
, @class
, @outputclass
, and @rev
.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @base
- Specifies metadata about the element. It is often used as a
base for specialized attributes that have a simple syntax for
values, but which are not conditional processing
attributes.
The
@base
attribute takes a space-delimited set of values. However, when serving as a container for generalized attributes, the attribute values will be more complex. See Attribute generalization for more details. @class
(not for use by authors)- This attribute is not for use by authors. If an editor displays
@class
attribute values, do not edit them. Specifies a default value that defines the specialization ancestry of the element. Its predefined values allow DITA tools to work correctly with specialized elements. In a generalized DITA document the@class
attribute value in the generalized instance might differ from the default value for the@class
attribute for the element as given in the DTD or schema. See The class attribute rules and syntax for more information. This attribute is specified on every element except for the<dita>
container element. It is always specified with a default value, which varies for each element. @conaction
- Specifies how the element content will be pushed into a new
location. The following values are valid:
- mark
- The element acts as a marker when pushing content
before or after the target, to help ensure that the push
action is valid. The element with
conaction="mark"
also specifies the target of the push action with@conref
. Content inside of the element withconaction="mark"
is not pushed to the new location. - pushafter
- Content from this element is pushed after the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushafter"
is the first sibling element after the element withconaction="mark"
. - pushbefore
- Content from this element is pushed before the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushbefore"
is the first sibling element before the element withconaction="mark"
. - pushreplace
- Content from this element replaces any content from the
element referenced by the
@conref
attribute. A second element withconaction="mark"
is not used when usingconaction="pushreplace"
. - -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See STUB CONTENT for examples and details about the syntax.
@conkeyref
- Specifies a key name or a key name with an element ID that acts as an indirect reference to reusable content. The referenced content is used in place of the content of the current element. See STUB CONTENT for more details about the syntax and behaviors.
@conref
- Specifies a URI that references a DITA element. The referenced content is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax.
@conrefend
- Specifies a URI that references the last element in a
sequence of elements, with the first element of the sequence
specified by
@conref
. The referenced sequence of elements is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax. @dir
-
Identifies or overrides the text directionality. The following values are valid:
- lro
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into left-to-right mode.
- ltr
- Indicates left-to-right.
- rlo
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into right-to-left mode.
- rtl
- Indicates right-to-left.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See The dir attribute for more information.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- Specifies an identifier for the current
element. This ID is the target for references by
@href
and@conref
attributes and for external applications that refer to DITA or LwDITA content. This attribute is defined with the XML data type NMTOKEN, except where noted for specific elements within the language reference.See id attribute for more details.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @outputclass
- Specifies a role that the element is playing. The role must be consistent with the
basic semantic and expectations for the element. In particular, the
@outputclass
attribute can be used for styling during output processing; HTML output will typically preserve@outputclass
for CSS processing. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rev
- Specifies a revision level of an element that identifies when the element was added or modified. It can be used to flag outputs when it matches a run-time parameter. It cannot be used for filtering nor is it sufficient to be used for version control. If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@translate
- Specifies whether the content of the element should be
translated. The following values are valid:
yes, no, and
-dita-use-conref-target.
See Element-by-element recommendations for translators for suggested processing defaults for each element.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@xml:lang
- Specifies the language and optional locale
of the content that is contained in an element. Valid values
are language tokens or the null string. The
@xml:lang
attribute and its values are described in the Extensible Markup Language 1.0 specification, fifth edition.
Example
This section is non-normative.
The following code sample shows how the
<glossAcronym>
element can be used:
<glossentry id="united-nations">
<glossterm>United Nations</glossterm>
<glossdef>The United Nations, referred to informally as the UN, is an
intergovernmental organization whose stated purposes are to maintain
international peace and security, develop friendly relations among
nations, achieve international cooperation, and serve as a center for
harmonizing the actions of nations.</glossdef>
<glossBody>
<glossSurfaceForm>United Nations (UN)</glossSurfaceForm>
<glossAlt>
<glossAcronym>UN</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
<glossAlt>
The <glossAlt>
element contains information about a variant for
the term that is specified in the
<glossterm>
element. A variant might include an acronym or a synonym.
Usage information
The variant should have the same meaning as the term in the
<glossterm>
element; the variant is simply another way to refer to
the same term. There might be many ways to refer to a term; each variant is placed in its
own <glossAlt>
element. The <glossUsage>
element can be used within <glossAlt>
to indicate when use of the
alternate term is appropriate.
Specialization hierarchy
The <glossAlt>
element is specialized from
<section>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a glossary entry topic might provide alternative forms of the term.
<glossentry id="usa">
<glossterm>United States of America</glossterm>
<glossdef>A federal republic in the northern Western Hemisphere comprising 48 contiguous
states, the District of Columbia, Alaska in North America, and Hawaii in the North
Pacific, and in some contexts considered along with its five inhabited island
territories (Puerto Rico, U.S. Virgin Islands, Guam, North Mariana Islands, American
Samoa).</glossdef>
<glossBody>
<glossAlt>
<glossAcronym>US</glossSynonym>
<glossUsage>Used as an adjective.</glossUsage>
</glossAlt>
<glossAlt>
<glossAcronym>USA</glossSynonym>
<glossUsage>Used as a noun.</glossUsage>
</glossAlt>
<glossAlt>
<glossSynonym>America</glossSynonym>
<glossUsage>Do not use; the American continents include other countries.</glossUsage>
</glossAlt>
</glossBody>
</glossentry>
<glossBody>
The <glossBody>
element contains information about the term that is specified in the <glossterm>
element,
such as a acronym, synonyms, or usage notes.
Specialization hierarchy
The <glossBody>
element is specialized from
<conbody>
; it is defined in the glossary entry module. The
<conbody>
element is specialized from
<body>
; it is defined in the concept module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <glossBody>
element contains a synonym for the term:
<glossentry id="sport-drink">
<glossterm>Sport drink</glossterm>
<glossdef>A soft drink designed or marketed for consumption in
conjunction with sporting activity or strenuous exercise, and which
typically contains electrolytes such as sodium, potassium, and
chloride, and a high percentage of sugar to restore energy.</glossdef>
<glossBody>
<glossAlt>
<glossSynonym>energy drink</glossSynonym>
</glossAlt>
</glossBody>
</glossentry>
<glossdef>
The <glossdef>
element defines the meaning of the term that is specified in the <glossterm>
element.
Usage information
If a term has multiple meanings, create a separate
<glossentry>
topic for each.
Specialization hierarchy
The <glossdef>
element is specialized from
<abstract>
. It is defined in the glossary entry
module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows the
<glossdef>
element can be used to define
the meaning of the term "raster pattern":
<glossentry id="rasterpattern">
<glossterm>raster pattern</glossterm>
<glossdef>A series of picture elements (pels) arranged in scan lines to form
an image.</glossdef>
</glossentry>
<glossentry>
The <glossentry>
element is the top-level element for a topic
that defines a glossary term.
Rendering expectations
Because the glossary entry specialization is designed for multiple purposes, it contains elements that typically are not intended to be rendered when a glossary is generated. In addition, when a collection of glossary entry topics is rendered as authoring guidance, generated text might be required for ease of reading. Specialized style sheets and processing are needed to ensure useful output.
Processing expectations
Processing expectations for glossary entry topics are highly implementation-specific and will depend on the output format.
For HTML-based output formats, one possible implementation of glossary
entry topics is to generate hyperlinks for <term>
elements that are
associated by key reference with the glossary entry topic. The term definition might be
displayed when someone hovers over or clicks on the hyperlink.
For PDF output, one possible implementation of glossary entry topics is
to render acronyms or expanded acronyms for <abbreviated-form>
elements that are associated by key reference with the glossary entry topics. The surface
form is rendered on first usage, and the acronym is rendered on second or later usage.
Specialization hierarchy
The <glossentry>
element is specialized from
<concept>
; it is defined in the glossary entry module. The
<concept>
element is specialized from
<topic>
; it is defined in the concept module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code samples shows how a glossary entry topic provides information about a term that aids in terminology management:
<glossentry id="usbfd">
<glossterm>USB flash drive</glossterm>
<glossdef>A small portable drive.</glossdef>
<glossBody>
<glossUsage>Do not use this term in upper case (for example, in "USB Flash Drive")
because that suggests a trademark.</glossUsage>
<glossAlt>
<glossAcronym>UFD</glossAcronym>
</glossAlt>
<glossAlt id="memoryStick">
<glossSynonym>memory stick</glossSynonym>
<glossUsage>This is a colloquial term.</glossUsage>
</glossAlt>
</glossBody>
</glossentry>
<glossSurfaceForm>
The <glossSurfaceForm>
element specifies how the term that is specified by the <glossterm>
element
should appear in the text. The surface form is suitable to introduce the term in new contexts or
as the first
occurrence.
Usage information
The <glossSurfaceForm>
element is most often used for terms that
also specify the <glossAcronym>
element. In that context, the
<glossSurfaceForm>
element contains the term in a manner that
introduces both the term and the acronym, so that later references to the term can be
replaced with the acronym alone.
See the <abbreviated-form>
element for a
full description of how the surface form is used together with
acronyms.
Specialization hierarchy
The <glossSurfaceForm>
element is specialized from
<p>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following glossary entry topic defines the term "Anti-lock Braking System". Within the
topic, the <glossSurfaceForm>
element provides a version of the term
that combines both the primary term and the acronym. The content of the
<glossSurfaceForm>
might be rendered in introductory contexts when
the glossary entry topic is referenced from an <abbreviated-form>
element.
<glossentry id="abs">
<glossterm>Anti-lock Braking System</glossterm>
<glossBody>
<glossSurfaceForm>Anti-lock Braking System (ABS)</glossSurfaceForm>
<glossAlt>
<glossAcronym>ABS</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
<glossSymbol>
The <glossSymbol>
element identifies an
image that is associated with the subject of the term that
is specified by <glossterm>
element.
Specialization hierarchy
The <glossSymbol>
element is specialized from
<image>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: universal
attributes, @format
, @href
, @keyref
, @scope
, and the attributes
defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @format
(link-relationship attributes)- Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@href
(link-relationship attributes)- Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <glossSymbol>
can be used to
associate a regional classification icon with the Atlantic puffin:
<glossentry id="atlanticpuffin">
<glossterm>Atlantic Puffin</glossterm>
<glossdef>A sea bird that lives in the Atlantic
<image href="puffinicon.jpg">
<alt>Image of an atlantic puffin</alt>
</image>
</glossdef>
<glossBody>
<glossSymbol href="atlantic.jpg" scope="local">
<alt>Icon denoting the Atlantic region</alt>
</glossSymbol>
</glossBody>
</glossentry>
<glossSynonym>
The <glossSynonym>
element provides a term that is a synonym of
the term that is specified by the
<glossterm>
element.
Usage information
The <glossSynonym>
element should not be used to specify an acronym;
use the <glossAcronym>
element for that purpose.
Specialization hierarchy
The <glossSynonym>
element is specialized from
<title>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: ID
and conref attributes,
localization
attributes, @base
, @class
, @outputclass
, and @rev
.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @base
- Specifies metadata about the element. It is often used as a
base for specialized attributes that have a simple syntax for
values, but which are not conditional processing
attributes.
The
@base
attribute takes a space-delimited set of values. However, when serving as a container for generalized attributes, the attribute values will be more complex. See Attribute generalization for more details. @class
(not for use by authors)- This attribute is not for use by authors. If an editor displays
@class
attribute values, do not edit them. Specifies a default value that defines the specialization ancestry of the element. Its predefined values allow DITA tools to work correctly with specialized elements. In a generalized DITA document the@class
attribute value in the generalized instance might differ from the default value for the@class
attribute for the element as given in the DTD or schema. See The class attribute rules and syntax for more information. This attribute is specified on every element except for the<dita>
container element. It is always specified with a default value, which varies for each element. @conaction
- Specifies how the element content will be pushed into a new
location. The following values are valid:
- mark
- The element acts as a marker when pushing content
before or after the target, to help ensure that the push
action is valid. The element with
conaction="mark"
also specifies the target of the push action with@conref
. Content inside of the element withconaction="mark"
is not pushed to the new location. - pushafter
- Content from this element is pushed after the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushafter"
is the first sibling element after the element withconaction="mark"
. - pushbefore
- Content from this element is pushed before the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushbefore"
is the first sibling element before the element withconaction="mark"
. - pushreplace
- Content from this element replaces any content from the
element referenced by the
@conref
attribute. A second element withconaction="mark"
is not used when usingconaction="pushreplace"
. - -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See STUB CONTENT for examples and details about the syntax.
@conkeyref
- Specifies a key name or a key name with an element ID that acts as an indirect reference to reusable content. The referenced content is used in place of the content of the current element. See STUB CONTENT for more details about the syntax and behaviors.
@conref
- Specifies a URI that references a DITA element. The referenced content is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax.
@conrefend
- Specifies a URI that references the last element in a
sequence of elements, with the first element of the sequence
specified by
@conref
. The referenced sequence of elements is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax. @dir
-
Identifies or overrides the text directionality. The following values are valid:
- lro
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into left-to-right mode.
- ltr
- Indicates left-to-right.
- rlo
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into right-to-left mode.
- rtl
- Indicates right-to-left.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See The dir attribute for more information.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- Specifies an identifier for the current
element. This ID is the target for references by
@href
and@conref
attributes and for external applications that refer to DITA or LwDITA content. This attribute is defined with the XML data type NMTOKEN, except where noted for specific elements within the language reference.See id attribute for more details.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @outputclass
- Specifies a role that the element is playing. The role must be consistent with the
basic semantic and expectations for the element. In particular, the
@outputclass
attribute can be used for styling during output processing; HTML output will typically preserve@outputclass
for CSS processing. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rev
- Specifies a revision level of an element that identifies when the element was added or modified. It can be used to flag outputs when it matches a run-time parameter. It cannot be used for filtering nor is it sufficient to be used for version control. If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@translate
- Specifies whether the content of the element should be
translated. The following values are valid:
yes, no, and
-dita-use-conref-target.
See Element-by-element recommendations for translators for suggested processing defaults for each element.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@xml:lang
- Specifies the language and optional locale
of the content that is contained in an element. Valid values
are language tokens or the null string. The
@xml:lang
attribute and its values are described in the Extensible Markup Language 1.0 specification, fifth edition.
Example
This section is non-normative.
The following code sample shows how the
<glossSynonym>
element can be used to identify a synonym for the
word automobile. In this case the synonym is enclosed in a term with
@keyref
, allowing a tool to optionally link to the other definition:
<glossentry id="automobile">
<glossterm>Automobile</glossterm>
<glossdef>A road vehicle, typically with four wheels, powered by an
internal combustion engine or an electric motor.</glossdef>
<glossBody>
<glossAlt>
<glossSynonym><term keyref="gloss.car">car</term></glossSynonym>
</glossAlt>
</glossBody>
</glossentry>
<glossterm>
The <glossterm>
element specifies the term that is defined by the glossary entry topic.
Specialization hierarchy
The <glossterm>
element is specialized from
<title>
. It is defined in the glossary entry
module.
Attributes
The following attributes are available on this element: ID
and conref attributes,
localization
attributes, @base
, @class
, @outputclass
, and @rev
.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @base
- Specifies metadata about the element. It is often used as a
base for specialized attributes that have a simple syntax for
values, but which are not conditional processing
attributes.
The
@base
attribute takes a space-delimited set of values. However, when serving as a container for generalized attributes, the attribute values will be more complex. See Attribute generalization for more details. @class
(not for use by authors)- This attribute is not for use by authors. If an editor displays
@class
attribute values, do not edit them. Specifies a default value that defines the specialization ancestry of the element. Its predefined values allow DITA tools to work correctly with specialized elements. In a generalized DITA document the@class
attribute value in the generalized instance might differ from the default value for the@class
attribute for the element as given in the DTD or schema. See The class attribute rules and syntax for more information. This attribute is specified on every element except for the<dita>
container element. It is always specified with a default value, which varies for each element. @conaction
- Specifies how the element content will be pushed into a new
location. The following values are valid:
- mark
- The element acts as a marker when pushing content
before or after the target, to help ensure that the push
action is valid. The element with
conaction="mark"
also specifies the target of the push action with@conref
. Content inside of the element withconaction="mark"
is not pushed to the new location. - pushafter
- Content from this element is pushed after the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushafter"
is the first sibling element after the element withconaction="mark"
. - pushbefore
- Content from this element is pushed before the location
specified by
@conref
on the element withconaction="mark"
. The element withconaction="pushbefore"
is the first sibling element before the element withconaction="mark"
. - pushreplace
- Content from this element replaces any content from the
element referenced by the
@conref
attribute. A second element withconaction="mark"
is not used when usingconaction="pushreplace"
. - -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See STUB CONTENT for examples and details about the syntax.
@conkeyref
- Specifies a key name or a key name with an element ID that acts as an indirect reference to reusable content. The referenced content is used in place of the content of the current element. See STUB CONTENT for more details about the syntax and behaviors.
@conref
- Specifies a URI that references a DITA element. The referenced content is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax.
@conrefend
- Specifies a URI that references the last element in a
sequence of elements, with the first element of the sequence
specified by
@conref
. The referenced sequence of elements is used in place of the content of the current element. See STUB CONTENT for examples and details about the syntax. @dir
-
Identifies or overrides the text directionality. The following values are valid:
- lro
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into left-to-right mode.
- ltr
- Indicates left-to-right.
- rlo
- Indicates an override of the Unicode Bidirectional Algorithm, forcing the element into right-to-left mode.
- rtl
- Indicates right-to-left.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
See The dir attribute for more information.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- Specifies an identifier for the current
element. This ID is the target for references by
@href
and@conref
attributes and for external applications that refer to DITA or LwDITA content. This attribute is defined with the XML data type NMTOKEN, except where noted for specific elements within the language reference.See id attribute for more details.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @outputclass
- Specifies a role that the element is playing. The role must be consistent with the
basic semantic and expectations for the element. In particular, the
@outputclass
attribute can be used for styling during output processing; HTML output will typically preserve@outputclass
for CSS processing. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rev
- Specifies a revision level of an element that identifies when the element was added or modified. It can be used to flag outputs when it matches a run-time parameter. It cannot be used for filtering nor is it sufficient to be used for version control. If no value is specified but the attribute is specified on a containing element within a map or within the related-links section, the value cascades from the closest containing element.
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@translate
- Specifies whether the content of the element should be
translated. The following values are valid:
yes, no, and
-dita-use-conref-target.
See Element-by-element recommendations for translators for suggested processing defaults for each element.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@xml:lang
- Specifies the language and optional locale
of the content that is contained in an element. Valid values
are language tokens or the null string. The
@xml:lang
attribute and its values are described in the Extensible Markup Language 1.0 specification, fifth edition.
Example
This section is non-normative.
The following code sample shows how the <glossterm>
element
specifies the term that is defined in the
<glossentry>
topic:
<glossentry id="css">
<glossterm>cascading style sheets</glossterm>
<glossdef>Cascading Style Sheets is a style sheet language that is used
for rendering the presentation of a document written in a markup
language such as HTML or XML</glossdef>
<glossBody>
<glossSurfaceForm>cascading style sheets (CSS)</glossSurfaceForm>
<glossAlt>
<glossAcronym>CSS</glossAcronym>
</glossAlt>
<glossAlt>
<glossSynonym>web style sheets</glossSynonym>
</glossAlt>
</glossBody>
</glossentry>
<glossUsage>
The <glossUsage>
element provides information about how to use
the term that is specified in the
<glossterm>
element. It also can be used to provide usage information
for acronyms or synonyms.
Specialization hierarchy
The <glossUsage>
element is specialized from
<note>
. It is defined in the glossary entry module.
Attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the <glossUsage>
element is used
to provide additional information about possible variants for the term "soft drink:"
<glossentry id="softdrink">
<glossterm>soft drink</glossterm>
<glossdef>A nonalcoholic drink, especially one that is carbonated.</glossdef>
<glossBody>
<glossAlt>
<glossSynonym>pop</glossSynonym>
<glossUsage>Used primarily in the North and Midwest</glossUsage>
</glossAlt>
<glossAlt>
<glossSynonym>soda</glossSynonym>
<glossUsage>Used primarily in the West and Northeast</glossUsage>
</glossAlt>
<glossAlt>
<glossSynonym>Coke</glossSynonym>
<glossUsage>Used primarily in the South</glossUsage>
</glossAlt>
</glossBody>
</glossentry>
<glossgroup>
A glossary group topic organizes related glossary entry topics within a single topic document.
Usage information
Glossary groups are primarily a convenience for authoring when it is useful to author multiple glossary entry topics in a single document.
Specialization hierarchy
The <glossgroup>
element is specialized from
<concept>
; it is defined in the glossary group module. The
<concept>
element is specialized from
<topic>
; it is defined in the concept module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
<glossgroup id="things" xml:lang="en">
<title>Some terms</title>
<glossentry id="bicycle">
<glossterm>bicycle</glossterm>
<glossdef>Human powered mode of transport
with two wheels</glossdef>
</glossentry>
<glossentry id="fruitbat">
<glossterm>Fruit bat</glossterm>
<glossdef>A bat which likes fruit</glossdef>
</glossentry>
</glossgroup>
Reference elements
Reference elements provide the fundamental structure for reference topics. Reference topics include specialized sections for programming language syntax and property lists, as well as standard elements such as sections, tables, and examples.
<propdesc>
The <propdesc>
element contains content that describes the property type and its
values.
Specialization hierarchy
The <propdesc>
element is specialized from
<stentry>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: table accessibility attributes, universal attributes, and the attribute defined below.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<propdeschd>
The <propdeschd>
element provides a
label for the description column in a properties table.
Specialization hierarchy
The <propdeschd>
element is specialized from
<stentry>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<properties>
A properties table describes the properties of a thing, such as an object, part, or category. Each property can include the type, value, and a description.
Usage information
A properties table typically is represented as a simple table with a maximum of three columns. The first column is for the property type, the second column can contain a value or values for the property, and the third column can contain a description.
An optional header row can provide labels for the columns, if an author does not want to use the default labels that might be provided by stylesheets.
Rendering expectations
If a properties table does not contain a header row, processors typically auto-generate labels for the columns in the properties table. The text for the labels is specified in stylesheets.
Specialization hierarchy
The <properties>
element is specialized from
<simpletable>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes, display attributes, and simpletable attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @expanse
(display attributes)- Specifies the horizontal placement of the element. The
following values are valid:
- column
- Indicates that the element is aligned with the current column margin.
- page
- Indicates that the element is placed on the left page margin for left-to-right presentation or the right page margin for right-to-left presentation.
- spread
- Indicates that the object is rendered across a multi-page spread. If the output format does not have anything that corresponds to spreads, then spread has the same meaning as page.
- textline
- Indicates that the element is aligned with the left (for left-to-right presentation) or right (for right-to-left presentation) margin of the current text line and takes indentation into account.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
For
<table>
, in place of the@expanse
attribute that is used by other DITA elements, the@pgwide
attribute is used in order to conform to the OASIS Exchange Table Model.Some processors or output formats might not support all values.
@frame
(display attributes)- Specifies which portion of a border surrounds the element.
The following values are valid:
- all
- Indicates that a line is rendered at the top, bottom, left, and right of the containing element.
- bottom
- Indicates that a line is rendered at the bottom of the containing element.
- none
- Indicates that no lines are rendered.
- sides
- Indicates that a line is rendered at the left and right of the containing element.
- top
- Indicates that a line is rendered at the top of the containing element.
- topbot
- Indicates that a line is rendered at the top and bottom of the containing element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
Some processors or output formats might not support all values.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keycol
(simpletable attributes)- Specifies the column that contains the
content that represents the key to the tabular
structure. If
@keycol
is present and assigned a numerical value, the specified column is treated as a vertical header. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@relcolwidth
(simpletable attributes)- Specifies the width of each column in relationship to the
width of the other columns. The value is a space-separated list
of relative column widths. Each column width is specified as a
positive integer or decimal number followed by an asterisk
character.
For example, the value
relcolwidth="1* 2* 3*"
gives a total of 6 units across three columns. The relative widths are 1/6, 2/6, and 3/6 (16.7%, 33.3%, and 50%). Similarly, the valuerelcolwidth="90* 150*"
causes relative widths of 90/240 and 150/240 (37.5% and 62.5%). @rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Examples
This section is non-normative.
This section contains examples of how the
<properties>
element can be used.
The following code sample shows a
<properties>
element that describes
information about motor oil types:
<properties>
<prophead>
<proptypehd>Oil type</proptypehd>
<propvaluehd>Oil brand</propvaluehd>
<propdeschd>Appropriate use</propdeschd>
</prophead>
<property>
<proptype>Primary oil</proptype>
<propvalue>A1X</propvalue>
<propdesc>One-cylinder engines</propdesc>
</property>
<property>
<proptype>Secondary oil</proptype>
<propvalue>B2Z</propvalue>
<propdesc>Two-cylinder engines</propdesc>
</property>
</properties>
The properties table might be rendered as follows:

The following code sample shows a properties table with spanned cells:
<properties>
<prophead>
<proptypehd>Visual element</proptypehd>
<propvaluehd>Value</propvaluehd>
<propdeschd>What it does</propdeschd>
</prophead>
<property>
<proptype rowspan="3">Color</proptype>
<propvalue>Red</propvalue>
<propdesc>Indicates an error</propdesc>
</property>
<property>
<propvalue>Green</propvalue>
<propdesc>Indicates that conditions are good</propdesc>
</property>
<property>
<propvalue>Yellow</propvalue>
<propdesc>Indicates that a problem might exist</propdesc>
</property>
<property>
<proptype>Shape</proptype>
<propvalue>Circle, square, or triangle</propvalue>
<propdesc>Use to add contrast and depth</propdesc>
</property>
</properties>
The properties table might be rendered as follows:

<property>
The <property>
element represents a
single property in a properties table.
Specialization hierarchy
The <property>
element is specialized from
<strow>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<prophead>
The <prophead>
element contains elements
that provide labels for the columns in a properties table.
Rendering expectations
If a properties table does not contain a header row, processors typically auto-generate labels for the columns in the properties table. The text for the labels is specified in stylesheets.
Specialization hierarchy
The <prophead>
element is specialized from
<sthead>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<proptype>
The <proptype>
element contains content that describes the type of the
property.
Specialization hierarchy
The <proptype>
element is specialized from
<stentry>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: table accessibility attributes, universal attributes, and the attribute defined below.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<proptypehd>
The <proptypehd>
element provides a label
for the type column in a properties table.
Specialization hierarchy
The <proptypehd>
element is specialized from
<stentry>
. It is defined in the reference
module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<propvalue>
The <propvalue>
element contains content that indicates a value for the
property type.
Specialization hierarchy
The <propvalue>
element is specialized from
<stentry>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: table accessibility attributes, universal attributes, and the attribute defined below.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<propvaluehd>
The <propvaluehd>
element provides a
label for the value column in a properties table.
Specialization hierarchy
The <propvaluehd>
element is specialized from
<stentry>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<refbody>
The <refbody>
element contains the main
content of a reference topic.
Specialization hierarchy
The <refbody>
element is specialized from
<body>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<refbodydiv>
The <refbodydiv>
element provides a
container for contiguous content in a reference topic. There is no
additional semantic meaning.
Usage information
The <refbodydiv>
element is useful
primarily for reuse and as a specialization base.
Specialization hierarchy
The <refbodydiv>
element is specialized from
<bodydiv>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a
<refbodydiv>
element can be used to group
content for reuse
<reference id="sample-refbodydiv" xml:lang="en">
<title>Sample for refbody</title>
<shortdesc>This shows how refbodydiv might be used.</shortdesc>
<refbody>
<refbodydiv id="widget1">
<section>This is one part of the sample</section>
<refsyn>Syntax for this part</refsyn>
</refbodydiv>
<refbodydiv id="widget2">
<section>This is another part of the sample</section>
<refsyn>Syntax for this part</refsyn>
</refbodydiv>
</refbody>
</reference>
<reference>
The <reference>
element is the top-level
element for a reference topic. A reference
topic can include specialized sections for
programming syntax and property tables, as well
as standard sections, tables, and
examples.
Usage information
For information about the purpose and content model of a reference topic, see Reference.
Specialization hierarchy
The <reference>
element is specialized from
<topic>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a reference topic can be used:
<reference id="requiredTools">
<title>Tools required to maintain Acme machinery</title>
<refbody>
<section>
<title>Small tools</title>
<ul>
<li>Hard hat</li>
<li>Hammer</li>
<li>Nail</li>
<li>Metal polish</li>
<!-- .... -->
</ul>
</section>
<section>
<title>Expensive tools</title>
<!-- .... -->
</section>
</refbody>
</reference>
<refsyn>
The <refsyn>
element contains content that describes the syntax of a
command.
Specialization hierarchy
The <refsyn>
element is specialized from
<section>
. It is defined in the reference module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<refsyn>
element can be used to document
the syntax for the Windows mkdir command:
<refsyn>
<title>Syntax</title>
<codeblock>mkdir <varname>drive</varname> <varname>directory</varname></codeblock>
<parml>
<plentry>
<pt><varname>drive</varname></pt>
<pd>Specifies the drive on which the new directory is created. This is an optional
parameter.</pd>
</plentry>
<plentry>
<pt><varname>path</varname></pt>
<pd>Specifies the fully-qualified name of the new directory. This is a required
parameter.</pd>
</plentry>
</parml>
</refsyn>
Task elements
Task elements provide the fundamental structure for task topics. The task topic includes sections for describing the context, prerequisites, actual steps, expected results, troubleshooting, example, and expected next steps for a task.
<chdesc>
The <chdesc>
element provides the content
of the second cell in a choice table row. This content describes the option that people can take to complete
the step, and it explains the result of the choice, if it is not
immediately
obvious.
Specialization hierarchy
The <chdesc>
element is specialized from
<stentry>
. It is defined in the task module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<chdeschd>
The <chdeschd>
element provides a label
for the second column in a choice table.
Rendering expectations
The contents of the <chdeschd>
element is
typically rendered in a bold font.
Specialization hierarchy
The <chdeschd>
element is specialized from
<stentry>
. It is defined in the task module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<chhead>
The <chhead>
element contains elements that provide labels for the columns in a choice table.
Rendering expectations
Labels provided by the <chhead>
element
override any default headings for the
<choicetable>
that
might be provided by stylesheets.
Specialization hierarchy
The <chhead>
element is specialized from <sthead>
.
It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<choice>
A <choice>
element describes a way to complete the current step.
Specialization hierarchy
The <choice>
element is specialized from
<li>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<choices>
The <choices>
element contains a list of
choices. Each choice represents a way to
complete the current step.
Usage information
The <choices>
element provides information
when there is more than one way to complete a step. It is a
list.
Specialization hierarchy
The <choices>
element is specialized from <ul>
. It
is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<choices>
element can be used when
different operating systems have different keyboard shortcuts. In
this scenario, flagging is used to render labels for the different
operating systems.
<step>
<cmd>To edit the attributes, select the element and press the
applicable keyboard shortcut for your operating system:</cmd>
<choices>
<choice platform="mac-os"><uicontrol>option + return</uicontrol></choice>
<choice platform="windows"><uicontrol>Alt + Enter</uicontrol></choice>
</choices>
<stepresult>The <wintitle>Attributes</wintitle> view is displayed.</stepresult>
</step>
The rendered output might look like the following:

<choicetable>
A choice table provides information about a set of options for completing a step.
Usage information
A choice table provides information when there is more than one way to complete a step. It is a simple table with two columns. The first cell in a row labels the option, and the second cell in the row describes the option that a user can take to complete the step.
An optional header row can provide labels for the columns, if an author does not want to use the default labels that might be provided by stylesheets.
Rendering expectations
If a choice table does not contain a header row, processors typically auto-generate labels for the columns in the choice table. The text for the labels is specified in stylesheets.
Specialization hierarchy
The <choicetable>
element is specialized from
<simpletable>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes, display attributes, and simpletable attributes.
For this element, the @keycol
attribute has a default
value of 1.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @expanse
(display attributes)- Specifies the horizontal placement of the element. The
following values are valid:
- column
- Indicates that the element is aligned with the current column margin.
- page
- Indicates that the element is placed on the left page margin for left-to-right presentation or the right page margin for right-to-left presentation.
- spread
- Indicates that the object is rendered across a multi-page spread. If the output format does not have anything that corresponds to spreads, then spread has the same meaning as page.
- textline
- Indicates that the element is aligned with the left (for left-to-right presentation) or right (for right-to-left presentation) margin of the current text line and takes indentation into account.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
For
<table>
, in place of the@expanse
attribute that is used by other DITA elements, the@pgwide
attribute is used in order to conform to the OASIS Exchange Table Model.Some processors or output formats might not support all values.
@frame
(display attributes)- Specifies which portion of a border surrounds the element.
The following values are valid:
- all
- Indicates that a line is rendered at the top, bottom, left, and right of the containing element.
- bottom
- Indicates that a line is rendered at the bottom of the containing element.
- none
- Indicates that no lines are rendered.
- sides
- Indicates that a line is rendered at the left and right of the containing element.
- top
- Indicates that a line is rendered at the top of the containing element.
- topbot
- Indicates that a line is rendered at the top and bottom of the containing element.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
Some processors or output formats might not support all values.
@height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keycol
(simpletable attributes)- Specifies the column that contains the
content that represents the key to the tabular
structure. If
@keycol
is present and assigned a numerical value, the specified column is treated as a vertical header. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@relcolwidth
(simpletable attributes)- Specifies the width of each column in relationship to the
width of the other columns. The value is a space-separated list
of relative column widths. Each column width is specified as a
positive integer or decimal number followed by an asterisk
character.
For example, the value
relcolwidth="1* 2* 3*"
gives a total of 6 units across three columns. The relative widths are 1/6, 2/6, and 3/6 (16.7%, 33.3%, and 50%). Similarly, the valuerelcolwidth="90* 150*"
causes relative widths of 90/240 and 150/240 (37.5% and 62.5%). @rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Examples
This section is non-normative.
This section contains examples of how the
<choicetable>
element can be used.
The following code sample contains a
<choicetable>
element that is used to
explain the options that a user can take to cancel a job:
<step>
<cmd>Select the option that you want:</cmd>
<choicetable relcolwidth="1* 2*">
<chrow>
<choption>Cancel job</choption>
<chdesc>The application attempts to cancel the job gracefully.
The job might not be completely canceled, although the job
status is "Canceled".</chdesc>
</chrow>
<chrow>
<choption>Force the job to cancel</choption>
<chdesc>The application will force the job to be canceled. This
might result in a mismatch between the state file and the
actual resource state.</chdesc>
</chrow>
</choicetable>
</step>
The choice table might be rendered in the following way. Note that the labels for the columns are contributed by the stylesheets that are used by the processor.

The following code sample contains a
<choicetable>
element that contains a
header row. The choice table is used to
provide users with instructions for creating a filter using
either the command line or the graphical user interface. The
header row is used to specify column labels of "Option" and
"Action".
<step>
<cmd>Create a new filter:</cmd>
<choicetable>
<chhead>
<choptionhd>Option</choptionhd>
<chdeschd>Action</chdeschd>
</chhead>
<chrow>
<choption>Command-line interface</choption>
<chdesc>Type <codeph>arg -f filter</codeph></chdesc>
</chrow>
<chrow>
<choption>Product GUI</choption>
<chdesc>Click <uicontrol>New Filter</uicontrol></chdesc>
</chrow>
</choicetable>
</step>
The choice table might be rendered in the following way:

<choption>
The <choption>
element contains the
content of the first cell in a choice table row. This content labels the option that people can take to complete the
step.
Rendering expectations
Unless the @keycol
attribute on the
<choicetable>
element is set to
0, the contents of the
<choiceoption>
element is typically
rendered in a bold font.
Specialization hierarchy
The <choption>
element is specialized from
<stentry>
. It is defined in the task module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<choptionhd>
The <choptionhd>
element provides a
label for the first column in a choice table.
Rendering expectations
The contents of the <chdeschd>
element is
typically rendered in a bold font.
Specialization hierarchy
The <choptionhd>
element is specialized from
<stentry>
. It is defined in the task module.
Attributes
The following attributes are available on this element: table accessibility attributes and universal attributes
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @headers
- Specifies which entries in the current
table provide headers for this cell. The
@headers
attribute contains an unordered set of unique, space-separated tokens, each of which is an ID reference of an entry from the same table. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@scope
(link-relationship attributes)- Specifies the closeness of the relationship between the
current document and the referenced resource. The following values are valid:
local, peer,
external, and
-dita-use-conref-target.
See STUB CONTENT for detailed information on supported values and processing implications.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<chrow>
The <chrow>
element represents a row in a choice table. It
contains a pair of elements: <choption>
and
<chdesc>
.
Specialization hierarchy
The <chrow>
element is specialized from
<strow>
. It is defined in the task
module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<cmd>
A command specifies the action that people take to complete a step.
Specialization hierarchy
The <cmd>
element is specialized from <ph>
. It is
defined in the task module.
Attributes
The following attributes are available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the <cmd>
element provides clear, active-voice instruction for how to
complete a step:
<step>
<cmd>Specify the configuration parameters.</cmd>
</step>
<context>
Contextual information is background information that helps people understand the purpose of the task and what they will gain by completing it.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <context>
element is specialized from
<section>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
An author uses the following markup to provide users with more contextual information than
is appropriate for a short description. Style sheets might generate a label,
for example, About this procedure
, to indicate clearly that the
information provided is background information.
<task id="Generating-stub-files" xml:lang="en-us">
<title>Generating stub files</title>
<shortdesc>You can use Task Modeler to generate stub files. Stub files are
DITA files that contain only a title.</shortdesc>
<taskbody>
<context>As you perform this procedure, you can select the conventions that
you want to use for file names.
</context>
<!-- ... -->
</taskbody>
</task>
<info>
The <info>
element contains additional information about the step.
Specialization hierarchy
The <info>
element is specialized from
<div>
. It is defined in the task
module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the
<info>
element provides additional
information about the ways that the step can be performed:
<step>
<cmd>Specify the configuration parameters.</cmd>
<info>You can use either the command line or the product GUI.
</info>
</step>
<postreq>
Post-requisites are steps or tasks that people might need to perform after completing the current task.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <postreq>
element is specialized from
<section>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how a user might be directed to notify a test proctor after completing a test.
<steps>
<!-- ... -->
<step>
<cmd>Click <uicontrol>Done</uicontrol> to complete the test.</cmd>
</step>
</steps>
<postreq>Notify the proctor upon completing this self-test.</postreq>
<prereq>
Prerequisites are things that people need to know or preliminary tasks that people need to perform before starting the current task.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <prereq>
element is specialized from
<section>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample is from a topic that explains how to create an SQLJ file. A prerequisite is to log into the SQLJ server.
<task id="sqlj">
<title>Creating an SQLJ file</title>
<taskbody>
<prereq>Before creating a new SQLJ file, you must
log in to the SQLJ server.
</prereq>
<!-- ... -->
</taskbody>
</task>
Style sheets might generate a label, for example, Before you
begin
, to indicate clearly that the prerequisite task needs
to be performed before embarking on the procedure.
<result>
The <result>
element describes the
expected outcome for the task as a whole.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <result>
element is specialized from <section>
.
It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the author clearly communicates the expected result of successfully completing the task:
<task id="sqlj">
<title>Creating an SQLJ file</title>
<taskbody>
<!-- ... -->
<result>The <wintitle>File Created<wintle> window is displayed, and the SQLJ
file is successfully created.
</result>
</taskbody>
</task>
<step>
A step is an action that people take to complete a task. It can also contain additional information about the step, such as an example, result, or troubleshooting guidance.
Rendering expectations
When the @importance
attribute is
specified on the <step>
element, it
indicates whether the step is optional or required. Implementations
might want to consider having their stylesheets render a applicable
label when @importance
is specified on
<step>
,
Specialization hierarchy
The <step>
element is specialized from <li>
. It is
defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
For this element, the @importance
attribute is limited
to the values optional, required, or -dita-use-conref-target.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@importance
- For this element, the
@importance
attribute is limited to the values optional, required, or -dita-use-conref-target. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows many of the
elements that the <step>
element can
contain:
<step>
<cmd>Specify the configuration parameters.</cmd>
<info>The configuration parameters can be specified from either the command line or
the product GUI.</info>
<choices>
<choice>From a command prompt, type config -l parameter</choice>
<choice>Click New Configuration Parameters</choice>
</choices>
<stepresult>You receive a 'Configuration successful' message.</stepresult>
<steptroubleshooting>If you do not receive a 'Configuration successful message,'
retry the configuration operation.</steptroubleshooting>
</step>
<stepresult>
The <stepresult>
element provides information about the expected
outcome of a step.
Specialization hierarchy
The <stepresult>
element is specialized from
<div>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following example, the content of the
<stepresult>
element enables the user to
ascertain whether they have completed the step correctly:
<step>
<cmd>Specify the configuration parameters.</cmd>
<info>You can use either the command line or the product GUI.</info>
<choices>
<choice>From a command prompt, type <codeph>config -l parameter</codeph></choice>
<choice>Click <uicontrol>New Configuration Parameters</uicontrol></choice>
</choices>
<stepresult>You receive a <systemoutput>'Configuration successful'</systemoutput> message.
</stepresult>
</step>
<steps>
Steps are a series of actions that people perform in a specific order and manner.
Rendering expectations
Steps that contain only a single step should be rendered as a paragraph. Steps that contain two or more steps should be rendered as an ordered list.
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <steps>
element is specialized from <ol>
. It
is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows a simple task topic with two steps:
<task id="sqlj">
<title>Creating an SQLJ file</title>
<taskbody>
<context>Once you have set up SQLJ, you can create a new SQLJ file.</context>
<steps>
<step>
<cmd>In a text editor, create a new file.</cmd>
</step>
<step>
<cmd>Enter the first query statement.</cmd>
</step>
</steps>
</taskbody>
</task>
<steps-informal>
Informal steps are steps that do not follow a strict content model. A paragraph might describe more than one step, or a paragraph might combine procedural information along with other information.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <steps-informal>
element is specialized from
<section>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how an author provided informal information about how to grow a flower from seed:
<task id="growing-flower>
<title>Growing a flower from seed</title>
<taskbody>
<steps-informal>
<p>Put the soil in the container any old way. It doesn't really
matter how you do it as long as it is at least 12 cm deep. Once
the soil is in place, plant the seeds, water appropriately and
wait.</p>
</steps-informal>
</taskbody>
</task>
<stepsection>
The <stepsection>
element contains expository text that might be
rendered before a step.
Usage information
The <stepsection>
element can be used to
break up lengthy procedures by providing labels for groups of
steps. Note that introducing <stepsection>
elements will not affect the contiguous numbering of the steps.
Rendering expectations
Processors which render the content of <stepsection>
elements
among the <step>
elements MUST
NOT number the <stepsection>
elements.
Specialization hierarchy
The <stepsection>
element is specialized from
<li>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how
<stepsection>
element can be used to group
steps in a high-level overview topic that links to other
topics:
<steps>
<stepsection>Install and configure the application:</stepsection>
<step>
<cmd><xref keyref="download">Download the application</xref>.</cmd>
</step>
<step>
<cmd><xref keyref="install">Install the application</xref>.</cmd>
</step>
<step>
<cmd><xref keyref="configure">Configure the application</xref></cmd>
</step>
<stepsection>Set up the development environment:</stepsection>
<step>
<cmd><xref keyref="prep">Prepare the environment</xref>.</cmd>
</step>
<!-- ... -->
<stepsection>Start the tutorial:</stepsection>
<step>
<cmd><xref keyref="create-plugin">Exercise: Create a plug-in</xref>.</cmd>
</step>
<!-- ... -->
</steps>
This topic might be rendered in the following way. Note that the
numbering of the steps is not affected by the introduction of the
<stepsection>
elements.

<steptroubleshooting>
Step troubleshoooting is information that is intended to help people respond to the situation if a step does not complete as expected.
Specialization hierarchy
The <steptroubleshooting>
element is specialized from
<div>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<steptroubleshooting>
element specifies
the troubleshooting actions that a user can take if the step does
not complete as they expected:
<step>
<cmd>Log in to the system</cmd>
<stepresult>
<p>The <wintitle>Welcome</wintitle> screen appears.</p>
</stepresult>
<steptroubleshooting>
<p>If the <wintitle>Welcome</wintitle> screen does not
appear, try one or more of the following actions:</p>
<ul>
<li>Verify that the user name was entered correctly</li>
<li>Verify that the password was entered correctly</li>
<li>Confirm that the maintenance contract is still active</li>
</ul>
</steptroubleshooting>
</step>
<steps-unordered>
Unordered steps are steps in which the order of the steps to be performed might vary from one situation to another.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <steps-unordered>
element is specialized from
<ul>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how an author provided information about the tasks that need to be performed before leaving on a vacation. While each step involves a single item, the steps can be performed in any order.
<task id="prep-for-trip">
<title>Preparing for a trip</title>
<taskbody>
<steps-unordered>
<step>
<cmd>Arrange for a pet sitter</cmd>
</step>
<step>
<cmd>Do laundry</cmd>
</step>
<step>
<cmd>Buy a plane ticket</cmd>
</step>
</steps-unordered>
</taskbody>
</task>
<stepxmp>
A step example illustrates how a step is completed. The example might be text-based, an image, a code sample, a link to a video, or some other representation.
Specialization hierarchy
The <stepxmp>
element is specialized from
<div>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<stepxmp>
can provide an example of how a
user can perform a step:
<step>
<cmd>Add an XML comment in the map that explains why you applied the
filtering attribute.</cmd>
<stepxmp><p>For example:<p>
<codeblock>
<!-- 18 Dec 2019 ML: The following topic is under review and should
not be published externally. [DH-1441]. -->
</codeblock>
</stepxmp>
</step>
<task>
The <task>
element is the top-level
element for a task topic. Task topics provide the instructions that guide people to
perform a task.
Usage information
The OASIS DITA Technical Committee distributes two document-type shells for task topics: general task and strict task.
- General task
- Has a more relaxed content model. It allows
<section>
and<steps-informal>
inside of the task body; it also allows multiple instances and varying order for the elements that make up the task body. - (Strict) task
- Maintains a strict order and cardinality for elements within the
<taskbody>
content model. The strict task is implemented with a constraint module.
Specialization hierarchy
The <task>
element is specialized from <topic>
.
It is defined in the task module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows that <task>
is the topic-level element for a task topic:
<task id="learn-dita">
<title>Learning DITA</title>
<!-- ... -->
</tas k>
<taskbody>
The <taskbody>
element contains the body
of a task topic. The task body can include prerequisites, contextual
information, steps, results, examples, troubleshooting information, and
post-requisites. General task topics can also contain generic
sections.
Usage information
The content model for the task topic varies depending on whether the strict task or general task document-type shell is used.
Specialization hierarchy
The <taskbody>
element is specialized from <body>
.
It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Examples
This section is non-normative.
This section contains examples of the
<taskbody>
element in both (strict) task
and general task topics.
The following code sample shows how the
<taskbody>
element contains the main
building blocks of a strict task topic:
<task id="Generating-stub-files" xml:lang="en-us">
<title>Generating stub files</title>
<shortdesc>You can use Task Modeler to generate stub files. Stub files are DITA files
that contain only a title.</shortdesc>
<taskbody>
<prereq>You must have created a DITA map in Task Modeler.</prereq>
<context>As you perform this procedure, you can select the conventions that you want to
use for file names.</context>
<steps>
<!-- ... -->
</steps>
<result>In the File Manager view, you can see the file names and paths of the DITA
topics.</result>
<tasktroubleshooting>If you cannot see the file name and paths of the DITA topics, refresh
the view.</tasktroubleshooting>
<example> <! -- ... --> </example>
<postreq>You now can create a relationship table to define links between the topics in
your DITA map.</postreq>
</taskbody>
</task>
In a strict task topic, while the child elements of
<taskbody>
are all optional, they can
only occur once and must appear in a specific order.
The following code sample shows how the
<taskbody>
element contains building
blocks of a general task topic:
<task id="completing-group-project">
<title>Completing the final project</title>
<shortdesc>This handout contains information about completing the final project
for History 275, "Exploring your community history."</shortdesc>
<taskbody>
<context>The final project will account for 35% of your final grade.</context>
<prereq>You must have an account on the college's collaboration platform.</prereq>
<section>
<title>Required reading</title>
<ul>
<li>Section 7.0 in the class course pack</li>
<li><cite>Using Oral History in Community History Projects
(Practices in Oral History)</cite></li>
</ul>
</section>
<steps>
<!-- ... -->
</steps>
</taskbody>
</task>
Note that there is more flexibility in the content model for
<taskbody>
in general task than there is
in the strict task. In this example,
<context>
precedes
<prereq>
, and
<prereq>
is following by a section
titled "Required reading".
The following code sample shows the content of a general task
topic that is used to store <prereq>
elements that are reused. While the implementation uses the
strict task topic for their product documentation, using a
general task topic for a reuse topic enables them to have
multiple <prereq>
elements in a single
topic.
<task id="reuse-prereq">
<title>Reuse topic: <xmlelement>prereq</xmlelement></title>
<shortdesc>This topic stores <xmlelement>prereq</xmlelement> elements
that are reused in the product documentation.</shortdesc>
<taskbody>
<!-- ... -->
<prereq id="sp-10">Service Pack 10 must be installed.</prereq>
<prereq id="admin-access">You must have administrator access in order
to perform this procedure.</prereq>
<!-- ... -->
</taskbody>
</task>
<tasktroubleshooting>
Task troubleshooting information is information that is intended to help people respond to the situation if a task does not complete as expected.
Usage information
In particular, the <tasktroubleshooting>
element can be used to explain how users can recover when the
results of a task do not match those listed in the
<result>
element. The troubleshooting
remedy typically contains one or more actions for solving a
problem. For complex remedies, link to another task.
Rendering expectations
Implementations might want to consider having their stylesheets render a label for this element.
Specialization hierarchy
The <tasktroubleshooting>
element is specialized from
<section>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the <tasktroubleshooting>
element
contains brief information that explains the steps that the user can take when the results
of a task are not as expected. For a complex remedy, the author could provide a link to
another task topic.
<task id="add-new-categories>
<title>Adding new user categories</title>
<taskbody>
<steps>
<!-- ... -->
</steps>
<result>
<p>The User Type menu displays the new types you added.</p>
</result>
<tasktroubleshooting>
<p>If the User Type menu does not display the additions, try
one or more of the following:
<ul>
<li>Refresh the page</li>
<li>Verify that Add Types window is not still open; if so,
go to it and press <uicontrol>OK</uicontrol>.</li>
</ul>
</p>
</tasktroubleshooting>
</taskbody>
<tutorialinfo>
Tutorial information is information that is useful when the task topic is rendered as a tutorial.
Specialization hierarchy
The <tutorialinfo>
element is specialized from
<div>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample is of a task
topic that is used both in a product manual and in a tutorial. Note
that the <context>
and
<tutorialinfo>
elements are intended to be
rendered only when the tutorial is
generated.
<task id="task-msg-x1z-gwb">
<title>Taking pictures in low light without a flash</title>
<shortdesc>Taking pictures in low light situations without a flash can be a challenge if you
don’t know what you’re doing and can result in photos that are too dark, blurry, or
grainy. Follow these suggestions to get excellent shots in low light situations without
the need for your camera's flash.</shortdesc>
<taskbody>
<context deliveryTarget="tutorial">For example, suppose you are visiting the Louvre and
want to capture memories of your visit. Most museums do not allow flash photography
of their art masterpieces. What settings will work best for that situation? To
understand the best settings for such a situation before arriving, use this tutorial
to experiment with the impact of your light-controlling settings on your camera.
</context>
<steps>
<step>
<cmd>Put your camera in manual mode.</cmd>
</step>
<step>
<cmd>Increase your ISO setting to adjust how sensitive your camera's image sensor is
to light.</cmd>
<tutorialinfo deliveryTarget="tutorial">Take a picture at each of the following ISO
settings: 100, 200, 400, and 800. Compare your results.</tutorialinfo>
</step>
<step>
<cmd>Increase the aperture size, by reducing your f-stop, to adjust how much light is
allowed in.</cmd>
<tutorialinfo deliveryTarget="tutorial">Return your camera to an ISO setting of 100.
Take a picture at each of the following f-stops: f/2.0, f/4, f/8, and f/16.
Compare your results.</tutorialinfo>
</step>
<!-- ... --.
</steps>
</taskbody>
</task>
Troubleshooting elements
Troubleshooting elements provide the fundamental structure for troubleshooting topics. Troubleshooting topics describe problems and provide information about how to fix them.
<cause>
The <cause>
element describes a
potential source of the problem that is addressed
by the troubleshooting topic.
Usage information
The <cause>
element is a component of a potential solution. The cause might be
omitted if it is implicit or if the remedy is not associated with a
cause.
Specialization hierarchy
The <cause>
element is specialized from
<section>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the <cause>
element contains information that explains the origins of the
problem:
<troubleshooting id="simple-example">
<title>System will not turn on</title>
<troublebody>
<condition>The system is plugged in and powered up, but the system will not start.
</condition>
<troubleSolution>
<!-- . . . -->
<cause>The problem is usually due to the power not being supplied to the system through
the electrical outlet. Often, a circuit breaker has been tripped so that no
power is available at the outlet.</p>
</cause>
<!-- . . . -->
</troubleSolution>
<!-- . . . -->
</troublebody>
</troubleshooting>
<condition>
<condition>
element describes a
state that the troubleshooting topic is intended to remedy. This
information helps the user decide whether a troubleshooting topic
might contain an applicable remedy for a problem.
Usage information
This section should add to or clarify information that is in the title or short description of the troubleshooting topic. If the title and short description adequately describes the condition, this element might be omitted.
Specialization hierarchy
The <condition>
element is specialized from
<section>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the
<condition>
element contains information
that elaborates on the information that is
provided by the title and short description:
<troubleshooting id="system-will-not-turn-on">
<title>System will not turn on</title>
<shortdesc>Everything looks right, but the system still does not start.</shortdesc>
<troublebody>
<condition>
<title>Condition</title>
<p>The system is plugged in and powered up, but the system does not start.</p>
</condition>
<troubleSolution>
<!-- ... -->
</troubleSolution>
</troublebody>
</troubleshooting>
Alternately, the short description could be enhanced and the
<condition>
element eliminated:
<troubleshooting id="system-will-not-turn-on">
<title>System will not turn on</title>
<shortdesc>The system is plugged in and powered up, but the system does not start.
</shortdesc>
<troublebody>
<troubleSolution>
<!-- ... -->
</troubleSolution>
</troublebody>
</troubleshooting>
The markup pattern that implementations choose might depend on how they deliver troubleshooting information.
<diagnostics>
The <diagnostics>
element contains information that helps readers determine the cause of
a problem.
Usage information
Diagnostic information is useful when there is
more than one potential cause associated with a symptom. The
<diagnostics-general>
element permits content that includes tables and flowcharts,
while the <diagnostics-steps>
element allows
for the use of the <steps>
element. Either or both elements can be present.
Specialization hierarchy
The <diagnostics>
element is specialized from
<bodydiv>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<diagnostics-general>
The
<diagnostics-general>
element includes non-procedural information that can help
determine the causes of a symptom. Results of the diagnoses might link to possible solutions.
Usage information
This element is useful for presenting non-procedural diagnostic information, for example, a diagnostic table or a flowchart. Non-procedural diagnostic information can be used when the symptoms can be observed and do not require people to take action.
Specialization hierarchy
The <diagnostics-general>
element is
specialized from <section>
. It is defined in
the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
This section contains examples of how the
<diagnostics-general>
element can be used.
Implementations might well have different business rules for how to
document troubleshooting.
The following code sample shows how the
<diagnostics-general>
element can
contain a table to help a reader determine the
cause of a problem. The table then references the associated
remedy.
<troubleshooting id="car-makes-funny-noises">
<title>Car is making funny noises.</title>
<shortdesc>You probably know how your vehicle sounds when it’s running
properly. Listening to your car can help you troubleshoot problems. If
you hear a strange sound, pay attention and react
accordingly.</shortdesc>
<troublebody>
<diagnostics>
<diagnostics-general>
<simpletable frame="all" relcolwidth="1* 1*">
<sthead>
<stentry>Symptom</stentry>
<stentry>Probable cause</stentry>
</sthead>
<strow>
<stentry>Clunking noise on bumps only</stentry>
<stentry>Struts. See <xref href="#./checkstruts"/>.</stentry>
</strow>
<strow>
<stentry>Continuous clunking noise</stentry>
<stentry>Ball joints. See <xref href="#./checkballjoints"/>.</stentry>
</strow>
<strow>
<stentry>Ticks when in neutral</stentry>
<stentry>Exhaust. See <xref href="#./checkexhaust"/>.</stentry>
</strow>
<strow>
<stentry>Ticks only in reverse</stentry>
<stentry>Brakes. See <xref href="#./checkbrakes"/>.</stentry>
</strow>
<strow>
<stentry>Ticks in turns and curves</stentry>
<stentry>CV joint. See <xref href="#./checkcvjoint"/>.</stentry>
</strow>
<strow>
<stentry>Ticks only when cold</stentry>
<stentry>Catalytic converter. See <xref href="#./checkcatalyticconverter"/>.
</stentry>
</strow>
<strow>
<stentry>Ticks only at slow speed</stentry>
<stentry>Wheels. See <xref href="#./checkwheels"/>.</stentry>
</strow>
</simpletable>
</diagnostics-general>
</diagnostics>
<!-- The rest of this topic contains <troublesolution> elements, each of which
contains a remedy. The cross references in the above steps resolve to the
<remedy> elements. -->
</troublebody>
</troubleshooting>
The table in the <diagnostics-general>
element might be rendered in the following way. The hyperlinks in
the "Probable cause" column resolve to the
<remedy>
elements in the topic.

<diagnostics-steps>
The <diagnostics-steps>
element includes step-by-step information that can help readers
determine the causes of a symptom. Results of
the diagnostic steps might link to potential
solutions.
Usage information
This element is helpful for situations where the reader must perform a series of steps to determine the cause of the problem.
Specialization hierarchy
The <diagnostics-steps>
element is
specialized from <section>
. It is defined in
the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<diagnostics-steps>
element can provide
step-by-step instructions to help someone determine the cause of a problem and the potential
solution:
<troubleshooting id="my-network-isnt-working">
<title>My network isn't working</title>
<shortdesc>Users are unable to access network servers, the internet, or other
networked devices, such as printers.</shortdesc>
<troublebody>
<diagnostics>
<diagnostics-steps>
<steps>
<step>
<cmd>Open the command prompt and type <userinput>ipconfig</userinput>.</cmd>
<info>The Default Gateway (listed last) is your router’s IP. Your computer’s IP
address is the number next to “IP Address.” If your computer’s IP address
starts with 169, the computer is not receiving a valid IP address. See
<xref href="#./ipaddress"/>.
</info>
</step>
<step>
<cmd>If your address does not start with 169, type
<userinput>tracert8.8.8.8</userinput> to view each step between your router
and the Google DNS servers.</cmd>
<info>If the error comes up early along the pathway, see
<xref href="#./resetnetwork"/></info>
</step>
<step>
<cmd>If everything is working with Google, use the <cmdname>nslookup</cmdname>
command to determine if there's a problem with the server you are trying
to connect to.</cmd>
<info>If you received results such as <msgph>Timed Out</msgph>,
<msgph>Server Failure</msgph>, <msgph>Refused</msgph>,
<msgph>No Response from Server</msgph>, or
<msgph>Network is unreachable<msgph>, the problem originates in the DNS
server for your destination.</info>
</step>
<step>
<cmd>If the previous steps turn up no problems, contact your ISP to see if
they're having issues.</cmd>
</step>
</steps>
</diagnostics-steps>
</diagnostics>
<!-- The rest of this topic contains two <troublesolution> elements, each of which
contains a remedy. One remedy provides instructions for "Resetting your IP address"
and the other provides instructions for "Resetting your local network". The
cross references in the above steps resolve to the <remedy> elements. -->
</troublebody>
</troubleshooting>
<remedy>
The <remedy>
element contains steps that are a potential solution for a problem. In addition, it also might contain information
about the person or team who can perform the task.
Usage information
The <remedy>
element is a component of a
potential solution. The remedy might be
omitted if there is no known remedy for the cause.
Specialization hierarchy
The <remedy>
element is specialized from
<section>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the <remedy>
element contains instructions for how the responsible party can fix
the problem:
<troubleshooting id="simple-example">
<title>System will not turn on</title>
<troublebody>
<!-- . . . -->
<troubleSolution>
<!-- . . . -->
<remedy>
<title>Reset the circuit breaker</title>
<responsibleParty>Maintenance technician</responsibleParty>
<steps>
<step><cmd>Power the system down.</cmd></step>
<step><cmd>Reset the circuit breaker.</cmd></step>
<step><cmd>Power the system back up.</cmd></step>
</steps>
</remedy>
</troubleSolution>
</troublebody>
</troubleshooting>
<responsibleParty>
The <responsibleParty>
element
identifies the individual or team whose task it is to perform a remedy
procedure. It also can provide important information
about the qualifications that the person or team must
have.
Rendering expectations
Implementations might want to consider rendering a label for this element.
Specialization hierarchy
The <responsibleParty>
element is specialized from
<p>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample shows how the
<responsibleParty>
element can be used to specify the prerequisites for performing a
procedure:
<remedy>
<responsible-party>You must have administrative privileges to perform this procedure.
</responsible-party>
<steps>
<step><cmd>Run the following command from the command line:
<codeph>msiexec.exe /I C:\Windows\Installer\XXXXX.msi</codeph></cmd>
<step>
<!-- ... -->
</steps>
</remedy>
<troublebody>
The <troublebody>
element contains the
main content of the troubleshooting topic. The troubleshooting body can
contain information about the condition, how to
diagnose the cause, and one or more possible
solutions.
Specialization hierarchy
The <troublebody>
element is specialized from
<body>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
<troubleshooting>
The <troubleshooting>
element is the
top-level element for a troubleshooting topic. Troubleshooting topics
provide information that enables readers to identify
a condition, diagnose a cause, and potentially fix the
problem.
Usage information
Troubleshooting topics begin with a description of a problem that the reader might want to correct. This can be followed by diagnostic information and possible solutions to the problem.
Specialization hierarchy
The <troubleshooting>
element is specialized from
<topic>
. It is defined in the troubleshooting module.
Attributes
The following attributes are available on this element: architectural attributes and universal attributes.
For this element, the @id
attribute is
required.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @DITAArchVersion
(architectural attributes)- Specifies the version of the DITA architecture that is in
use. This attribute is in the namespace
http://dita.oasis-open.org/architecture/2005/
. This attribute is specified in the topic and map modules, and it uses a default value of the current version of DITA. The current default is 2.0. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@id
- For this element, the
@id
attribute is required. @othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@specializations
(architectural attributes)- Specifies the attribute-domain specializations that are
included in the document-type shell. This attribute is set as a
default within the document-type shell. The value varies
depending on what domains are integrated into the document-type
shell. For example, a
grammar file that includes the specialized attributes
@audience
,@deliveryTarget
, and@newBaseAtt
would set the value to@props/audience @props/deliveryTarget @base/newBaseAtt
. @type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
The following code sample contains a troubleshooting topic. The
troubleshooting topic contains three <troubleSolution>
elements that
direct the user to perform sequential troubleshooting tasks:
Resetting the alarm, reseating the system memory board, and
replacing the memory board. Note that some steps are reused from
other topics.
<troubleshooting id="E247" xml:lang="en-us">
<title><msgph><msgnum>E247</msgnum>: Memory fault has occurred</msgph></title>
<shortdesc>The system has detected a memory problem.</shortdesc>
<troublebody>
<condition>
<p>The fault indicator flashes on the front panel, and the error log
contains the <msgnum>E247</msgnum> error message.</p>
</condition>
<troubleSolution>
<cause>p>A transient memory fault has occurred.</p></cause>
<remedy>
<responsibleParty>System administrator</responsibleParty>
<steps>
<step><cmd>From the systems management software, reset the alarm.</cmd></step>
<step><cmd>Monitor the system periodically to see whether the alarm
recurs.</cmd>
</step>
</steps>
</remedy>
</troubleSolution>
<troubleSolution>
<cause><p>A recurring memory fault indicates a possible problem with the
system memory board.</p></cause>
<remedy>
<responsibleParty>Maintenance technician</responsibleParty>
<steps conref="boardReseat.dita#boardReseat/steps">
<step><cmd/></step>
</steps>
</remedy>
</troubleSolution>
<troubleSolution>
<cause><p>The system memory board might be corrupted.</p></cause>
<remedy>
<responsibleParty>Certified technician. Note that work done by
non-qualified individuals will void the product warranty.</responsibleParty>
<steps conref="boardReplace.dita#boardReplace.dita/steps">
<step><cmd/></step>
</steps>
</remedy>
</troubleSolution>
</troublebody>
</troubleshooting>
<troubleSolution>
Each <troubleSolution>
element contains information about the cause of a problem and a
potential remedy.
Usage information
The troubleshooting topic can contain multiple
<troubleSolution>
elements. A
<troubleSolution>
element can contain a
cause, a remedy, or a cause and remedy pair. The cause might
be omitted if it is implicit or if the remedy is not associated
with a cause. The remedy might be omitted if there is no known
remedy for the cause.
Specialization hierarchy
The <troubleSolution>
element is
specialized from <bodydiv>
. It is defined in
the troubleshooting module.
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes and the attributes defined below.
@align
- Controls the horizontal alignment of an image when
@placement
is specified as break. Common values include left, right, and center. @height
- Specifies the vertical dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
@othertype
- Specifies an alternate note type. This value is used as the
user-provided note label when the
@type
attribute value is set to other. @placement
- Indicates whether an image is displayed inline or on a separate line. The default value is inline. Allowable values are inline, break, and "-dita-use-conref-target".
@rowspan
- Specifies the number of rows that a cell is to span inside a simple table.
@scale
- Specifies a percentage as an unsigned integer by which to
scale the image in the absence of any specified image height or
width; a value of 100 implies that the image should be
presented at its intrinsic size. If a value has been specified
for the
@height
or@width
attribute (or both), the@scale
attribute is ignored. @scalefit
-
Specifies whether an image is scaled up or down to fit within available space. The allowable values are yes, no, and "-dita-use-conref-target". If
@height
,@width
, or@scale
is specified, those attributes determine the graphic size, and the@scalefit
attribute is ignored. If none of those attributes are specified andscalefit="yes"
, then the image is scaled by the same factor in both dimensions, so that the graphic will just fit within the available height or width, whichever is more constraining.The available width would be that of the prevailing column or table cell, that is, the width a paragraph of text would have if the graphic were a paragraph instead od text. The available height is implementation dependent, but if feasible, it is suggested to be the page or table cell height or some other reasonable value.
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- attention
- caution
- danger
- important
- note
- notice
- other
- remember
- restriction
- tip
- trouble
- warning
- -dita-use-conref-target
@width
- Specifies the horizontal dimension for the resulting display. The value of this attribute is a real number expressed in decimal notation, optionally followed by a unit of measure. The following units of measurement are supported: cm, em, in, mm, pc, pt, and px (centimeters, ems, inches, millimeters, picas, points, and pixels, respectively). The default unit is px (pixels). Possible values include:5, 5in, and 10.5cm.
Example
This section is non-normative.
In the following code sample, the
<troubleSolution>
element contains a cause
and remedy pair:
<troubleshooting id="e247">
<title>E247: Memory fault has occurred</title>
<troublebody>
<troubleSolution>
<cause>The <msgnum>E247</msgnum> error message is generated due to a
transient memory fault.</cause>
<remedy>
<steps>
<step><cmd>Reset the alarm.</cmd></step>
<step><cmd>Monitor the system periodically to see whether the alarm recurs.</cmd></step>
</steps>
</remedy>
</troubleSolution>
</troublebody>
</troubleshooting>