Schema Documentation - DIAGRAM Description Profile
version 1.0

The caption element

On this page:

The caption element represents a short explanation or description accompanying a component of a publication. Captions most often occur in conjunction with illustrations, photographs, tables and diagrams.

The ref attribute identifies the component(s) to which the caption applies.

Usage Example

<object xml:id="mntsr" src="mnt_srmn.png"> … </object>    
<caption ref="mntsr">MOUNT SARMIENTO.</caption>        
    

Allowed parents

annotation, m:annotation-xml, aside, block, caption, description, item, d:longdesc, note (block variant), note (phrase variant), object, quote, section, d:simplifiedLanguageDescription, d:summary, td, th and d:tour

Allowed children

This element may contain text.

This element may contain the following children: abbr, annoref, annotation (block variant), annotation (phrase variant), aside, block, ssml:break, caption, char, citation (block variant), citation (phrase variant), code (block variant), code (phrase variant), d, definition, description, d:description, emph (text variant), emph (phrase variant), expansion, hd, rend:linebreak, list, ln, m:math, name, note (block variant), note (phrase variant), noteref, num, object (block variant), object (text variant), object (phrase variant), p, pagebreak, ssml:phoneme (text variant), ssml:phoneme (phrase variant), ssml:prosody (text variant), ssml:prosody (phrase variant), quote (block variant), quote (phrase variant), ref, its:ruby, s, ssml:say-as (text variant), ssml:say-as (phrase variant), span (text variant), span (phrase variant), sub, ssml:sub (text variant), ssml:sub (phrase variant), sup, table, term, time, ssml:token (text variant), ssml:token (phrase variant), verse and w

Content model and additional requirements

a choice of
either one or more of
end of choice
Note that in addition to restrictions presented in the content model above, use of this element must also respect the following requirements:
  • The caption element must not contain child caption elements.
  • The caption element must neither be empty nor contain only whitespace.
Such requirements take precedence over any conflicting statements in the content model or in the lists above of allowed children and parents.

Namespace

http://www.daisy.org/ns/z3998/authoring/