7.17. Element related
Instructs XMLmind Ebook Compiler to generate a list of links.
The targets of
these links are the book divisions (part, chapter, section, etc) having an
xml:id
attribute referenced in the ids
attribute
of the related
element.
The default title of this list of
links is "Related information". A different title (e.g. "See
also") may be specified in attribute
relation
.
Content model
EMPTY
Attributes
Name | Data type | Default value |
---|---|---|
ids |
IDREFS |
REQUIRED |
relation |
token min. length: 1 |
|
xml:base |
anyURI |
|
xml:id |
ID |
|
xml:lang |
language or "" (the empty string) |
. |
ids
- Specifies the IDs of the related book divisions (part, chapter, section, etc). Redundant IDs found in this list are ignored.
relation
- Specifies the title of the automatically generated list of links. By default, it's "Related information" translated to the language of the parent element of the automatically generated list of links.
Parents
The following elements contain
related
: appendices
, appendix
, book
, chapter
, part
, section
.
Example
1 2 3 4 5 6 7 | <chapter href="ch01.html" xml:id="ch01"> <related ids="ch01 ch02 ch03"/> </chapter> <chapter href="ch02.html" xml:id="ch02"> <related ids="ch01 ch02 ch03"/> </chapter> ... |