annotation
annotation — An annotation.
Synopsis
annotation ::=
- Sequence of:
- One of:
- One or more of:
annotation
bridgehead
formalgroup
remark
revhistory
- Indexing inlines
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informalequation
informalexample
informalfigure
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Paragraph elements
- Publishing elements
- Synopsis elements
- Technical elements
- Verbatim elements
Attributes
Additional attributes:
- annotates
Additional Constraints
- annotation must not occur among the children or descendants of annotation
- If this element is the root element, it must have a version attribute.
Description
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.
Processing expectations
Application specific.
Attributes
- any attribute
Any attribute in any other explicit namespace
- annotates
Identifies one or more elements to which this annotation applies
Parents
These elements contain annotation
: abbrev
, abstract
, accel
, acknowledgements
, acronym
, address
, annotation
, answer
, appendix
, application
, arg
, article
, artpagenums
, attribution
, authorinitials
, bibliocoverage
, bibliodiv
, biblioentry
, bibliography
, biblioid
, bibliolist
, bibliomisc
, bibliomixed
, bibliomset
, bibliorelation
, biblioset
, bibliosource
, blockquote
, bridgehead
, buildtarget
, callout
, calloutlist
, caption
(db.caption), caption
(db.html.caption), caution
, chapter
, citation
, citebiblioid
, citetitle
, city
, classname
, classsynopsisinfo
, code
, colophon
, command
, computeroutput
, confdates
, confnum
, confsponsor
, conftitle
, constant
, constraintdef
, contractnum
, contractsponsor
, contrib
, country
, danger
, database
, dedication
, description
, edition
, email
, emphasis
(db._emphasis), emphasis
(db.emphasis), entry
, enumidentifier
, enumitemdescription
, enumname
, enumvalue
, envar
, errorcode
, errorname
, errortext
, errortype
, example
, exceptionname
, fax
, figure
, filename
, firstname
, firstterm
(db._firstterm), firstterm
(db.firstterm), footnote
, foreignphrase
(db._foreignphrase), funcdef
, funcparams
, funcsynopsisinfo
, function
, givenname
, glossary
, glossdef
, glossdiv
, glosslist
, glosssee
, glossseealso
, glossterm
(db._glossterm), glossterm
(db.glossterm), guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, hardware
, holder
, honorific
, important
, index
, indexdiv
, info
(db.info), info
(db.titleforbidden.info), info
(db.titleonly.info), info
(db.titleonlyreq.info), info
(db.titlereq.info), informalexample
, informalfigure
, initializer
, interfacename
, issuenum
, itemizedlist
, jobtitle
, keycap
, keycode
, keysym
, label
, legalnotice
, lineage
, lineannotation
, link
, listitem
, literal
, literallayout
, macroname
, manvolnum
, markup
, mathphrase
, member
, merge
, meta
(db.meta.content), methodname
, modifier
, mousebutton
, msgaud
, msgexplan
, msglevel
, msgorig
, msgtext
, note
, olink
, option
, optional
, orderedlist
, orgdiv
, orgname
, otheraddr
, othername
, package
, pagenums
, para
, paramdef
, parameter
, partintro
, personname
, phone
, phrase
(db._phrase), phrase
(db.phrase), pob
, postcode
, preface
, primary
, primaryie
, procedure
, productname
, productnumber
, programlisting
, prompt
, property
, publishername
, qandadiv
, qandaset
, question
, quote
(db._quote), quote
(db.quote), refdescriptor
, refentrytitle
, refmiscinfo
, refname
, refpurpose
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, releaseinfo
, remark
, replaceable
, result
, returnvalue
, revdescription
, revnumber
, revremark
, screen
, secondary
, secondaryie
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, see
, seealso
, seealsoie
, seeie
, seg
, segtitle
, seriesvolnums
, setindex
, shortaffil
, sidebar
, simpara
, simplesect
, specializedtemplate
, state
, step
, street
, subscript
, subtitle
, superscript
, surname
, symbol
, synopsis
, synopsisinfo
, systemitem
, tag
, taskprerequisites
, taskrelated
, tasksummary
, td
, template
, templatename
, term
, termdef
, tertiary
, tertiaryie
, textobject
, th
, tip
, title
, titleabbrev
, toc
, tocdiv
, tocentry
, token
, topic
, trademark
, type
, typedefname
, unionname
, uri
, userinput
, variablelist
, varname
, volumenum
, warning
, wordasword
, year
.
Children
The following elements occur in annotation
: address
, anchor
, annotation
, bibliolist
, blockquote
, bridgehead
, calloutlist
, caution
, classsynopsis
, cmdsynopsis
, constraintdef
, constructorsynopsis
, danger
, destructorsynopsis
, enumsynopsis
, epigraph
, equation
, example
, fieldsynopsis
, figure
, formalgroup
, formalpara
, funcsynopsis
, glosslist
, important
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), info
(db.titleforbidden.info), info
(db.titleonly.info), informalequation
, informalexample
, informalfigure
, informaltable
(db.cals.informaltable), informaltable
(db.html.informaltable), itemizedlist
, literallayout
, macrosynopsis
, mediaobject
, methodsynopsis
, msgset
, note
, orderedlist
, packagesynopsis
, para
, procedure
, productionset
, programlisting
, programlistingco
, qandaset
, remark
, revhistory
, screen
, screenco
, screenshot
, segmentedlist
, sidebar
, simpara
, simplelist
, synopsis
, table
(db.cals.table), table
(db.html.table), task
, tip
, title
, titleabbrev
, typedefsynopsis
, unionsynopsis
, variablelist
, warning
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example of an annotation</title>
||
<annotation xml:id="note-parts-list">
5 |<para>This list is not comprehensive.</para>
|</annotation>
||
<para annotations="note-parts-list">
|An automobile contains an engine,
10 |wheels, doors, and windows.
|</para>
||
</article>
An automobile contains an engine, wheels, doors, and windows. ⌖1