I'm not the expert but the answer "yes". JAXB can't marshall elements that
are not root elements.
You may need to declare the elements you want to marshall as root elements,
and use references on them.
"Amila
Suriarachchi"
<amilas_at_eurocente To
r.lk> <users_at_jaxb.dev.java.net>
cc
08/25/2003 10:50
AM Subject
marshlling problem
Please respond to
users_at_jaxb.dev.ja
va.net
when marshlling a jaxb objcet structure form an element
(except root) it does not show the top level element
in the resulting xml file.
is this a jaxb problem?