XML Data Binding
This article by Simon Sprott begins: “XML Data Binding allows you to manipulate an XML document via a set of simple objects. The rules defining the ’shape’ of the XML document are described in an XML schema. Typically, it is possible to read an XML document into an XML binding library and manipulate it programmatically via simple get and set methods. Conversely, a document can be created from an XML data binding library, and serialized as an XML document.”
It then launches into a chart and example rich comparison of the various schema creation programs that are available on the market: “There are many products on the market, and if your schema is very simple and you’re using Java, Castor is probably your best bet. There are already a number of good Castor articles out there and I don’t intend to rehash them. However, if you are not a Java developer, or your schema contains more advanced features (extensions, restrictions, substitution groups, and so forth), you will need to look a little farther afield. I have reviewed the main products on the market, and produced a simple summary of their capabilities. For the remainder of this article, I will refer to the generator provided by Liquid Technologies because it supports the major schemas (DTD, XDR, and XSD) and the main languages (C#, VB6, Java, and cross platform C++).”
Read the full article on XML Databinding at Code Guru.
