DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Stylesheet customization

  • Subhasini

    Stylesheet customization

    Participants 0
    Replies 1
    Last Activity 9 years ago

    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 foattrs 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

    Reply

    Derek Read

    Reply to: Stylesheet customization

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

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support