Customization best practices
Posted: Sun May 12, 2013 7:21 pm
Hi,
I started to apply some customizations to the DocBook stylesheets that come with Oxygen XML.
I customized docbook_custom.xsl in frameworks/docbook/xsl/fo.
However I'd consider making changes to files that are part of the standard file set of a product to be a bad practice. How bad this is one can see when installing a new version of Oxygen XML over an existing (customized) installation: The old installation is completely erased (although a warning is given before that) and with that my customizations as well.
I wonder if it is possible to apply customizations in such a way that they are done outside of the standard product install.
I tried to move docbook_custom.xsl to an external directory and modify the imports in the file but this didn't work and I didn't have enough time to figure out why.
Do you have any tips on customization best practices without modifying the standard Oxygen file set?
Thanks.
Regards,
Florian
I started to apply some customizations to the DocBook stylesheets that come with Oxygen XML.
I customized docbook_custom.xsl in frameworks/docbook/xsl/fo.
However I'd consider making changes to files that are part of the standard file set of a product to be a bad practice. How bad this is one can see when installing a new version of Oxygen XML over an existing (customized) installation: The old installation is completely erased (although a warning is given before that) and with that my customizations as well.
I wonder if it is possible to apply customizations in such a way that they are done outside of the standard product install.
I tried to move docbook_custom.xsl to an external directory and modify the imports in the file but this didn't work and I didn't have enough time to figure out why.
Do you have any tips on customization best practices without modifying the standard Oxygen file set?
Thanks.
Regards,
Florian