List Info

Thread: Wrong footer navigation links in HTML output




Wrong footer navigation links in HTML output
user name
2007-04-11 04:28:12
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


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org
  
Re: Wrong footer navigation links in HTML output
user name
2007-04-11 18:58:44
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/ChunkingCustomiz
ation.html


Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobssagehill.net


----- Original Message ----- 
From: "Sorin Ristache" <sorinsync.ro>
To: <docbook-appslists.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-unsubscribelists.oasis-open.org
> For additional commands, e-mail: docbook-apps-helplists.oasis-open.org 



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: Wrong footer navigation links in HTML output
user name
2007-04-12 04:57:05
Hello,

Yes, I use a customized chunking stylesheet with Docbook XSL
1.70.1. 
After your question about the stylesheet version I upgraded
to 1.71.1 
and now all the navigation links are correct.


Thank you,
Sorin

http://www.oxygenxml.com



Bob Stayton wrote:
> 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/ChunkingCustomiz
ation.html
> 
> 
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobssagehill.net
> 
> 
> ----- Original Message ----- From: "Sorin
Ristache" <sorinsync.ro>
> To: <docbook-appslists.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



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )