Nope.  All mapping is done via child elements, save for some special
attributes, such as "forceList".

As with everything else, if you'd like to see it done at some point, please
open a JIRA issue for it.

-- 
Kevi


On 12/13/07 3:57 PM, "Ted Moens" <[EMAIL PROTECTED]> wrote:

> Greetings:
> 
> Is there any way to have the the XML Mapping File cause some of an
> object's properties as attributes in the XML?
> 
> For Example I can easily generate XML like this:
> 
> <person>
> <id>123123776</id>
> <firstName>Serafina</firstName>
> ...
> </person>
> 
> But I'd like to generate the following XML:
> 
> <person id=123123776>
> <firstName>Serafina</firstName>
> ...
> </person>
> 
> 
> Kind Regards,
> 
> Ted

Reply via email to