§
<rendition>
<rendition> supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration] | |||||||||||||||||||||||||
Module | header | ||||||||||||||||||||||||
Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @rendition)) (att.global.responsibility (@cert, @resp)) att.styleDef (@scheme)
| ||||||||||||||||||||||||
Contained by | header: tagsDecl | ||||||||||||||||||||||||
May contain | |||||||||||||||||||||||||
Declaration | element rendition { attribute scheme { text }?, attribute scope { text }?, attribute selector { data.text }?, macro.limitedContent } | ||||||||||||||||||||||||
Schematron | <sch:rule context="tei:rendition"> <sch:assert test="some $i in //@rendition satisfies tokenize($i, '\s+')[replace(., '#', '') = current()/@xml:id]"> Please remove all <sch:name/> definitions that aren't actually being used in the article. </sch:assert></sch:rule> | ||||||||||||||||||||||||
Example | <tagsDecl> <rendition xml:id="r-center" scheme="css">text-align: center;</rendition> <rendition xml:id="r-small" scheme="css">font-size: small;</rendition> <rendition xml:id="r-large" scheme="css">font-size: large;</rendition> <rendition xml:id="initcaps" scope="first-letter" scheme="css">font-size: xx-large</rendition> </tagsDecl> | ||||||||||||||||||||||||
Note | The present release of these Guidelines does not specify the content of this element in any further detail. It may be used to hold a description of the default rendition to be associated with the specified element, expressed in running prose, or in some more formal language such as CSS. |