Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 15756 invoked by uid 500); 16 Apr 2003 15:09:41 -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 Received: (qmail 15738 invoked from network); 16 Apr 2003 15:09:40 -0000 Received: from unknown (HELO mail.dff.local) (62.159.19.130) by daedalus.apache.org with SMTP; 16 Apr 2003 15:09:40 -0000 Received: from altair.dff.local ([172.16.2.8] helo=dff.st) by mail.dff.local with esmtp (Exim 3.35 #1) id 195oXe-0001Gv-00 for cocoon-dev@xml.apache.org; Wed, 16 Apr 2003 17:09:42 +0200 Message-ID: <3E9D72A2.6020503@dff.st> Date: Wed, 16 Apr 2003 17:11:30 +0200 From: Torsten Curdt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: XMLForm and concatenation in view: possible bug? References: <5B093C49F2649B459246944825A267AB3FC160@sxmbx03.corproot.net> In-Reply-To: <5B093C49F2649B459246944825A267AB3FC160@sxmbx03.corproot.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sylvain.Thevoz@swisscom.com wrote: > Torsten, > > If I understand, the problem is that the path /person_col[1]/yourexpression is NOT a valid and correct path. > > In other words, with this code: > > > > XMLForm creates the paths: > /person_col[1]/concat(lastName, firstName) > /person_col[2]/concat(lastName, firstName) > ... > > which are not correct. > > It should maybe creates something like: > /person_col[1]/lastName + /person_col[1]/firstName > /person_col[2]/lastName + /person_col[2]/firstName > ... > > > Am I right or totally out of the subject? Well, almost right :) /person_col[1]/lastName + /person_col[1]/firstName ... is usually not what you want in the caption ref either. You want the ref to refer to the current item not the caption itself. -- Torsten