This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: TOC creation with website DTD
- From: Philippe BOURCIER - IPSL <philippe dot bourcier at ipsl dot jussieu dot fr>
- To: docapps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 30 Oct 2002 12:23:43 +0100
- Subject: Re: DOCBOOK-APPS: TOC creation with website DTD
- Organization: IPSL - http://www.ipsl.jussieu.fr/
- References: <3DBD191A.5040908@snafu.de>
On Mon, Oct 28, 2002 at 12:01:46PM +0100, Fischer, Oliver wrote:
> Hello,
hi all,
> I started to convert a website from plain HTML to XML based on the
> website DTD. Nearly everything is fine, except one thing: the toc on the
> left site.
>
> I have a simple structur like this:
>
> <layout>
> <toc page="index.xml" filename="index.html">
> <tocentry page="download.xml" filename="download.html" />
> <tocentry page="cvszugriff.xml" filename="cvszugriff.html" />
>
> </toc>
> </layout>
>
> which results in a toc like
>
> - download
> - cvszugriff
>
> but I would like to have
>
> - home (pointing to index.html)
> - download
> - cvszugriff
>
> Does someone know how to do this?
just have a look at
/usr/share/doc/docbook-website/2.2/examples/layout.xml, for
example :
<config param="homebanner-tabular" value="graphics/homebanner.png"
altval="Home Banner"/>
<config param="banner-tabular" value="graphics/banner.png"
altval="Banner"/>
<config param="homebanner" value="graphics/homebanner.png"
altval="Home Banner"/>
<config param="banner" value="graphics/icons/iconhome.gif"
altval="Banner"/>
> Bye
>
> Oliver
--
Philippe BOURCIER
PRISM developer http://www.ipsl.jussieu.fr/~pbipsl/