Name
indexterm — A wrapper for an indexed term
Synopsis
indexterm (db.indexterm.singular) ::= (primary?,
((secondary, ((tertiary,
(seealso+ | see)?) |
seealso+ | see)?) |
seealso+ | see)?)
Attribute synopsis
Common attributes and common linking attributes.
Additional attributes:
class(enumeration) = “singular”pagenumscope(enumeration) = “all” | “global” | “local”significance(enumeration) = “normal” | “preferred”typezone(IDREFS)
Description
An indexterm identifies text that is to be
placed in the index. In the simplest case, the placement of the
indexterm in the document identifies the location of
the term in the text. In other words, the indexterm
is placed in the flow of the document where the
indexentry in the index should
point. In other cases, attributes on indexterm are
used to identify the location of the term in the text.
An indexterm marks either a single point in the
document or a range. A single point is marked with an
indexterm placed in the text at the point of
reference. There are two ways to identify a range of text:
Place an
indextermat the beginning of the range withclassset tostartofrangeand give this term anxml:id. Place anotherindextermat the end of the range withstartrefpointing to thexml:idof the startingindexterm. This secondindextermmust be empty.The advantage of this method is that the range can span unbalanced element boundaries. (For example, a range could span from the middle of one paragraph to the middle of the next.)
Place the
indextermanywhere ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access