XML format

Easier definition of format types by specialising existing types.

Predefined constants in FormatType for common (base)types: TEXT, XML, JSON.