users@jaxb.java.net

problems with generated xml documents

From: Norman <ns_at_ABAS.DE>
Date: Tue, 22 Jul 2003 05:56:20 -0600

Hi everyone,
for a project I have to create schema compliant xml documents. I am using jaxb. The main schema consists of several subschemas (some define enumerations others define simple and complex elements). Every subschema has its own namespace.
When creating xml documents I get something like this :

<ns2:Version xmlns:ns2="http://www.test.de/enumerationElements">01</ns2:Version>
<ns3:DokuArt xmlns:ns3="http://www.test.de/enumerationElements">EDIFACT</ns3:DokuArt>
<ns4:Beleg xmlns:ns4="http://www.test.de/enumerationElements">VKAU</ns4:Beleg>

How can I avoid the xmlns attributes in my tags?

Thanks Norman