Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 40805 invoked from network); 31 Jul 2007 21:03:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jul 2007 21:03:11 -0000 Received: (qmail 31997 invoked by uid 500); 31 Jul 2007 21:03:07 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 31948 invoked by uid 500); 31 Jul 2007 21:03:07 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 31936 invoked by uid 99); 31 Jul 2007 21:03:07 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 14:03:07 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lundquist.mark@gmail.com designates 209.85.198.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 21:03:00 +0000 Received: by rv-out-0910.google.com with SMTP id f1so666rvb for ; Tue, 31 Jul 2007 14:02:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=teJkkA9NY5idcSeyCn1ysZCn/Bb6kHD/SdQvT9JdfLHSxmtaLhkTOg29JgTqOCsDln4JPG7ztshKgbDoX4dBOaFK4f3HWx/7byY7qBXL+Q3fJEXfow4Cylb7TpMoSCDx8acBHm+h95iUW7jvz6EP0M1tizUUJanuqfEj9iXwYWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=Kr/Eet2nlptWKcJsDVTsiU0kdXVFdQeF1rfTvtUNyU536WmA8zDEEyykbIxSz+r/0Rk1QpowgIAOWqBtOJQHNC3iZYu139aYyavw87+FYEq3IZcjeCDBWtjzA/HWkHCnDrhPDdwcqNLt/AYpcKpaUu2I5kSBiv2hiUyxrFBVfGk= Received: by 10.141.76.21 with SMTP id d21mr2338288rvl.1185915759785; Tue, 31 Jul 2007 14:02:39 -0700 (PDT) Received: from ?192.168.0.5? ( [67.171.183.141]) by mx.google.com with ESMTPS id 1sm2429348rvi.2007.07.31.14.02.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2007 14:02:39 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <46AFA108.1080803@robf.nl> References: <46AFA108.1080803@robf.nl> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Message-Id: <4352b283a0937f0bf9b83a822f5ae172@gmail.com> Content-Transfer-Encoding: quoted-printable From: Mark Lundquist Subject: Re: variable expansion fails Date: Tue, 31 Jul 2007 14:02:37 -0700 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.624) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 31, 2007, at 1:52 PM, Rob Frohwein wrote: > select=3D"document('cocoon://path/proc.xsp/?var=3D{$var}')/*"/> > > .... > > But the variable is *not* expanded. > Proc.xsp sees the value of request-parameter var > is set to litarally {$var} That's 'cause that's what you literally wrote :-). Xpath string syntax=20= doesn't comprise variably "interpolation" like that. What you want=20 would be this: HTH, =97ml=97 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org