cocoon-users mailing list archives

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

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

you could ofcourse subsequently do

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

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.


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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message