OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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. :-)


Geraint North
Principal Engineer

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

> Quoting Dave Pawson <davep@dpawson.co.uk>:
>> 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
> markus.hoenicka@cats.de
> (Spam-protected email: replace the quadrupeds with "mhoenicka")
> http://www.mhoenicka.de
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis- 
> open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]