cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <>
Subject Re: XSLT includes and cocoon
Date Thu, 29 Sep 2005 10:35:39 GMT
Have you looked for specific errors in the log files? It should work as expected..


Rob Norman wrote:

> Hi,
> This isn't entirely cocoon-related but it's slightly relevant.  I have a 
> very long stylesheet that i'd like to split into several files.  I've 
> tried using the <xsl:include> tag to include the file but, even though 
> the files are in the same folder, it can't find them.   e.g.  I have 2 
> files in the same directory, page.xslt and html.xsl.  The page.xslt file 
> has the line
> <xsl:include href="html.xsl"/>
> but it doesn't run any of the templates in html.xsl.  I've even tried 
> specifying it as a "cocoon:/file.xsl" but that only causes an exception 
> in the class (bad protocol) which is understandable since 
> it's not using the SourceResolver.
> If there's a better place to ask this question, please tell me and i'll 
> take it there instead.
> Is there any advice you can give me, or should I just resign myself to 
> having a long and unweildy stylesheet?
> Cheers,
>    Rob.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Drs. G.P.H. Josten

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199

De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is

uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen,
wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message