XML schema

25th February 2006

The Zthes abstract model can be represented in XML: a single Zthes document consists of a <Zthes> element, wrapping a sequence of <term> elements, each of which represents a single thesaurus term composed of the elements described in the abstract model.

The Zthes XML format, version 1.0, is here described. Despite some additions, it remains upwards compatible with the old Zthes XML DTD, of which the last released version was version 0.5.

The format is described using four different constraint languages: these four schemas are entirely equivalent and may be used interchangeably depending on what tools are available:

These schemas all validate each of the following three sample Zthes-in-XML documents: