[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: extend an xslt template defined elsewhere?

Subject: Re: extend an xslt template defined elsewhere?
From: "Anthony Ettinger" <anthony@xxxxxxxxx>
Date: Sat, 20 Oct 2007 15:07:50 -0700
Re:  extend an xslt template defined elsewhere?
On 10/20/07, David Carlisle <davidc@xxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.