This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: More guidance on docbook website need
- From: damar at netvigator dot com
- To: Bob Stayton <bobs at caldera dot com>
- Cc: "Fischer, Oliver" <plexus at snafu dot de>, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 17 Jan 2003 13:20:49 +0800 (HKT)
- Subject: Re: DOCBOOK-APPS: Re: More guidance on docbook website need
Hi,
My thanks to both Bob and Oliver.
Just tested Oliver's suggestion, and it is working fine upto that point.
As for Bob's pointer, I hope I will be able to figure out after going
through the content as suggested.
Thanks once again.
Damar
On Thu, 16 Jan 2003, Bob Stayton wrote:
> 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
>
>