This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Website ToC questions
- From: Gerrit Kuilder <gerrit at kuilder dot net>
- To: docbook apps <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 01 Jun 2003 14:59:18 +0200
- Subject: [docbook-apps] Website ToC questions
Hello All,
trying to improve at least my own website xsl stylesheets and am looking
at a menu that suits my tastes a liitle bit more.
a) A way to show only menu items that have the same toc levels as the
current page and showing menu items that are descendants of the current
page. (div class="curpage"> or maybe even only curpage and descendants?
b) a you are here link which can take you quickly up the hierarchy.
/you/are/here where 'you', 'are' have links up the structure upto the
home page. I think this would be necessary if you use a)
c) a different way of the div's around menu items are generated. around
menu items to enhance the formatting capabilities with css.
currenttly each item has to div's around them:
<div class="toplevel">
<div class="otherpage"><a href="/index.html">Home</a></div>
</div>
<div class="toplevel">
<div class="otherpage"><a href="../docbook/index.html">Docbook
DTD</a></div>
</div>
I would perfer to see:
<div class="toplevel">
<div class="otherpage"><a href="/index.html">Home</a></div>
<div class="otherpage"><a href="../docbook/index.html">Docbook
DTD</a></div>
</div>
The questions:
1) have seen a 'use.toc.expand.depth' and 'toc.expand.depth' which seem
not to be used. Anyone can enlighten me on the possible use of these values?
2) Has anyone implemented either the div/CSS bit under c) or the menu
display under a)
2a) Anyone willing to share pointers/code?
3) how would one go about making my menu requirement an enhancment of
the website dtd/xsl? So one could add parameters to config or param.xsl.
3a) That is if people think it would be an enhancement.
I have hacked my webiste xsl in a horrible way and keep doing it 'my
way', otherwise I can try and write it in 'our way' .
It becomes pretty clear that above makes sense is when you go to
http://family.kuilder.net/familyarchive/kuilder/lubbert/familie/jan/baby/index.html
As a side note this is a family archive of old pictures. Not really
interesting for non family members.
docbook.xml->perlscript to make layout.xml and website.xml ->
website.xsl-> html
Regards,
Gerrit Kuilder
--
Jeg holder påskeferie hele ugen.
Med venlig hilsen
Gerrit Kuilder
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org