cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Man <Martin....@seznam.cz>
Subject Re: [c2] still having caching problems
Date Wed, 09 May 2001 17:24:32 GMT
On Wed, May 09, 2001 at 08:52:37AM +0100, Jeremy Quinn wrote:
> At 3:30 PM -0400 8/5/01, Donald Ball wrote:
> >    <map:act type="resource-exists">
> >     <parameter name="url" value="context://style/{1}.xsl"/>
> >     <map:transform src="style/{../1}.xsl"/>
> >    </map:act>
> 
> Sorry if this is off-topic and I'm being real dumb .... but could someone
> explain what this bit does?
> 
> OK, so it applies a stylesheet if it exists, but I do not understand the
> contents of these two attributes:
> 
> 	value="context://style/{1}.xsl"
> 	src="style/{../1}.xsl"
> 
> Why is there "{1}" in one and "{../1}" in the other?

{1} matches the star '*' within <map:act> scope meanwhile {../1} matches the
star within parent scope, (map:match here ???), although looking at the snipet
the {1} expr. here doesn't make any sense to me neither, seems like a typo
parameter value should be {../1} also... :-?

> 
> 
> Thanks for any help
> 
> 
> regards Jeremy
> -- 
>    ___________________________________________________________________
> 
>    Jeremy Quinn                                           Karma Divers
>                                                        webSpace Design
>                                             HyperMedia Research Centre
> 
>    <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
>     <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

-- 
-------------------------------------------------------------------------------
"Only dead fish swims with a stream"
gpg_key_available: http://globales.cz/~mman/martin.man.gpg
gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

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


Mime
View raw message