13.2. Debrief File Format

13.2.1. Introduction

XML is the Extensible Markup Language. Like its predecessor SGML, XML is a meta-language used to define other languages. The article in the Reference Guide taken from MSDN gives some background to XML.

13.2.2. Adoption of XML

An acknowledged shortcoming of the former file format (dpl) used in Debrief was the frequency with which Debrief modifications rendered previous DPL files unreadable. This use of Java serialization offered low cost in development terms and was seen as essential to store the more complex data used in Debrief 2000 (such as projections, and formatting data).

The only way to divorce the Debrief version from the file format has been to adopt an independent file format. This independent format must be structured in order to store Debrief data tidily, and the development to support it must not be too "expensive". The adoption of XML meets both of these criteria = it is quite capable of storing Debrief data, and there are a number of libraries available which support it.

XML provides additional benefits beyond those described above:

The XML structure adopted within Debrief is as follows:

Figure 13-1. XML File structure in Debrief