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


Subject: Re: [docbook-apps] Wrong footer navigation links in HTML output


I can't duplicate this problem.  Can you provide details of the stylesheet 
version and processor?  Are you using a customized chunking stylesheet?  If 
so, did you follow the guidelines for setting it up in two parts as 
described in:

http://www.sagehill.net/docbookxsl/ChunkingCustomization.html


Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Sorin Ristache" <sorin@sync.ro>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 11, 2007 1:28 AM
Subject: [docbook-apps] 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>
>


--------------------------------------------------------------------------------


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org 




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