cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject A!, Was: Q? about the pseudo protocol resource:
Date Wed, 13 Mar 2002 15:41:34 GMT
> From: Olivier Rossel []
> I have several XSL files in a jar.
> I call the main one via the pseudo protocol resource:/path/to/main.xsl
> The problem is that main.xsl has several xsl:include.
> How can I handle them?
> Can i have relative URIs in my foobar.xsl?
> Will Cocoon automagically understands that the protocol should be
> resource: / ?

See cocoon.xconf:
          <parameter name="prefix" value="xscript"/>
          <parameter name="uri"
          <parameter name="href"

See xscript.xsl:
  <xsl:include href="xscript-lib.xsl"/>

Answering your question: yes, Cocoon have enough magic to allow relative
xsl:includes. There is one caveat though: packed WAR deployment (i.e.
like under Tomcat unpackWARs=false) on some containers (Borland app
server comes to mind) will not work with this at the moment.


Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message