RE: Attribute question for Commons Digester

2007-06-29 Thread Poulton, Jonathan
/29/07, Poulton, Jonathan [EMAIL PROTECTED] wrote: Surely someone has done this before? -Original Message- From: Poulton, Jonathan [mailto:[EMAIL PROTECTED] Sent: 28 June 2007 17:41 To: commons-user@jakarta.apache.org Subject: Digester problem Hi there, I've tried finding

Attribute question for Commons Digester

2007-06-29 Thread Poulton, Jonathan
Surely someone has done this before? -Original Message- From: Poulton, Jonathan [mailto:[EMAIL PROTECTED] Sent: 28 June 2007 17:41 To: commons-user@jakarta.apache.org Subject: Digester problem Hi there, I've tried finding a solution to what I think should be quite a simple problem

RE: Attribute question for Commons Digester

2007-06-29 Thread Poulton, Jonathan
that value, otherwise SetProperties would work (and you don't need to specify id/id because it'll match the properties to the attributes if they match exactly). Why the underscore anyway? On 6/29/07, Poulton, Jonathan [EMAIL PROTECTED] wrote: You mean: digester.addObjectCreate(article

RE: Attribute question for Commons Digester

2007-06-29 Thread Poulton, Jonathan
because it'll match the properties to the attributes if they match exactly). Why the underscore anyway? On 6/29/07, Poulton, Jonathan [EMAIL PROTECTED] wrote: You mean: digester.addObjectCreate(article, Article.class); digester.addSetProperties(article, id, id); Yup. I've tried

Digester problem

2007-06-28 Thread Poulton, Jonathan
Hi there, I've tried finding a solution to what I think should be quite a simple problem using the Commons Digester, but the tutorials I can find on the subject only really cover the basics and aren't of any help. Given an XML fragment like the following: article id=_1234 text.../text