[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Wrong footer navigation links in HTML output
Hello, In the chunked HTML output generated from a Docbook book document using the html/chunk.xsl stylesheet with the params chunk.section.depth = 6 and use.id.as.filename = 1 some footer navigation links are wrong. For example in the output files generated from the attached Docbook file the footer navigation links are wrong for "Next" in Section1.1.1.1.html ("Next" links to Section1.1.1.2 instead of Section1.1.1.1.1), in Section1.1.1.1.1.html ("Next" links to Section1.1.1.2 instead of Section1.1.1.1.2), in Section1.1.1.2.html ("Next" links to Section1.1.2 instead of Section1.1.1.2.1), etc. Also some "Prev" links are wrong, for example in Section1.1.1.2.html ("Prev" links to Section1.1.1.1 instead of Section1.1.1.1.2), in Section1.1.1.1.2.html ("Prev" links to Section1.1.1.1 instead of Section1.1.1.1.1), etc. It seems to be caused by the values of the params prev and next received by the "footer.navigation" named template in chunk-common.xsl. Does anyone have a fix for this problem? Regards, Sorin http://www.oxygenxml.com
<?xml version="1.0" encoding="UTF-8"?> <book> <bookinfo> <title>Test Nav Links</title> <author> <firstname>First Name</firstname> <surname>Last Name</surname> </author> </bookinfo> <chapter id="Chapter0"> <title>Chapter0 Title</title> <para>Chapter0 Text</para> </chapter> <chapter id="Chapter1"> <title>Chapter1 Title</title> <para>Chapter1 Text</para> <sect1 id="Section1.0"> <title>Section1.0 Title</title> <para>Section1.0 Text</para> </sect1> <sect1 id="Section1.1"> <title>Section1.1 Title</title> <para>Section1.1 Text</para> <sect2 id="Section1.1.0"> <title>Section1.1.0 Title</title> <para>Section1.1.0 Text</para> </sect2> <sect2 id="Section1.1.1"> <title>Section1.1.1 Title</title> <para>Section1.1.1 Text</para> <sect3 id="Section1.1.1.0"> <title>Section1.1.1.0 Title</title> <para>Section1.1.1.0 Text</para> </sect3> <sect3 id="Section1.1.1.1"> <title>Section1.1.1.1 Title</title> <para>Section1.1.1.1 Text</para> <sect4 id="Section1.1.1.1.0"> <title>Section1.1.1.1.0 Title</title> <para>Section1.1.1.1.0 Text</para> </sect4> <sect4 id="Section1.1.1.1.1"> <title>Section1.1.1.1.1 Title</title> <para>Section1.1.1.1.1 Text</para> </sect4> <sect4 id="Section1.1.1.1.2"> <title>Section1.1.1.1.2 Title</title> <para>Section1.1.1.1.2 Text</para> </sect4> </sect3> <sect3 id="Section1.1.1.2"> <title>Section1.1.1.2 Title</title> <para>Section1.1.1.2 Text</para> <sect4 id="Section1.1.1.2.0"> <title>Section1.1.1.2.0 Title</title> <para>Section1.1.1.2.0 Text</para> </sect4> <sect4 id="Section1.1.1.2.1"> <title>Section1.1.1.2.1 Title</title> <para>Section1.1.1.2.1 Text</para> </sect4> <sect4 id="Section1.1.1.2.2"> <title>Section1.1.1.2.2 Title</title> <para>Section1.1.1.2.2 Text</para> </sect4> </sect3> </sect2> <sect2 id="Section1.1.2"> <title>Section1.1.2 Title</title> <para>Section1.1.2 Text</para> <sect3 id="Section1.1.2.0"> <title>Section1.1.2.0 Title</title> <para>Section1.1.2.0 Text</para> </sect3> <sect3 id="Section1.1.2.1"> <title>Section1.1.2.1 Title</title> <para>Section1.1.2.1 Text</para> <sect4 id="Section1.1.2.1.0"> <title>Section1.1.2.1.0 Title</title> <para>Section1.1.2.1.0 Text</para> </sect4> <sect4 id="Section1.1.2.1.1"> <title>Section1.1.2.1.1 Title</title> <para>Section1.1.2.1.1 Text</para> </sect4> <sect4 id="Section1.1.2.1.2"> <title>Section1.1.2.1.2 Title</title> <para>Section1.1.2.1.2 Text</para> </sect4> </sect3> <sect3 id="Section1.1.2.2"> <title>Section1.1.2.2 Title</title> <para>Section1.1.2.2 Text</para> <sect4 id="Section1.1.2.2.0"> <title>Section1.1.2.2.0 Title</title> <para>Section1.1.2.2.0 Text</para> </sect4> <sect4 id="Section1.1.2.2.1"> <title>Section1.1.2.2.1 Title</title> <para>Section1.1.2.2.1 Text</para> </sect4> <sect4 id="Section1.1.2.2.2"> <title>Section1.1.2.2.2 Title</title> <para>Section1.1.2.2.2 Text</para> </sect4> </sect3> </sect2> </sect1> <sect1 id="Section1.2"> <title>Section1.2 Title</title> <para>Section1.2 Text</para> <sect2 id="Section1.2.0"> <title>Section1.2.0 Title</title> <para>Section1.2.0 Text</para> </sect2> <sect2 id="Section1.2.1"> <title>Section1.2.1 Title</title> <para>Section1.2.1 Text</para> <sect3 id="Section1.2.1.0"> <title>Section1.2.1.0 Title</title> <para>Section1.2.1.0 Text</para> </sect3> <sect3 id="Section1.2.1.1"> <title>Section1.2.1.1 Title</title> <para>Section1.2.1.1 Text</para> <sect4 id="Section1.2.1.1.0"> <title>Section1.2.1.1.0 Title</title> <para>Section1.2.1.1.0 Text</para> </sect4> <sect4 id="Section1.2.1.1.1"> <title>Section1.2.1.1.1 Title</title> <para>Section1.2.1.1.1 Text</para> </sect4> <sect4 id="Section1.2.1.1.2"> <title>Section1.2.1.1.2 Title</title> <para>Section1.2.1.1.2 Text</para> </sect4> </sect3> <sect3 id="Section1.2.1.2"> <title>Section1.2.1.2 Title</title> <para>Section1.2.1.2 Text</para> <sect4 id="Section1.2.1.2.0"> <title>Section1.2.1.2.0 Title</title> <para>Section1.2.1.2.0 Text</para> </sect4> <sect4 id="Section1.2.1.2.1"> <title>Section1.2.1.2.1 Title</title> <para>Section1.2.1.2.1 Text</para> </sect4> <sect4 id="Section1.2.1.2.2"> <title>Section1.2.1.2.2 Title</title> <para>Section1.2.1.2.2 Text</para> </sect4> </sect3> </sect2> <sect2 id="Section1.2.2"> <title>Section1.2.2 Title</title> <para>Section1.2.2 Text</para> <sect3 id="Section1.2.2.0"> <title>Section1.2.2.0 Title</title> <para>Section1.2.2.0 Text</para> </sect3> <sect3 id="Section1.2.2.1"> <title>Section1.2.2.1 Title</title> <para>Section1.2.2.1 Text</para> <sect4 id="Section1.2.2.1.0"> <title>Section1.2.2.1.0 Title</title> <para>Section1.2.2.1.0 Text</para> </sect4> <sect4 id="Section1.2.2.1.1"> <title>Section1.2.2.1.1 Title</title> <para>Section1.2.2.1.1 Text</para> </sect4> <sect4 id="Section1.2.2.1.2"> <title>Section1.2.2.1.2 Title</title> <para>Section1.2.2.1.2 Text</para> </sect4> </sect3> <sect3 id="Section1.2.2.2"> <title>Section1.2.2.2 Title</title> <para>Section1.2.2.2 Text</para> <sect4 id="Section1.2.2.2.0"> <title>Section1.2.2.2.0 Title</title> <para>Section1.2.2.2.0 Text</para> </sect4> <sect4 id="Section1.2.2.2.1"> <title>Section1.2.2.2.1 Title</title> <para>Section1.2.2.2.1 Text</para> </sect4> <sect4 id="Section1.2.2.2.2"> <title>Section1.2.2.2.2 Title</title> <para>Section1.2.2.2.2 Text</para> </sect4> </sect3> </sect2> </sect1> </chapter> </book>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]