The Casbah distributed objects system allows for different object serialization formats. This document defines a simple Extensible Markup Language (XML) serialization format that is self-describing. The base format defined here allows for arbitrarily nested objects made up of dictionaries, lists, string and encoded binary values.

Ken MacLeod

LDO XML Object Serialization Format


Table of Contents
Introduction
Format

Introduction

The XML Serialization format provides a way to marshall application objects using a simple set of XML elements.

XML Serialization provides four elements for encoding objects, a dictionary, a CaList, a scalar, and a ref element. dictionary, CaList, and scalar elements support reusing content with an id attributed that can be referred to using the ref attribute of the ref element. scalar elements support a type attribute to declare the type of scalar, and an encoding attribute to declare it's encoding [refer to HTTP-ng UUIDs? for types and encodings, I think]. dictionary elements support a class attribute that marks this dictionary as an object, with the keys as field or property names [also UUIDs?]. dictionary, CaList, and scalar elements support a length attribute that gives the number of pairs in a dictionary, the number of elements in a list, or the parsed length of the text of a scalar.