Skip to content

<outputRendition>

describes the rendering or appearance intended for all occurrences of an element in a specified context for a specified type of output.

Module tagdocsTDPMOR

Attributes

@scopeprovides a way of defining pseudo-elements, that is, styling rules applicable to specific sub-portions of an element.
Status
Datatype
teidata.enumerated
Sample values
first-line
styling applies to the first line of the target element.
first-letter
styling applies to the first character of the target element.
before
styling should be applied immediately before the content of the target element.
after
styling should be applied immediately after the content of the target element.

Classes and content

Member of
May contain

Character data

  • character data
Contained by

cmc

linking

namesdates

spoken

verse

Note

This component of an element specification describes the rendering or appearance intended for all occurrences of the element in a specified context for a specified type of output. The rendition element, by contrast, describes the actual rendering or appearance of all occurrences of the specified element in a source document. The @useSourceRendition attribute may however be used to indicate that formatting information provided by a rendition element is to be combined with any provided by an outputRendition element.

It is strongly recommended that the W3C Cascading Stylesheet language (CSS2 or later) be used to express the required formatting information.

Example

<model predicate="ancestor::p" behaviour="inline">
  <outputRendition>font-style: italic;</outputRendition>
</model>
<model behaviour="block">
  <outputRendition>left-margin: 2em;</outputRendition>
</model>

Content model

<content>
    <textNode/>
  </content>