[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-dev
Subject: Re: context path in samples
From: Christian Haul <haul () informatik ! tu-darmstadt ! de>
Date: 2003-03-30 18:02:21
[Download RAW message or body]
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.
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic