annotation — An annotation
annotation ::=
((((title
? &
titleabbrev
?),
info
? db.titleforbidden.info) |
info
db.titleonly.info),
(annotation
| bridgehead
|
remark
| revhistory
| Indexing inlines | Admonition elements | Formal elements | Graphic elements | Informal elements | List elements | Paragraph elements | Publishing elements | Synopsis elements | Technical elements | Verbatim elements)+)
The annotation
element is a “block” annotation.
Block annotations can be used for pop ups and other “out of line”
effects.
An annotation
element is associated with
another element by using a reference to an xml:id
value. The association can go in
either direction. An annotation
element can use an
annotates
attribute on itself to
point to an xml:id
on another
element. Or the other element can use an annotations
attribute (one of the common
attributes) on itself to point to an xml:id
on an annotation
element. There is no assumption that an annotation
element is associated with its parent or any other ancestor
element.
The attribute type of annotations
and annotates
is plain text, not IDREF or
IDREFS. That enables modular content files to form associations with
elements in other files without generating validation errors.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example of an annotation</title> <annotation xml:id="note-parts-list"> <para>This list is not comprehensive.</para> </annotation> <para annotations="note-parts-list"> An automobile contains an engine, wheels, doors, and windows. </para> </article>