users@jaxb.java.net

not display an attribute

From: Guilhem Legal <legal.g_at_hotmail.fr>
Date: Mon, 12 Nov 2007 01:16:53 -0800 (PST)

hi!

I would know if it possible to generate xml and to not display some choosen
attribute.

for example : a instance of class Apple with id=001, name='golden'
color='yellow'

i want that my xml looks like :

<Apple>
   <name>golden</name>
   <color>yellow</color>
</Apple>

I know that if i want to unmarshall it i will lost the value of id.

it this possible?

Guilheml Legal
-- 
View this message in context: http://www.nabble.com/not-display-an-attribute-tf4789819.html#a13702159
Sent from the java.net - jaxb users mailing list archive at Nabble.com.