XMLSpy® 2005 includes a built-in code generator that generates program code bindings of XML Schema components in Java, C++, or Microsoft C#.
| | | | Implementing an XML data binding involves writing infrastructure code to create, read, update and delete an XML document in memory using low-level XML processing APIs such as the Simple API for XML Parsing (SAX) or the Document Object Model (DOM). In addition to the basic infrastructure methods, a data binding must include additional higher level functions/methods to validate, process, transform, and perform other common in-memory operations on an XML document. XMLSpy® 2005 automates this task by providing a simple menu item that can generate program code based on an XML Schema, as shown below:
| |
| | Implementation of an XML data binding is a tedious, error-prone task, requiring dozens, and possibly hundreds of class files. For example, consider the following data model of a company organization chart, which consists of data elements such as Office, Department, Person, Address, etc. (Click on screenshot to enlarge).
| |
| | In this example, the generated program code data binding consists of 24 classes and thousands of lines of code. Click to download and view the auto-generated code in for this sample application in Java, C++, or Microsoft C#, then select "Save Target as..." to save and view the files.
|
Did you know that Altova MapForce™ 2005 auto-generates program code for custom XML / database / EDI data integration projects? MapForce™ 2005 and XMLSpy® 2005 are highly complementary - using them together, a software developer could auto-generate much of the code needed for an XML-enabled application, including the code to marshal data from different sources.
To learn more about the comprehensive data integration and code generation capabilities of Altova's highly complementary products, check out the Altova Enterprise XML Suite 2005 and Professional XML Suite 2005. These specially-priced suites bundle Altova's award-winning products to meet all your XML development needs.
|