Addressing the XML/Object Impedance Mismatch – How to Generate Better Code from an XML Schema

One of many approaches to managing XML data in an application is XML/Object-binding, where classes are created in a language capable of object-oriented programming to encapsulate portions of the XML data format, and conversion methods are produced capable of translating in both directions between XML data and class instances. There …

Continue reading

Making the Most of .NET XML Serialization

XML/Object Binding

.NET’s XML Serialization Framework is a handy way to convert your objects to and from XML, without having to deal with the nitty-gritty of working with XML structures, e.g. through DOM with XmlDocument, or the stream-based XmlReader and XmlWriter classes. Annotations can be placed on classes and properties using .NET …

Continue reading

XML Flame Wars

XML is ubiquitous in modern computing, used in everything from webpages to remoting protocols, from GUI definitions to mathematical notation, from sheet music to graphics formats and much more besides. And yet there seem to be a lot of people who really, really hate XML! I’d like to think I …

Continue reading