Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 26614 invoked from network); 13 Nov 2003 13:45:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Nov 2003 13:45:35 -0000 Received: (qmail 65925 invoked by uid 500); 13 Nov 2003 13:45:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 65892 invoked by uid 500); 13 Nov 2003 13:45:23 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 65878 invoked from network); 13 Nov 2003 13:45:22 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (157.193.121.51) by daedalus.apache.org with SMTP; 13 Nov 2003 13:45:22 -0000 Received: from yum.ot (host100 [192.168.123.100]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hADDjNp03241 for ; Thu, 13 Nov 2003 14:45:23 +0100 Subject: Re: [woody binding] insert attribute content into similar nodes From: Bruno Dumon To: users@cocoon.apache.org In-Reply-To: <4A222A6C5F666441ADA28E3EA39743BFC9DBC4@hermes.ids.de> References: <4A222A6C5F666441ADA28E3EA39743BFC9DBC4@hermes.ids.de> Content-Type: text/plain Organization: Outerthought Message-Id: <1068730851.11583.87.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 13 Nov 2003 14:40:52 +0100 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 2003-11-13 at 14:33, Ulrich, Dominik wrote: > Hi everybody > it's a rather complicated woody question I have, at least for me :) > > I have a data xml file like this: > > > > > > > now I want to bind the value of a boolean widget to these elements in @value. > problem: the binding must insert one value to one element with attribute content "A" > and insert another value to the other element with "B" inside. > > both nodes have the same names, so what should I do? > the binding file must choose the element based on his attribute, so how can I do this? I think this should work: -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org