users@jaxb.java.net

Re: JAXB - problem with prefixes

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 17 Feb 2009 15:24:49 +0100

Hi.

> please could anyone help me with following problem?

[...]

> but i want the element checkRules without prefix (ns2)
> just <checkRules>

Please check this link:

https://jaxb.dev.java.net/guide/Changing_prefixes.html

And experiment with NamespacePrefixMapper.

Bye.
/lexi