cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: [c2] still having caching problems
Date Wed, 09 May 2001 07:52:37 GMT
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?


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


Mime
View raw message