cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: String replacement within the sitemap?
Date Fri, 14 May 2004 13:28:04 GMT
hmmm

if you have
<map:match pattern="*_*">

you could ofcourse subsequently do

<map:transform type="blah">
	<map:parameter name="url" value="{1} {2}"/>
</map:transform>

but this only works if there is a known fixed amount of underscores in 
your url....

Don't think there is straightforward sitemap level functionality for 
what you're asking, these things can also easily be done in flow or xslt.

HTH
Jorg

Philipp Burkert wrote:

> Hi folks,
> 
> is there a simple way to do string replacement within the sitemap? 
> 
> I have to modify a string I fetch from the URL and have to replace all
> occurrences of a specific character. I dream of something like 
>  
>    replace({1},'_',' ')
> 
> Thankx a lot:
> 
> PHILIPP BURKERT
> mailings@burkert.de


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


Mime
View raw message