The
ln
element represents a single line of text.
The
lnum
element can be added to the start of the
ln
to represent numbered lines.
Usage Example
<ln>Of Man's first disobedience, and the fruit</ln>
Allowed parents
address (block variant),
address (phrase variant),
annoref,
annotation (block variant),
annotation (phrase variant),
block,
byline,
caption,
citation (block variant),
citation (phrase variant),
dateline,
definition,
description (block variant),
description (phrase variant),
emph,
expansion,
h,
hd,
item,
ln,
lngroup,
d:longdesc,
meta,
object (block variant),
object (phrase variant),
p,
quote (block variant),
quote (phrase variant),
its:rb,
ref,
its:rt,
s,
d:simplifiedLanguageDescription,
span,
d:summary,
td,
term,
th and
d:tour
Allowed children
This element may contain text.
This element may contain the following children: abbr,
address,
annoref,
annotation,
citation,
code,
definition,
emph (text variant),
emph (phrase variant),
expansion,
ln,
lnum,
name,
num,
object (text variant),
object (phrase variant),
quote,
ref,
its:ruby,
s,
span (text variant),
span (phrase variant),
sub,
sup,
term,
time and
w
Content model and additional requirements
optional attributes:
@about,
@by,
@class,
@content,
@continuation,
@datatype,
@desc,
@its:dir,
@its:translate,
@property,
@rel,
@resource,
@rev,
@role,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
a mix of
•
one or more of
a choice of either one of the 27 elements:
abbr,
address,
annoref,
annotation,
citation,
code,
definition,
emph,
emph,
expansion,
its:ruby,
ln,
name,
num,
object,
object,
quote,
ref,
s,
span,
span,
sub,
sup,
term,
time,
w or
w
or text
end of choice
end of mix
Note that in addition to restrictions presented in the content model above,
use of this element must also respect the following requirements:
- The
ln
element must not contain descendant
ln
elements.
- The
ln
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 2 variants. The other variant is the code variant.
Namespace
http://www.daisy.org/ns/z3998/authoring/