Re: [docbook-apps] Managing changes to the XSLT stylesheets

From
Markus Hoenicka <>
Date
2007-09-12T12:28:12+00:00
ID
Thread
Re: [docbook-apps] Managing changes to the XSLT stylesheets
Quoting Dave Pawson <>:


> If your latest stylesheets are always installed in the same location,
> you only need worry when something 'breaks', which is probably
> only going to happen e.g. when we move from 4.5 to 5 or something like that?
>

No, the problem does not depend on where your stylesheets are  
installed. Let's look at a more contrived example. Assume the 1.68  
stylesheets render element A in a straightforward manner using 10  
lines of xslt code. All you want to change is to replace a comma that  
the template uses as a separator somewhere with a semicolon. You copy  
that ten lines to your customization layer and replace the comma. Now  
the 1.73 stylesheets offer a vastly improved rendering of element A,  
using all bells and whistles, coded in 100 lines of xslt code. After  
the upgrade you still get your simple rendering, albeit with the  
semicolon. What Geraint asked for is the bells and whistles rendering,  
plus the comma replaced by a semicolon.

regards,
Markus

-- 
Markus Hoenicka

(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de