The
char
element represents a single instance of a special character or a character with no Unicode equivalent.
The
char
element can contain either a single character or a
object
tag, for characters and symbols that require special typesetting or display (e.g. ornamented initials at the start of chapters).
Usage Example
<section role="chapter">
<h>Chapter I.</h>
<p><name><char><object src="init_A.png">A</object></char>lice</name> was beginning
to get very tired …</p>
</section>
Allowed parents
abbr,
d:about,
address,
annoref,
annotation (block variant),
annotation (phrase variant),
m:annotation-xml,
aside (block variant),
aside (toc variant),
block,
caption,
citation (block variant),
citation (phrase variant),
code,
d,
definition,
description (block variant),
description (phrase variant),
description (text variant),
emph (phrase variant),
emph (text variant),
entry (toc variant),
entry (index variant),
entry (bibliography variant),
entry (glossary variant),
expansion,
h,
hd,
hpart,
item,
ln (code variant),
ln (ln variant),
lnum,
d:longdesc,
meta,
name,
note (block variant),
note (phrase variant),
noteref,
num,
object (block variant),
object (phrase variant),
object (text variant),
sel:otherwise,
p,
ssml:phoneme (phrase variant),
ssml:phoneme (text variant),
ssml:prosody (phrase variant),
ssml:prosody (text variant),
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 (phrase variant),
span (text variant),
spine,
sub,
ssml:sub (phrase variant),
ssml:sub (text variant),
d:summary,
sup,
td,
term,
th,
time,
ssml:token (phrase variant),
ssml:token (text variant),
d:tour,
w,
sel:when and
wpart
Allowed children
This element must not contain text.
This element may contain the following children: object
Content model
optional attributes:
@about,
@by,
@class,
@content,
@datatype,
@desc,
@its:dir,
@its:translate,
@property,
@rel,
@resource,
@rev,
@role,
@sel:selid,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
a choice of
or
some data of type
string
compliant with the data type library
http://www.w3.org/2001/XMLSchema-datatypes
length must be 1
The
Character
datatype
:
A single character, as per section 2.2 of
XML.
end of choice
Namespace
http://www.daisy.org/ns/z3998/authoring/