Pages: 1
Print
Author Topic: Stylesheet customization  (Read 1375 times)
Subhasini
Member

Posts: 1


« on: September 18, 2013, 05:23:58 AM »

I have a small query in the customization of style sheets.

Which xsl file we need to change?
Is it custom.xsl available in the fo\attrs\ in the Customization folder?
Is it necessary to do all the customization like Front matter, Headers, Footers in this file only?
Can we do the changes in the corresponding files?

Can anyone answer this question?

Thanks & Regards,

Subhasini
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2579



WWW
« Reply #1 on: September 18, 2013, 03:04:09 PM »

You are free to change any part of the toolkit you like (you'll know when you've broken something). However, the DITA OT designers included the custom.xsl file so you can keep all of your overrides and additions in one place, which should make it easier to duplicate your changes to other computers as well as keep track of what has been altered. In theory it might also make it easier to migrate changes to newer versions of the toolkit.

I would recommend that in addition to a comment describing what the change does and why you also include a path to the original file whose template you are overriding, as it will make it easier to find in the future if you need to do so (or if someone else inherits your changes).
« Last Edit: September 18, 2013, 03:28:57 PM by Derek Read » Logged
Pages: 1
Print
Jump to: