> > I have used: > > > > <xsl:param name="toc.section.depth">0</xsl:param> > > > > And it prodoced a TOC with only the topmost elements, and > > I have tested: > > > > <xsl:param name="toc.section.depth">1</xsl:param> > > > > and it produced a TOC as deep as it can bee... ;((( > > This simply works for me. Do you have recent version of stylesheets?
I am using 1.51.1 (upgraded three days ago). BTW the problem was here all the time any version I've used before.... > Does this error occur on section elements or > on other elements like refentries? Both the major TOC, and all section TOCs (like the toc for <part>s in the PHP manual are infinite deep - seems like it's treated as a boolean switch :( Goba