users@jaxb.java.net

how to construct an element from the corresponding type

From: David Massart <david.massart_at_LONGBOY.EUN.ORG>
Date: Tue, 17 Jun 2003 07:37:06 -0600

Hi there,


I'm using jaxb to construct a new xml document with the elements of another.

The get methods only return XmlElementType and it seems that I have to add an Element and not a type to a list in order to marshal correct xml. What is the best solution to turn a type into the corresponding element ?

David