Page 1 of 1

static-content.xsl

Posted: Sat Oct 26, 2013 6:40 am
by PhilSmith
Quick question - I have customized my PDF footer using the static-content.xsl file.
Appreciate it may have been better to do this through the en.xml file in my customization directory.
Am I able to put the modified static-content.xsl file in my customization directory? There isn't an xsl folder similar to the one in the config directory - other than the one under /fo.
I am using DITA OT 1.7
Thanks
Phil

Re: static-content.xsl

Posted: Mon Oct 28, 2013 11:47 am
by Radu
Hi Phil,

So if you create a customization directory for the PDF output using the steps listed here:

http://www.oxygenxml.com/doc/ug-oxygen/ ... ation.html

in that custom.xsl you can paste the xsl:template that you want to customize from the static-content.xsl. You then change that template in the custom.xsl according to your needs. So you must not replicate the entire XSLT hierarchy.

I had a larger discussion about how the custom.xsl overriding behavior actually works here:

http://www.oxygenxml.com/forum/post28133.html#p28139

Regards,
Radu