> From: Jeff McKenna <[EMAIL PROTECTED]>
> 
> I am a beginner at this, so I apologize for this common question (yes I
> have went through the archives).  I want to modify the depth of the toc
> through a custom driver (I could change param.xsl manually I realize,
> but for my application a custom driver is much more flexible).  The
> following is a snippet of my custom driver:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> ...
> <xsl:variable name="toc.section.depth">3</xsl:variable>
> ...
> </xsl:stylesheet>
> 
> 
> When I use this I get the error: "Duplicate Global Variable
> Declaration".  How can I modify the depth then????  The archives
> mentioned the line above (<xsl:variable
> name="toc.section.depth">3</xsl:variable>) but it doesn't seem to work.
> Any help on this is much appreciated.  Thanks for your time.

This technique is certainly known to work, so I'm
wondering what's in the "..." in your example?
The first "..." should be:
   <xsl:import href="docbook.xsl"/>
and not:
   <xsl:include href="docbook.xsl"/>.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: [EMAIL PROTECTED]

Reply via email to