<outputRendition>
<outputRendition> describes the rendering or appearance intended for all occurrences of an element in
a specified context for a specified type of output.
| Module | tagdocs | ||||||||
| Attributes |
|
||||||||
| Contained by |
header: rendition
|
||||||||
| May contain | Character data only | ||||||||
| 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.
|
||||||||
| Examples |
<model predicate="ancestor::p" behaviour="inline"> <outputRendition>font-style: italic;</outputRendition> </model> <model behaviour="block"> <outputRendition>left-margin: 2em;</outputRendition> </model> |
||||||||
| Source | Github
<elementSpec rend="change" ident="outputRendition" module="tagdocs"> <desc> describes the rendering or appearance intended for all occurrences of an element in a specified context for a specified type of output.</desc> <classes/> <content> <textNode/> </content> <attList> <attDef ident="scope"> <desc>provides a way of defining <soCalled>pseudo-elements</soCalled>, that is, styling rules applicable to specific sub-portions of an element.</desc> <datatype> <dataRef key="teidata.enumerated"/> </datatype> <valList type="open"> <valItem ident="first-line"> <desc>styling applies to the first line of the target element.</desc> </valItem> <valItem ident="first-letter"> <desc>styling applies to the first character of the target element.</desc> </valItem> <valItem ident="before"> <desc>styling should be applied immediately before the content of the target element.</desc> </valItem> <valItem ident="after"> <desc>styling should be applied immediately after the content of the target element.</desc> </valItem> </valList> </attDef> </attList> </elementSpec> |