att.styleDef

att.styleDef provides attributes to specify the name of a formal definition language used to provide formatting or rendition information.
Moduletei — The TEI Infrastructure
Membersrendition styleDefDecl
AttributesAttributes
schemeidentifies the language used to describe the rendition.
Status Optional
Datatype teidata.enumerated
Legal values are:
css
Cascading Stylesheet Language
xslfo
Extensible Stylesheet Language Formatting Objects
free
Informal free text description
other
A user-defined rendition description language
Note

If no value for the @scheme attribute is provided, then the default assumption should be that CSS is in use.

schemeVersionsupplies a version number for the style language provided in scheme.
Status Optional
Datatype teidata.versionNumber
Schematron

<sch:rule context="tei:*[@schemeVersion]">
<sch:assert test="@scheme and not(@scheme = 'free')"> @schemeVersion can only be used if @scheme is specified.
 </sch:assert>
</sch:rule>
Note

If schemeVersion is used, then scheme should also appear, with a value other than free.