cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: OR statement in sitemap match pattern
Date Mon, 13 Oct 2003 21:04:46 GMT
Another hint on this topic besides RegExps are resources:

<map:match pattern="Home">
   <map:call resource="home"/>
</map:match>

<map:match pattern="Welcome">
   <map:call resource="home"/>
</map:match>

<map:match pattern="Entrance">
   <map:call resource="home"/>
</map:match>

The resource contains then the common part. But if it's only the match 
pattern that should be common, then regexp matcher should be your solution.

Joerg

On 06.10.2003 12:44, gounis@osmosis.gr wrote:

> hi people
> 
> is it possible to have something just like or statemend 
> in sitemap match pattern?
> 
> <map:match pattern="Home|Welcome|Entrance"> (home or Welcome or Entrance)
> 
> 
> i think tha this can be using RegExp (but im looking something simpler)
> 
> 
> thanx
> 
> --stavros



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


Mime
View raw message