att.styleDef

att.styleDef provides attributes to specify the name of a formal definition language used to provide formatting or rendition information.
Module tei
Members rendition
Attributes Attributes
scheme identifies 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.
schemeVersion supplies 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.
Source Github

<classSpec module="tei" type="atts" ident="att.styleDef">
   
<desc>provides attributes to specify the name of a formal definition
 language used to provide formatting or rendition information.
</desc>
   
<attList>
      
<attDef ident="scheme">
         
<desc>identifies the language used to describe the rendition.</desc>
         
<datatype>
            
<dataRef key="teidata.enumerated"/>
         
</datatype>
         
<valList type="closed">
            
<valItem ident="css">
               
<desc>Cascading Stylesheet Language</desc>
            
</valItem>
            
<valItem ident="xslfo">
               
<desc>Extensible Stylesheet Language Formatting Objects</desc>
            
</valItem>
            
<valItem ident="free">
               
<desc>Informal free text description</desc>
            
</valItem>
            
<valItem ident="other">
               
<desc>A user-defined rendition description language</desc>
            
</valItem>
         
</valList>
      
</attDef>
      
<attDef ident="schemeVersion" usage="opt">
         
<desc>supplies a version number for the style language provided in <att>scheme</att>.</desc>
         
<datatype>
            
<dataRef key="teidata.versionNumber"/>
         
</datatype>
      
</attDef>
   
</attList>
</classSpec>