On 20.05.2004 13:51, [EMAIL PROTECTED] wrote:

Hi!

Your solution sounds very interesting, but I can't get it working.
How do you integrate that line in your sitemap?
I tried putting it inside <match/> and expected the following snippet to put 'foobar' behind the original request and generate from {1}foobar.


<map:match pattern="*">
  <map:parameter name="anyname"
       value="{request:concat(requestURI,'foobar')}"/>
  <map:generate src="{1}"/>
  <map:serialize type="xml"/>
</map:match>

Could you please give an example how to use your solution?

You only put the value into a parameter of the matcher - and that does not expect it, so nothing happens.


The solution you need looks probably like

<map:match pattern="*">
<map:generate src="{request:concat(substring-after(requestURI, '/'), 'foobar')}"/>
<map:serialize type="xml"/>
</map:match>


But for the concatenation you don't need it:

<map:generate src="{1}foobar"/>

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to