I would say: a) Yes it does make sense when the target isn't HTML since the <outputRendition> is also probably using CSS. The cssClass is a kind of label that the processing can then pass through to its output. Presumably this could be the name of a macro in LaTeX for example. We're only calling it cssClass because that is its most likely usage. I'm agnostic as to whether it would be beneficial to generalise that name (and all the good ones are taken...) b) You don't say which HTML you are on about. It is a cssClass which is made available to the processing implementation which it can choose to use or not. In your bootstrap example, my processing implementation can choose to ignore or rename those classes to something completely different on multiple elements or none. My 2 pence, -James On 04/03/16 13:35, Lou Burnard wrote:
Does it make any sense at all to use @cssClass on a processing model which is not going to produce HTML? I assume not, since sfaik a CSS class has to be specified on an HTML element. But suppose that my processing generates several different HTML elements for a single TEI element. How do I say which HTML element I am on about?
-- Dr James Cummings, James.Cummings@it.ox.ac.uk Academic IT Services, University of Oxford