Schema Documentation - Newsfeed Aggregator Profile
version 1.0

The phrase variant of the span element

On this page:

The span element represents an arbitrary phrase of text.

The span element is similar to the block element in that only acts a container for its child content. It is a semantically neutral element by default, but may express some other commonality between the elements such as formatting or language.

To convey a semantic connection between the child content, the optional role attribute must be attached.

Usage Example

In the sea around <span xml:lang="es">Tierra del Fuego</span>, and at no great distance from the land, 
  I have seen narrow lines of water of a bright red colour …
    

Allowed parents

address, 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, 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, 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

one or more of
a choice of
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 span 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 text variant.

Namespace

http://www.daisy.org/ns/z3998/authoring/