Schema Documentation - Generic Document Profile
version 1.0

The ln variant of the ln element

On this page:

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), m:annotation-xml, aside (block variant), aside (toc variant), block, caption, citation (block variant), citation (phrase variant), d, definition, description (block variant), description (phrase variant), emph, entry (bibliography variant), entry (glossary variant), entry (index variant), entry (toc variant), expansion, xforms:group, h, hd, hpart, item, xforms:label, ln, lngroup, d:longdesc, meta, note (block variant), note (phrase variant), noteref, object (block variant), object (phrase variant), sel:otherwise, p, ssml:phoneme, ssml:prosody, quote (block variant), quote (phrase variant), its:rb, ref, xforms:repeat, its:rt, s, ssml:say-as (phrase variant), ssml:say-as (text variant), section, d:simplifiedLanguageDescription, span, ssml:sub, d:summary, td, term, th, d:tour, verse and sel:when

Allowed children

This element may contain text.

This element may contain the following children: abbr, address, annoref, annotation, ssml:break, char, citation, code, d, definition, emph (text variant), emph (phrase variant), expansion, xforms:input, rend:linebreak, ln, lnum, 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), quote, 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 (text variant), span (phrase 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

optionally the following 2 co-ocurring attributes: @ssml:alphabet and @ssml:ph
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/