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] | [Elist Home]


Subject: DOCBOOK-APPS: 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
 
 
 



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


Powered by eList eXpress LLC