Hello !
I have an XSL file I use as a common frame for lots of generated HTML, which
are located on different directories. That's why I want to use absolute
paths inside that XSL.
Suppose my structure is:
/webapp/cocoon/
Then inside I have a subsitemap:
/webapp/cocoon/test/sitemap.xmap
which uses the common frame
/webapp/cocoon/test/stylesheets/common/frame.xsl
In the sub sitemap I have some matchings for the images, something like
<map:match pattern="img/lang/**.jpg">
<map:act type="lang-select">
<map:read src="resources/img/{lang}/{../1}.jpg" mime-type="image/jpg"/>
</map:act>
</map:match>
to have languaje aware images, so, frame.xsl calls "img/lang/hello.jpg".
Ok, as I want to use absolute paths, the only way I found to is writing
/cocoon/test/img/lang/hello.jpg
Is there another way to do it ? Relative to the current sitemap would be
better, I think.
Thanks a lot !
Pablo Bendersky
[EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>