OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Can't disable TOC in book

Hi Jeff,
I think if you change that to xsl:import instead of xsl:include and place it first, then it should work.
Your current stylesheet generates an error in Saxon about a duplicate variable declaration.  By using xsl:include, the stock DocBook xsl:param elements are at the same import level as your param, which means it is a duplicate.   xsltproc does not report such errors.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Friday, July 15, 2011 8:40 PM
Subject: [docbook-apps] Can't disable TOC in book

I have a simple book which contains nothing but a glossary, but I can't seem to disable the TOC.  Here's the small XSL:

<?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
    <xsl:output method="html"/>
    <xsl:param name="generate.toc">
      /book nop
    <xsl:include href="file:///c:/home/jbrancier/pkg/emacs-21.3/site-lisp/xae-1.0beta7/doctypes/docbook/styles/docbook/html/docbook.xsl"/>

Can anyone tell me what I'm missing?  TIA (oh, and I did move the 'include' before the customization as well, with the same results)

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]