xsl-list
[Top] [All Lists]

RE: Conditionally use attribute sets?

2005-11-15 02:52:45
Hi, 

That's what I thought till I started to properly write 
stylesheets for 
FO generation. Import precedence with attribute sets is bliss, 
something you don't get with named templates.

Why not? import precedence applies to template names.

Sorry, should have been more specific. If you use attribute sets, you can 
override some of the attributes in a set using import precedence, but when 
using a template you have to redeclare all attributes as templates don't have 
an equivalent of apply-imports.

Jarno

--~------------------------------------------------------------------
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>
--~--