Re: [castor-dev] deriveByClass for XML Attributes

2005-01-24 Thread Keith Visco
Interesting example Stephen, I'll try and look into it a bit more when I have chance to and get back to you on it. The deriveByClass code is basically at the top of the private Marshaller#marshal() method so it really deals with elements only. I'll see what it would take to tweak the attribute

[castor-dev] deriveByClass for XML Attributes

2005-01-24 Thread Stephen Bash
Everyone- I recently ran across a situation where it would be beneficial to use auto-naming for attributes (rather than elements), and I was wondering if this had ever come up before (I didn't find anything in the list archives). As motivation, consider the following example: public class DataC