I was following this post:
JAXB Marshaller indentation
But I ran to an error:
org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
Which actually pertains to the Marshaller I have used when it did:
marshaller.marshal(instance, domResult);
Your comments and opinions are highly appreciated.
Cheers,
Artanis Zeratul