The toc
entry
element represents a single entry in a
table of contents
, including all related child entries.
A toc
entry
typically consists of the text on the leader line followed by an optional
ref
element indicating the corresponding print page. The
ref
element can also be used to link the text of the entry directly to the location in the document when the table of contents
or document does not include page numbers.
The toc
block
element is used to group all secondary information that falls below the leader line. It is not intended to group subentries,
which should be included as children of the primary
entry
following the
block
..
Usage Example
<toc>
<entry>
CHAPTER I. VARIATION UNDER DOMESTICATION.
<ref>7-43</ref>
<block>
<p>Causes of Variability — Effects of Habit — Correlation of Growth — Inheritance —
Character of Domestic Varieties — Difficulty of distinguishing between Varieties and Species.</p>
</block>
</entry>
</toc>
Allowed parents
entry,
section,
toc (section variant) and
toc (block variant)
Allowed children
This element may contain text.
This element may contain the following children: abbr,
address,
annoref,
block,
ssml:break,
char,
code,
d,
definition,
emph (text variant),
emph (phrase variant),
entry,
expansion,
xforms:input,
rend:linebreak,
ln,
m:math,
name,
note,
noteref,
num,
object (text variant),
object (phrase variant),
pagebreak,
ssml:phoneme (text variant),
ssml:phoneme (phrase variant),
ssml:prosody (text variant),
ssml:prosody (phrase variant),
xforms:range,
ref,
its:ruby,
s,
ssml:say-as (text variant),
ssml:say-as (phrase variant),
xforms:secret,
sel:select,
xforms:select,
xforms:select1,
span (phrase variant),
span (text variant),
sub,
ssml:sub (text variant),
ssml:sub (phrase variant),
sup,
term,
xforms:textarea,
time,
ssml:token (text variant),
ssml:token (phrase variant) and
w
Content model and additional requirements
optional attributes:
@about,
@by,
@class,
@content,
@continuation,
@datatype,
@depth,
@desc,
@its:dir,
@its:translate,
@property,
@rel,
@rend:prefix,
@resource,
@rev,
@role,
@sel:selid,
@ssml:onlangfailure,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
one or more of
a choice of either one of the 50 elements:
abbr,
address,
annoref,
char,
code,
d,
definition,
emph,
emph,
expansion,
its:ruby,
ln,
m:math,
name,
note,
noteref,
num,
object,
object,
pagebreak,
ref,
rend:linebreak,
s,
sel:select,
span,
span,
ssml:break,
ssml:break,
ssml:phoneme,
ssml:phoneme,
ssml:prosody,
ssml:prosody,
ssml:say-as,
ssml:say-as,
ssml:sub,
ssml:sub,
ssml:token,
ssml:token,
sub,
sup,
term,
time,
w,
w,
xforms:input,
xforms:range,
xforms:secret,
xforms:select,
xforms:select1 or
xforms:textarea
or text
end of choice
Note that in addition to restrictions presented in the content model above,
use of this element must also respect the following requirement:
- The
entry
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.
Variants
This element exists in 4 variants. The other 3 variants are:
Namespace
http://www.daisy.org/ns/z3998/authoring/