cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: context path in samples
Date Sun, 30 Mar 2003 18:02:21 GMT
Geoff Howard wrote:
> When I see src="/images/cocoon.gif" in simple-samples2html.xsl, 
> is there a preference for fixing that using contextPath as:
> src="{$contextPath}/images/cocoon.gif"
> or using xsl:attribute with value-of and concat()?
> or setting up a variable using contcat()?  
> My standard practice for myself is usually to use the first for 
> single references, the second for more complicated operations and 
> the third for resuable values.

Geoff, this sounds absolutely reasonable. "{$contextPath}/images/cocoon.gif"
sounds fine.


C h r i s t i a n       H a u l
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

View raw message