What tool(s) can I use to convert my schemas into classes (Java/ C++/ .NET)?

The process of converting the contents of an XML document to objects, such as a class, is called XML data binding.  A tool called a data binder does this by mapping XML schema components to classes that reside in a computer’s memory.  This process allows applications to access XML data, for a number of reasons, from the object rather that directly from the XML file.

There are several utilities available that can perform the data binding process.  The choice is primarily dependant on the development environment.  Below is a list of utilities that are available for common programming platforms. Please note that this list is not all inclusive.

 

Java

Castor 

http://www.castor.org/

 

Eclipse Modeling Framework (EMF)

http://www.eclipse.org/modeling/emf/?project=emf

 

Java Architecture for XML Binding (JAXB)

http://java.sun.com/developer/technicalArticles/WebServices/jaxb/

 

XMLBeans

http://xmlbeans.apache.org

 

 

C++

            Code Synthesis XSD

http://codesynthesis.com/projects/xsd/

 

xmlbeansxx

http://www.yolinux.com

 

.NET

Data binding functionality is built into the .NET platform. The System.Xml.Serialization namespace contains several classes that can be used to bind XML data and access XML data.

 

Xsd.exe

The XML Schema Definition Tool is included as a part of the .NET framework.  This tool can be used to generate runtime classes from XML schema files. 

http://msdn.microsoft.com/en-us/vstudio/aa496123