This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Modify toc.section.depth through custom driver (XSL)


 
Hello,

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.

Jeff
 
 

--------------------------
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
Ottawa, Ontario
http://www.dmsolutions.ca
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]