cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: CSS and XSLT in Cocoon2
Date Wed, 19 Jul 2000 19:09:01 GMT
Willie Wheeler wrote:
> Hi all,
>         Earlier this month a few people asked how to link to a CSS page
> using XSLT in Cocoon.  The proposed solution was to set up another web
> server entirely (one with no Cocoon) and link to that.  A variant on the
> same theme (tested it using Tomcat and Cocoon2) is to change the web app's
> web.xml deployment descriptor so that Cocoon handles only URIs that match
> /cocoon/* (instead of matching /), and then link to resources such as
> stylesheets by linking to URIs that don't match /cocoon/*.  You have to go
> into your sitemap (again, Cocoon2) and update the process uri's though.
>         Maybe there is a better way to do it?  If so I'd be interested to
> know, since it would be nice to be able to use / as the match for Cocoon.
>         Willie

Until the sitemap is finished, you can set up another context on the same
web server.  It works.

Once the new sitemap is finished, there will be a directive to simply read
a file, without Cocoon processing it at all.

Cool beans, eh?

View raw message