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

From
Geraint North <>
Date
2007-09-12T12:12:22+00:00
ID
Thread
Re: [docbook-apps] Managing changes to the XSLT stylesheets
Thanks Markus - that's precisely what I was trying to say!

Now, this bit me because I had happened to customise the 'section'  
templates, which had changed a fair bit - I may have just been  
unlucky in this regard, but since I was simply adding new lines, the  
'diff' approach would have worked cleanly.

Of course, what would be nice is a diff <-> customization layer  
conversion tool, but I'll leave that for another day. :-)

Thanks,

Geraint North
Principal Engineer
Transitive


On 12 Sep 2007, at 13:01, Markus Hoenicka wrote:

> Quoting Dave Pawson <>:
>
>> Confused. As you say, each time you update you lose your changes if
>> you modify 'docbooks' stylesheets.
>> A customization layer is much nicer, and re-usable.
>> E.g. if your directory stuff was in one stylesheet, I could  
>> include that
>> before the docbook ones. Then I get mine, yours, docbooks, all in
>> the right priority order.
>>
>
> I think the problem Geraint wanted to point out is that a  
> customization layer does not pick up altered templates in a new  
> version of the stylesheets automatically. Assume you override the  
> rendering of element A for whatever reason, based on version 1.68,  
> and put that into a customization layer. Then you upgrade the  
> official stylesheets to 1.73 which contain a new version of the  
> template of element A. Thanks to your customization layer, you  
> still use your (modified) version of 1.68.
>
> regards,
> Markus
>
> -- 
> Markus Hoenicka
> 
> (Spam-protected email: replace the quadrupeds with "mhoenicka")
> http://www.mhoenicka.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: - 
> open.org
>