Try to use the request input module:

<map:param name="param" value="{request:sitemapURI}"/>
(or something like this).

Not sure if this is what you are looking for, but sounds similar.

Regards,
  Konstantin

From: "Stefan Kostopoulos" <[EMAIL PROTECTED]>
> Hi everybody!
> 
> Is there are placeholder for the absolute path of the sitemap (similar 
> like {1} is a placeholder for the
> first wildcard)?
> 
> If not I think that would be a really usefull feature. Shouldn't be to 
> hard to implement, too...
> 
> What I want to do is to pass a path to a file as a XSLT parameter, but 
> I want to avoid
> hardcoding the absolute path, because then this would have to changed 
> when the
> app gets deployed to another server.
> 
> What I have in mind is something like:
> 
> <map:transform src="joinWithIndex.xsl>
>     <map:parameter name="collectionDir" 
> value="{sitemap.path}/data/collection20}"/>
> </map:transform>
> 
> data/collection20 would be a relative path from the dir where the 
> sitemap is located and
> {sitemap.path} should be replaced by the absolute path before passing 
> the param to the
> stylesheet.
> 
> 

Reply via email to