DITA 2.0 - topic2fo.xsl
Posted: Wed Apr 22, 2015 1:50 am
Hi, am making to move to DITA 2.0, and am working through a couple of issues.
1. In DITA-OT 1.8.5 - ../org.dita.pdf2/cfg/xsl/fo/topic2fo.xsl file. At the end of the document, there was the following code to set the TOC levels:
<!-- Remaining parameters are not passed in with the default Ant code. -->
<xsl:param name="tocMaximumLevel" select="3"/>
<xsl:param name="ditaVersion" select="number(/*[contains(@class,' map/map ')]/@ditaarch:DITAArchVersion)"/>
This worked fine for me - but is not present in the corresponding file in DITA 2.0. I copied it across, and all works as before. Is this processing now done elsewhere in DIT 2.0
2. The other issue is with my footer customization. They work in DITA 2.0, except for the footer / header is not applied on the last page of each topic. It is as though I have to add a "insertBodyLastFooter" and Header?
Would appreciate any thoughts
1. In DITA-OT 1.8.5 - ../org.dita.pdf2/cfg/xsl/fo/topic2fo.xsl file. At the end of the document, there was the following code to set the TOC levels:
<!-- Remaining parameters are not passed in with the default Ant code. -->
<xsl:param name="tocMaximumLevel" select="3"/>
<xsl:param name="ditaVersion" select="number(/*[contains(@class,' map/map ')]/@ditaarch:DITAArchVersion)"/>
This worked fine for me - but is not present in the corresponding file in DITA 2.0. I copied it across, and all works as before. Is this processing now done elsewhere in DIT 2.0
2. The other issue is with my footer customization. They work in DITA 2.0, except for the footer / header is not applied on the last page of each topic. It is as though I have to add a "insertBodyLastFooter" and Header?
Would appreciate any thoughts