Notices page after cover page but before TOC
Posted: Thu Nov 17, 2022 7:50 am
Hi all,
I am trying to move the Notices page before the TOC. I have the following code on my front-matter.xsl:
I have tried in the bookmap but it doesn't work. The bookmap looks like this:
Is there a way I can do this in the XSL?
Thanks,
I am trying to move the Notices page before the TOC. I have the following code on my front-matter.xsl:
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1">
<xsl:import href="create_cover.xsl"/>
<xsl:template name="createFrontMatter">
<fo:page-sequence master-reference="front-matter" xsl:use-attribute-sets="__force__page__count">
<xsl:call-template name="insertFrontMatterStaticContents"/>
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="__frontmatter">
<xsl:call-template name="create_cover" />
</fo:block>
</fo:flow>
</fo:page-sequence>
<xsl:call-template name="createNotices"/>
</xsl:template>
</xsl:stylesheet>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//IXIA//DTD IXIA DITA Map//EN" "IxiaMap.dtd">
<bookmap id="dnm1602234334202" rev="12.2" xml:lang="en-us">
<booktitle ixia_locid="1">
<mainbooktitle ixia_locid="2">Course Guide</mainbooktitle>
</booktitle>
<bookmeta>
<author ixia_locid="3">Test Company</author>
<category ixia_locid="4">Education</category>
<prodinfo>
<prodname ixia_locid="5">Test</prodname>
<vrmlist>
<vrm modification="1.0" version="12.2"/>
</vrmlist>
</prodinfo>
</bookmeta>
<frontmatter audience="pdf" ixia_locid="9">
<notices ixia_locid="12">
<topicref href="uop1602234357779.xml" ixia_locid="13" toc="no"/>
</notices>
<booklists ixia_locid="10">
<toc ixia_locid="11"/>
</booklists>
</frontmatter>
<chapter href="xwf1602234358757.xml" ixia_locid="14"/>
<chapter format="ditamap" href="vcy1602234374505.ditamap" ixia_locid="15" keys="vcy1602234374505"/>
<chapter format="ditamap" href="rim1602237336312.ditamap" ixia_locid="16" keys="rim1602237336312"/>
</bookmap>
Thanks,