[Moxy] How to efficiently create (valid) xml for given Schemahttps://www.eclipse.org/forums/index.php/mv/msg/485957/1052920/#msg_1052920
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?

]]>moritz du2013-05-01T11:59:00-00:00Re: [Moxy] How to efficiently create (valid) xml for given Schemahttps://www.eclipse.org/forums/index.php/mv/msg/485957/1058899/#msg_1058899
MOXy does not provide a utility to generate a sample document based on an XML schema. For this kind of use case where you want to create some test documents you could use Eclipse. If you right click the XML schema in the Package Explorer you can choose the option

Generate | XML File...

Then that wizard allows you to customize what the generated document should look like.]]>Blaise Doughan2013-05-15T15:30:41-00:00Re: [Moxy] How to efficiently create (valid) xml for given Schemahttps://www.eclipse.org/forums/index.php/mv/msg/485957/1058908/#msg_1058908
]]>moritz du2013-05-15T17:12:43-00:00