forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: [Contracts inclusion ?]
Date Mon, 19 Dec 2005 16:00:52 GMT
Thorsten Scherler a écrit :

>WARNING: What I now say is pure theory!!! I have not tested it!!!
>
>El jue, 03-11-2005 a las 16:37 +0100, Cyriaque Dupoirieux escribió:
>  
>
>>Hi,
>>
>>    I wander,
>>    Is there a way to include - kind of inheritance - a contract into 
>>another - just like we did with common stylesheets for skinned forrest ?
>>    
>>
>
>Yes, in theory you can just do:
><xsl:include href="cocoon://prepare.contract.html.CONTRACTNAME"/>
>  
>
Ok, I have tried and it works very well indeed !
(It's very important to be able to customise the content without copying 
the whole *content-main.ft* contract.)

Salutations,
Cyriaque,

>salu2
>  
>

Mime
View raw message