Using a command line tool, XMLBeans will automatically generate and package up a set of Java objects based on an XSD.
You can then use these objects to build an XML document based on this schema.
Setting this attribute to a non-zero integer causes the attributes to be reported as a list rather than a dictionary.
The attributes are presented in the order found in the document text.
I had to validate an XML against XSD just one time, so I tried XMLFox. The help instructions didn't seem to match the interface.
I ended up using Liquid XML Studio 2008 (v6) which was much easier to use and more immediately familiar (the UI is very similar to Visual Basic 2008 Express, which I use frequently).
(Older versions of this module also used this format.) By default, this attribute is false; it may be changed at any time.
Alternatively if you use Stax for writing content (or a library that uses or can use stax), Woodstox can also directly support validation when using XMLStream Writer.
Here's a blog entry showing how that is done: If you are generating XML files programatically, you may want to look at the XMLBeans library.
The drawback: the validation capability is not in the free version, so I had to use the 30 day trial.
object has been created, various attributes of the object can be set to handler functions.