note
note — A message set off from the text.
Synopsis
note ::=
- Sequence of:
- One of:
- One or more of:
- empty
- empty
revhistory
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Paragraph elements
- Publishing elements
- Verbatim elements
Attributes
Additional Constraints
- note must not occur among the children or descendants of note
Description
A note
is an admonition set off from the main
text.
In some types of documentation, the semantics of admonitions are clearly defined but DocBook makes no such assertions.
Processing expectations
Formatted as a displayed block. Often outputs the generated text
Note
or some other visible indication of the type of
admonition, especially if a title
is not present. Sometimes
outputs a graphical icon or another symbol as well.
Parents
These elements contain note
: abstract
, appendix
, article
, bibliodiv
, bibliography
, blockquote
, caption
(db.caption), entry
, example
, figure
, footnote
, itemizedlist
, legalnotice
, listitem
, note
, orderedlist
, revdescription
, section
, sidebar
, td
, textobject
, th
, variablelist
.
Children
The following elements occur in note
: blockquote
, epigraph
, example
, figure
, info
(db.titleforbidden.info), info
(db.titleonly.info), informaltable
(db.cals.informaltable), informaltable
(db.html.informaltable), itemizedlist
, literallayout
, mediaobject
, note
, orderedlist
, para
, programlisting
, revhistory
, sidebar
, table
(db.cals.table), table
(db.html.table), title
, titleabbrev
, variablelist
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example note</title>
||
<note><title>Upcoming Changes</title>
5 |<para>Future versions of this feature may not be backward compatible.
|Consider implementing the revised interface now.
|</para>
|</note>
|10 |
</article>
Future versions of this feature may not be backward compatible. Consider implementing the revised interface now.