[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 07/09/2011 09:50, Jesper Tverskov wrote:
Re: [xsl] Onion-skin overriding stylesheet
Subject: Re: [xsl] Onion-skin overriding stylesheet From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 07 Sep 2011 10:34:20 +0100 |
On 07/09/2011 09:50, Jesper Tverskov wrote:
Which is a very good reason for not using that coding style.
As far as I know, no matter what a stylesheet looks like, we can always import and override it in another stylesheet. But if the original stylesheet is mostly one big template with many xsl:for-each, we will have to recreate most of the original stylesheet in the overriding stylesheet, and that is not that attractive.
Yes. Stylesheets should consist of lots of small templates and functions, to give maximum potential for evolution and reuse.
Is the onion-skin approach to stylesheet making so attractive, that we should make it a habit always to prepare for it, should we so to speak "override" optimize our stylesheets to make them as easy as possible to override (to maintain, to customize)?
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Onion-skin overriding sty, Andrew Welch | Thread | Re: [xsl] Onion-skin overriding sty, Geert Bormans |
Re: [xsl] Onion-skin overriding sty, Alex Muir | Date | Re: [xsl] Onion-skin overriding sty, Andrew Welch |
Month |