[tei-council] @style /rend/rendition coexistence

Lou Burnard lou.burnard at retired.ox.ac.uk
Fri Oct 5 14:08:22 EDT 2012


Just to make sure we're all on the same page, here are some suggested 
rules on style/rend/rendition usage, to be documented in STGA as part of 
my introduction of @style.


1. An element's style can be specified generically using the <rendition> 
element. i.e. if I find a <foo> AND  there's a  <rendition> is supplied 
within <tagUsage ident="foo">, then that's the default

Unless...

2. ... <foo rendition="#something"> means that the rendition supplied by 
<rendition xml:id="something"> over-rides (or complements?) any default.

or

3. ... <foo style="text:style whatever"> works in the same way i.e. any 
default is over-ridden (or complemented?)

or

4. ... <foo rend="wibble"> is entirely independent of any rendition 
rules inherited from <rendition>. My applications Just Have To Know what 
wibbled text is and deal accordingly.

If that's so...

A. What does

<foo rendition="#something" style="something else"> mean?

Is it illegal? or does it mean that "#something" and "something else" 
have to be unified, in just the same way as they would if "something 
else" were the default <rendition> for <foo> and I had supplied just the 
@rendition attribute.

B. What does

<foo style="something else" rend="wibble"> mean?

By rule 4, we Just Don't Know. But we don't feel brave enough to outlaw 
it. Or do we?

Outstanding questions.

-- What does "unification" mean if the expressions come from different 
languages? (e.g FO and CSS)

-- Where do we specify the language in which @style values are expressed ?





More information about the tei-council mailing list