cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Reference of transforms in sub-sitemap
Date Tue, 24 Jun 2003 19:03:14 GMT
Jeff Sexton wrote:

> Can I reference a a stylesheet that is off in a different subsite
> instead?  Something like:
> 
>  <map:transform src="../otherSubsite/stylesheets/sheet.xsl"/>

Yes, this is possible.

But I would rather suggest to use a common location-independent
cocoon:// call:

<map:transform src="cocoon://stylesheets/sheet.xsl"/>

The common stylesheets would be served by your main sitemap
(or a special sub-sitemap). This enables you to change the
stylesheet location without affecting your applications.

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message