The
w
element represents a single, possibly compound, lexical word.
The
role
attribute optionally expresses the semantic nature of the word. No implicit value is associated with the
w
element.
Usage Example
<w>This</w> <w>Abstract</w>, <w>which</w> <w>I</w> <w>now</w> <w>publish</w>
Allowed parents
annoref,
annotation (block variant),
annotation (phrase variant),
m:annotation-xml,
aside,
block,
caption,
citation (block variant),
citation (phrase variant),
d,
definition,
description (block variant),
description (phrase variant),
emph,
expansion,
h,
hd,
hpart,
item,
ln,
d:longdesc,
meta,
note (block variant),
note (phrase variant),
noteref,
object (block variant),
object (phrase variant),
p,
ssml:phoneme,
ssml:prosody,
quote (block variant),
quote (phrase variant),
its:rb,
ref,
its:rt,
s,
ssml:say-as (phrase variant),
ssml:say-as (text variant),
d:simplifiedLanguageDescription,
span,
ssml:sub,
d:summary,
td,
term,
th and
d:tour
Allowed children
This element may contain text.
This element may contain the following children: ssml:break,
char,
emph,
object,
ssml:phoneme,
ssml:prosody,
its:ruby,
ssml:say-as,
span,
sub,
ssml:sub,
sup,
ssml:token and
wpart
Content model and additional requirements
optional attributes:
@about,
@by,
@class,
@content,
@datatype,
@desc,
@its:dir,
@its:translate,
@property,
@rel,
@resource,
@rev,
@role,
@ssml:onlangfailure,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
one or more of
a choice of either one of the 14 elements:
char,
emph,
its:ruby,
object,
span,
ssml:break,
ssml:phoneme,
ssml:prosody,
ssml:say-as,
ssml:sub,
ssml:token,
sub,
sup or
wpart
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
word
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/