OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Re: More guidance on docbook website need


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC