xsl-list
[Top] [All Lists]

Re: [xsl] extend an xslt template defined elsewhere?

2007-10-20 15:08:25
On 10/20/07, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


Its too bad <xsl:attribute-set> doesn't support xsl:if or xsl:choose.

more or less anywhere where you could use attribute sets you could
instead used a named template, and if you do you can use any xsl
instruction. (One reason why I don't think attribute sets are very much
used (I have never used them nearly a decade of XSL use.)

David


I can see its benefit in a case where you have multiple inheritance
and want a central configurable parameter set.

I ended up just overriding the existing template in my customization
layer. Its ok for now, but eventually I will end up overriding just
about all of docbook's xhtml to gain finer control.


-- 
Anthony Ettinger
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks("very loud");
bonita.barks("at strangers");

http://chovy.dyndns.org/resume/
http://utuxia.com/consulting

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