<outputRendition>

<outputRendition> describes the rendering or appearance intended for all occurrences of an element in a specified context for a specified type of output.
組件 tagdocs — Documentation Elements
屬性
scope⚓︎ provides a way of defining ‘pseudo-elements’, that is, styling rules applicable to specific sub-portions of an element.
狀態 非必備的
資料類型 teidata.enumerated
實例值包含:
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.
俱乐部会员
可包含在於
可包含 僅文字符號資料

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.

例子
<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>
宣告
<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
}