On 17.05.2004 16:07, Philipp Burkert wrote:
yes and no. I have not found a way to solve my problem, but I have not found a possibility to work directly on the results of the URI matcher. This means that I have to transform the request URI to something similar to the result of the matcher. Let me give an example for a <map:match pattern="kongresse/*/">. Now I have to write
{request:substring-before(translate(substring-after(requestURI,'/kongresse/' ),'_',' '),'/')}
Don't understand this. Is it just an error in the expression or would substring-before(requestURI, '/') return the same? The outer substring-before() seems to be wrong.
From what I understand you need
translate(substring-after(requestURI, '/kongresse/'), '_', ' ')
instead of the possibility to write something like
{jxpath:substring-before({1},'_',' '}
This also seems to be wrong. Should it not be
translate({1}, '_', ' ')And it does only not work because you have no explicite input module to "speak to", i.e. the namespace prefix is missing and an explicite jxpath would help.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
