Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 94130 invoked from network); 1 Feb 2004 18:53:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Feb 2004 18:53:03 -0000 Received: (qmail 20504 invoked by uid 500); 1 Feb 2004 18:52:45 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 20475 invoked by uid 500); 1 Feb 2004 18:52:45 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 20437 invoked from network); 1 Feb 2004 18:52:44 -0000 Received: from unknown (HELO smtp-out6.blueyonder.co.uk) (195.188.213.9) by daedalus.apache.org with SMTP; 1 Feb 2004 18:52:44 -0000 Received: from [10.0.0.2] ([82.38.65.173]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sun, 1 Feb 2004 18:53:11 +0000 Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <401BA5D6.4050307@gmx.net> References: <401BA5D6.4050307@gmx.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: robert burrell donkin Subject: Re: Betwixt: Setting up BeanWriter to render a bean property as attribute rather than element Date: Sun, 1 Feb 2004 18:52:46 +0000 To: "Jakarta Commons Users List" X-Mailer: Apple Mail (2.612) X-OriginalArrivalTime: 01 Feb 2004 18:53:11.0168 (UTC) FILETIME=[A3A52800:01C3E8F4] 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 hi sebastian this feature is (at the moment) missing from betwixt (but is on the long list of features that betwixt needs before a proper release). it should be pretty easy to add. anyone want to volunteer to develop it? - robert On 31 Jan 2004, at 12:55, Sebastian wrote: > Hello, > is it possible to configure the BeanWriter to always render a specific > bean property as attribute rather than an element. In my case it's the > property "id". All other properties shall still be rendered as xml > elements. > > I know that I can provide a .betwixt file for every bean and specify > it in there, but I don't want to set it individually for every bean. > > Thanks in advance, > Sebastian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org