xsl-list
[Top] [All Lists]

RE: [xsl] exclude-result-prefixes required in each imported stylesheet

2006-09-18 09:14:14
It seems exclude-result-prefixes needs to be explicity set 
for each imported stylesheet, rather than using the value in 
the importing stylesheet - is that right?

Yes, it's scope is the stylesheet module.


Is there any reason why the exclude-result-prefixes value 
isn't taken from the importing stylesheet?  Not the biggest 
issue I know, just struck me as odd.


The only reasons I can think of are (a) to avoid a lot of complexity in
defining the rules for how it interacts with import precedence, (b) to
improve modularity, in the sense that the behaviour of a module is
controlled within that module.

Michael Kay
http://www.saxonica.com/


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

<Prev in Thread] Current Thread [Next in Thread>