annotation

annotation — An annotation.

Synopsis

Attributes

Common attributes.

Additional attributes:

  • annotates

Additional Constraints

  • annotation must not occur in the descendants of annotation

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

Common attributes.

annotates

Identifies one ore more elements to which this annotation applies

Parents [+]

This element occurs in 244 elements.

Children [+]

This element contains 63 elements.

Examples

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example of an annotation</title>
    
  4 <annotation xml:id="note-parts-list">
      <para>This list is not comprehensive.</para>
  6 </annotation>
    
  8 <para annotations="note-parts-list">
      An automobile contains an engine,
 10   wheels, doors, and windows.
    </para>
 12 
    </article>
Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)