forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: overriding part of a skin
Date Fri, 12 Dec 2003 10:00:53 GMT
David Crossley wrote:

> Robert Koberg wrote:
> 
>>Dave Brondsema wrote:
>>
>>>I don't think we should require common to be present in the
>>>src directory. Can the custom skins do something like:
>>>
>>><xsl:import
>>>href="concat($forrest-skins-dir,'/common/xslt/html/document2html.xsl"/>
>>
>>No (XSL cannot do this), but you could do something like:
>>
>><xsl:import href="document2html"/>
>>
>>and use the catalog resolver to identify what should be imported.
> 
> Good idea Robert. I have always wanted to try using the
> Catalog Entity Resolver for other tasks.
> 
> Do you have an example of how to implement it?

If we make users use the skin download facility, this should not be 
needed in any case IIUC, as the downloaded skins are placed right next 
to the standard Forrest skins.

It's nevertheless a good idea.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message