Open mailsanchu opened 3 months ago
To do this, you will probably need to construct XMLStreamWriter
, initialize it with namespace binding, and pass that to XMLMapper.writeValue()
. I don't think there is a way to avoid automated namespace declaration generation.
There is a way in Woodstox to re-configure prefix to use, I think.
Given the following classes RootNamespace.java
ChildNameSpace.java
ThirdLevel.java
and It is generating the following output when I convert it into string
and I would like to generate it the following
Is it possible to do. Any help is greatly appreciated.