
xml.schema.z3998-book-1.0-latest.schemadoc.subfiles.e-otherwise03.html Maven / Gradle / Ivy
Schema Documentation: the otherwise element
The Block variant of the otherwise element
On this page:
Container for a content fragment to be selected if none of the preceding
sel:when (Block)
conditions evaluated to true.
Usage Example
<sel:select>
<sel:when expr="…">
…
</sel:when>
<sel:otherwise>
…
</sel:otherwise>
</sel:select>
Allowed parents
Allowed children
This element must not contain text.
This element may contain the following children: address,
annotation,
aside,
block,
ssml:break,
caption,
citation,
code,
description,
d:description,
xforms:group,
hd,
list,
m:math,
note,
object,
p,
pagebreak,
quote,
xforms:repeat,
sel:select,
table,
transition and
verse
Content model and additional requirements
optional attributes: @xml:id
one or more of
any of the 24 elements: address, annotation, aside, block, caption, citation, code, d:description, description, hd, list, m:math, note, object, p, pagebreak, quote, sel:select, ssml:break, table, transition, verse, xforms:group and xforms:repeat
Note that in addition to restrictions presented in the content model above,
use of this element must also respect the following requirement:
- The
sel:otherwise
element must not have
sel:select
descendants.
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 2 variants. The other variant is the Phrase variant.
Namespace
http://www.daisy.org/ns/z3998/authoring/features/select/