This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: More guidance on docbook website need
- From: Bob Stayton <bobs at caldera dot com>
- To: "Fischer, Oliver" <plexus at snafu dot de>
- Cc: damar thapa <damar at netvigator dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 16 Jan 2003 12:59:32 -0800
- Subject: Re: DOCBOOK-APPS: Re: More guidance on docbook website need
- References: <Pine.SOL.4.10.10301161650290.17358-100000@one4all.netvigator.com><87y95ljoy3.fsf@nwalsh.com> <3E26A825.3040000@netvigator.com><3E27116D.4010003@snafu.de>
On Thu, Jan 16, 2003 at 09:09:17PM +0100, Fischer, Oliver wrote:
>
> Hello,
>
> you have to overwrite a xsl-template called "webpage.footer".
>
> Example file:
>
> <?xml version="1.0" encoding="utf-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <xsl:import
> href="http://docbook.sourceforge.net/release/website/2.3/xsl/tabular.xsl"
> />
>
>
> <xsl:template name="webpage.footer">
> Mein Zeug...
> </xsl:template>
>
> </xsl:stylesheet>
>
>
> And to use this stylesheet with the overwritten template instead
> of tabular.xsl.
>
> The only problem to solve now is, that I don't know how to
> address the images relativ in the footer, since the resulting
> webpages can be in different directories. My someone else can
> give a hint, how to solve this problem?
Call the template named 'root-rel-path', which calculates
the relative path for the current directory.
See the 'admon.graphic' template in website-common.xsl for
and example of how it is used.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com