<outputRendition>

<outputRendition> describes the rendering or appearance intended for all occurrences of an element in a specified context for a specified type of output.
Modulo tagdocs — Documentation Elements
Attributi
scope⚓︎ provides a way of defining ‘pseudo-elements’, that is, styling rules applicable to specific sub-portions of an element.
Stato Opzionale
Tipo di dati teidata.enumerated
I valori esemplificativi includono:
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.
Membro del
Contenuto in
Può contenere Ammessi soltanto caratteri di testo
Nota

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.

Esempio
<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>
Dichiarazione
<rng:element name="outputRendition">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="scope">
   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element outputRendition
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute scope { teidata.enumerated }?,
   text
}