|[Moxy] How to efficiently create (valid) xml for given Schema [message #1052920]
||Wed, 01 May 2013 07:59
| moritz du
Registered: February 2010
I have to create xml files ("Response") of format inside this zip.|
I already have in place the moxy-generated jaxb-classes and a code snippet that creates a very bare xml (only root element with minimal set of attributes).
But what is a good approach to get at least some kind of skeleton to be filled only on some places?
If possible i don't want unnecessary elements/attributes in output but with a minimum in code (masses of setters).
the information for this is lieing in the xsd: in first step i want to create a xml with all mandatory elements and attributes. Is there a way doing this with moxy?
Powered by FUDForum
. Page generated in 0.02555 seconds