There is something odd going on. I cannot override this template.
I have created a file that contains my customization and I import that from customs.xsl.
So custom.xls looks like this.
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:fo="
http://www.w3.org/1999/XSL/Format"
xmlns:exsl="
http://exslt.org/common"
xmlns:opentopic="
http://www.idiominc.com/opentopic"
xmlns:exslf="
http://exslt.org/functions"
xmlns:opentopic-func="
http://www.idiominc.com/opentopic/exsl/function"
extension-element-prefixes="exsl"
exclude-result-prefixes="opentopic exslf opentopic-func"
version="1.1">
<!--
****************************************
Template customization driver file
v 0.91
August 8, 2007
****************************************
This driver file:
1. collects the XSL template overrides via xsl:import
2. sets header and footer content overrides
(to style headers and footers, see [Customization]/fo/attrs/custom.xsl)
-->
<xsl:import href="xm_image_size_fix.xsl"/>
<xsl:import href="xm_marker_fix.xsl"/>
<xsl:import href="xm_bookmeta_fix.xsl"/>
<xsl:import href="xm_attr_set_reflection_mod.xsl"/>
<xsl:import href="xm_static_content.xsl"/>
<xsl:import href="xm_common_vars.xsl"/>
<xsl:import href="xm_titlepage.xsl"/>
<xsl:import href="xm_layout_masters_overrides.xsl" />
<xsl:import href="xm_commons_mod.xsl"/>
<xsl:import href="xm_tables.xsl"/>
<xsl:import href="xm_choicetable_fix.xsl" />
<xsl:import href="xm_index.xsl" />
<xsl:import href="xm_ui_domain.xsl" />
<xsl:import href="xm_glossary.xsl" />
<xsl:import href="xm_toc.xsl" />
<xsl:import href="xm_bookmarks.xsl" />
<xsl:import href="IF_system_guide_draft.xsl" />
<!-- Variables and parameters -->
</xsl:stylesheet>
I can create an output without any problems with this file IF_system_Guide_draft,xsl. That is, i see comments in the PDF output and the appendices don't have a min-toc:
<!--
IF Modifications for draft system guide
-->
<xsl:stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:fo="
http://www.w3.org/1999/XSL/Format"
xmlns:exsl="
http://exslt.org/common"
xmlns:opentopic="
http://www.idiominc.com/opentopic"
extension-element-prefixes="exsl"
exclude-result-prefixes="opentopic"
version='1.1'>
<!-- IF 22 Oct 2010 Always display draft comments; don't show disposition or status -->
<xsl:template match="*[contains(@class,' topic/draft-comment ')]">
<fo:block xsl:use-attribute-sets="draft-comment" id="{@id}">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<!-- IF 22 Oct 2010 Remove mini-TOC from Appendix -->
<xsl:template name="processTopicAppendix">
<fo:page-sequence master-reference="body-sequence" xsl:use-attribute-sets="__force__page__count">
<xsl:call-template name="insertBodyStaticContents"/>
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="topic">
<xsl:attribute name="id">
<xsl:value-of select="@id"/>
</xsl:attribute>
<xsl:if test="not(ancestor::*[contains(@class, ' topic/topic ')])">
<fo:marker marker-class-name="current-topic-number">
<xsl:number format="1"/>
</fo:marker>
<fo:marker marker-class-name="current-header">
<xsl:for-each select="child::*[contains(@class,' topic/title ')]">
<xsl:call-template name="getTitle"/>
</xsl:for-each>
</fo:marker>
</xsl:if>
<xsl:apply-templates select="*[contains(@class,' topic/prolog ')]"/>
<xsl:call-template name="insertChapterFirstpageStaticContent">
<xsl:with-param name="type" select="'appendix'"/>
</xsl:call-template>
<fo:block xsl:use-attribute-sets="topic.title">
<xsl:for-each select="child::*[contains(@class,' topic/title ')]">
<xsl:call-template name="getTitle"/>
</xsl:for-each>
</fo:block>
<!--IF 22 Oct 2010 xsl:call-template name="createMiniToc"/-->
<xsl:apply-templates select="*[contains(@class,' topic/topic ')]"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</xsl:template>
</xsl:stylesheet>
But as soon as I add the processglossarylist template to my IF_system_guide_draft.xsl file, i get a build error. I haven't even made changes to the template. the message is this. the filename changes randomly each time i try it.
C:\Users\IFusey\AppData\Roaming\SoftQuad\XMETAL~1\DITA_OT\build_preprocess.xml:186: Failed to copy C:\Users\IFusey\AppData\Roaming\SoftQuad\XMETAL~1\DITA_OT\temp\lbl\g_electrocardiogram.xml.pull to C:\Users\IFusey\AppData\Roaming\SoftQuad\XMETAL~1\DITA_OT\temp\lbl\g_electrocardiogram.xml due to C:\Users\IFusey\AppData\Roaming\SoftQuad\XMETAL~1\DITA_OT\temp\lbl\g_electrocardiogram.xml (Access is denied)