Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 24976 invoked by uid 500); 30 Mar 2003 16:11:49 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Delivered-To: moderator for cocoon-dev@xml.apache.org Received: (qmail 97557 invoked from network); 29 Mar 2003 01:44:17 -0000 From: "Geoff Howard" To: Subject: context path in samples Date: Fri, 28 Mar 2003 20:59:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - xml.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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. Anyone care? Geoff