Le Vendredi, 21 f�v 2003, � 13:30 Europe/Zurich, Matthew Lancashire a �crit :

What is the easiest methond of defineing what font/colour/sizes an element
has without re-coding the definitions in each xsl.

You could use "use-attribute-sets" to apply common attributes, along with "xsl:import" to include common attribute sets definitions in all your XSLT files.


An alternative would be to use CSS-like "class names" attributes on your elements, and replace these with the actual attributes in a second XSLT transform.

--
  Bertrand Delacretaz (codeconsult.ch, jfor.org)
  XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching
  blogspace http://www.codeconsult.ch/bertrand


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to