xsl-list
[Top] [All Lists]

RE: Conditionally use attribute sets?

2005-11-14 10:07:14
-----Original Message-----
From: JBryant(_at_)s-s-t(_dot_)com 

I think the good use for attribute sets is in non-conditional 
settings. I 
use them to define styles for FO documents (by keeping them 
in a separate 
file that I include for many documents).


Quite the same here.  I find the inheritance mechanism of attribute-sets to
be quite handy.  For FO applications, one often builds large collections of
attribute-sets that inherit from one another: body styles inherit font
sizes, etc. so that changes at a granular level can cascade throughout many
defined styles.  One may use import precedence of the stylesheets within
which the sets are defined as a very clean mechanism for localization and
customization.  Less-skilled users may make modifications to reports; yet
one only exposes those sets of properties one chooses to make configurable.
New application level styles can be propagated without trodding upon local
resets.

A web presentation layer can benefit in a similar fashion from such
treatment.

Mike


-----------------------------------
Mike Haarman,
XSL Developer,
Internet Broadcasting Systems, Inc.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--