Shaun McCance
shaunm@gnome.org 2007-2009
A generic inline element that can be used for semantic, localization, and styling purpose.

# Spans

    mal_inline_span = element span {
      mal_attr_link ?,
      attribute style { xsd:NMTOKENS } ?,
      attribute * - (mal:* | local:*) { text } *,

      mal_inline
    }

Use the `span` element to surround a run of text without using any of the semantic inline elements. This is frequently necessary for extensions using attributes from external namespaces.

# Anmerkungen

Das `span`-Element kann eine Mischung aus Text und weiteren allgemeinen eingebetteten Elementen enthalten.

The `span` element can occur in any general inline context, including inside most inline elements, some basic block elements, and certain informational elements.

The `span` element can link to other pages or documents. See for more information.

The `style` attribute takes a space-separated list of style hints. Processing tools should adjust their behavior according to those style hints they understand.

The `span` element can have attributes from external namespaces. See for more information on external-namespace attributes.

# Beispiele

Use `span` with an external-namespace attribute to mark a word as untranslatable using the Internationalization Tag Set:

This <span its:translate="no">word</span> should not be translated.

Dieses word sollte nicht übersetzt werden.

# Processing Expectations

No particular special rendering is required for `span` elements. Processing tools may have special processing rules for certain style hints or external-namespace attributes.

# Vergleich mit anderen Formaten

The `span` element is similar to the `phrase` element in DocBook.