cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Using Path expression in Map Action type
Date Thu, 05 Jun 2003 13:49:51 GMT
On 05.Jun.2003 -- 03:25 PM, Geissel, Adrian wrote:
> Hi Shane,
> 
> I've done something similar to what you're looking for with version 2.0
> (don't know if it still works!):
> 
> Try:
> 
> <map:act type='substitute(listOfMaps, "{../1}")'/>
> 
> Note - single quotes are important (valid XML attribute definition - allows
> the use of plain double-quotes!)

This is a hack and is not supported and WILL BREAK ANYTIME SOON when
the default sitemap engine is switched from compiled to interpreted.

The clean way is to use a MultiAction that offers several methods to
choose from through a parameter.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

Mime
View raw message