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
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08



Reply via email to