[tei-council] [Fwd: Stylesheet generation]

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Tue Mar 4 10:14:51 EST 2008


not sure where to go with thoughtful stuff like this.

-------- Original Message --------
Subject: 	Stylesheet generation
Date: 	Tue, 04 Mar 2008 22:49:43 +0800
From: 	Brett Zamir <brettz9 at yahoo.com>
To: 	Sebastian Rahtz <sebastian.rahtz at oucs.ox.ac.uk>



Hi again,

Just wondering also if it might be possible to define the stylesheets to 
utilize <rendition> and @rendition/<tagUsage render>, as well as @rend 
in a thorough manner which checked for CSS definitions within the above 
in the case of each element? Or perhaps, since XSL-FO seems like a 
superset of CSS for the most part, what about getting <rendition> to 
accept type xs:ANY to allow inclusion of XSL-FO tags directly (to avoid 
such a usage breaking TEI conformance, if such a schema change would 
indeed be breaking conformance) which could in turn be converted to CSS?

I think that one feature that might help one to allow more standard 
specifications would be to add an attribute to <rendition> to allow for 
specification of pseudo-elements like :first, :before, :after , since 
merely adding the declaration of properties alone does not indicate in a 
standardized manner how such property declarations should be applied to 
the resulting element. (For example, to specify that <q> should get a 
curly left quote and curly right quote; I know you have some mechanisms 
to do this, but it seems to require something deviating from standard CSS.)

Seeking to implement the above in a complete manner would also I think 
ideally allow the specification in the case of XHTML of whether the CSS 
should be created inline or as a separate stylesheet. (I believe at 
least with XSLT 2.0 if not 1.0 you can create separate output documents 
from one stylesheet, though I haven't researched how to do so.)

Brett



-- 
Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list