You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sebastien Arbogast <se...@gmail.com> on 2005/06/07 18:50:54 UTC

Lower case a string from sitemap

Hi,

Is it possible to lower-case a string from sitemap to do something like that ?

<map:match pattern="*Service">
  <map:read src="lowerCase({1})/{0}.wsdl" mime-type="text/xml"/>
</map>

So that when I receive a request on "EchoService" for example, I send
back the file "echo/EchoService.wsdl".

Thx in advance.

-- 
Sebastien ARBOGAST

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lower case a string from sitemap

Posted by Tony Collen <co...@umn.edu>.
Jens Maukisch wrote:
> Hi,
> 
> 
>>Is it possible to lower-case a string from sitemap to do something like that ?
> 
> 
>><map:match pattern="*Service">
>>  <map:read src="lowerCase({1})/{0}.wsdl" mime-type="text/xml"/>
>></map>
> 
> 
> i think you can do this with an input module
> 

Yep, an inputmodule is exactly what you need, and it should not be all 
that hard.  Check out the urlencode/urldecode input module for an 
example of what you would need.... and don't forget to submit it as a 
[PATCH] after ;)


Tony

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lower case a string from sitemap

Posted by Jens Maukisch <co...@maukisch.net>.
Hi,

> Is it possible to lower-case a string from sitemap to do something like that ?

> <map:match pattern="*Service">
>   <map:read src="lowerCase({1})/{0}.wsdl" mime-type="text/xml"/>
> </map>

i think you can do this with an input module

-- 
* best regards
* Jens Maukisch              


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org