hi,
I'm using xsltproc, DocBook 5, and the XSL-NS1.75.1 stylesheets.
I have customized chunking to give a filename matching this pattern:
booklabel_chapterlabel_sect00nn.htm
where the 'sect00nn' represents the section number.

My problem is that even though the generated filenames are correct, the 
auto-generated tocs are wrong. Well, not all wrong, just the tocs that 
reference a section that does *not* have its own file.

For example, in my 2nd-level section (book_chapter_sect002.htm) there is a toc 
that lists the 3rd level sections contained in the current file. the toc 
contains links that point to:
book_chapter_sect003.htm
book_chapter_sect004.htm

The problem is that those files don't exist since the content is inside the 2nd 
level section.

My relevant parameter settings:
<xsl:param name="chunk.first.sections" select="1"></xsl:param>
<xsl:param name="chunk.section.depth" select="2"></xsl:param>
<xsl:param name="toc.section.depth">2</xsl:param>
<xsl:param name="generate.section.toc.level" select="2"></xsl:param>
<xsl:param name="toc.max.depth">1</xsl:param>

I've read and re-read the DocBook XSL guide on chunking, googled, etc. My guess 
is that the part of chunking.xsl that returns the filename is getting called 
when it should not.

Has anyone seen something like this and can point me to the places I need to 
investigate?
thanks,
--Tim


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to