Hi Bob,

Assuming you have the request input module in your cocoon.xconf, then you
can pass the context path into an xsl:param (or otherwise use in the
sitemap) with e.g.
<map:transform src="mytransform.xslt">
<map:parameter="xslParamName" ="{request:contextPath}"/>
</map:transform>

Regards,

Andy
 On 16 May 2012 06:02, "Bob Harrod" <[email protected]> wrote:

> I'm quite new to cocoon, and supporting an older version (2.1).  Does
> anyone know how I can gain access the web application base path inside of a
> transform?  Of course, it can be passed by the sitemap...  Any help would
> be appreciated!
>
> Thanks!
>

Reply via email to