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