static-content.xsl

Here should go questions about transforming XML with XSLT and FOP.
PhilSmith
Posts: 19
Joined: Sat Oct 26, 2013 6:31 am

static-content.xsl

Post 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
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: static-content.xsl

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply