The format of a data file that uses the XML (Extended
Markup Language) syntax must be described by a
schema, a formalized description of
a particular document type. The format of the XML file
written by the nombuild program is described here using
the Relax NG schema language in its compact syntax (RNC).
For more information on RNC, see Relax NG Compact Syntax
(RNC).
The starting symbol for this schema is taxonomySystem, a container for the entire
file:
# Relax NG schema for bird code and taxonomy system.
# For documentation, see:
#
#
start = taxonomySystem
taxonomySystem = element taxonomySystem
{ attribute version { text }?,
attribute date { text }?,
rankSet,
taxonomy,
abbrSet,
collisionSet
}
version
So that applications can distinguish between XML files
pertaining to previous versions of this system, files of
this version should contain an attribute version="3.0". Files without this attribute
will not work with the xnomo3.py interface.
date
This optional attribute can hold an RCS date tag or other automatic modification timestamp.
rankSet
The rankSet child element
holds a list of the taxonomic ranks used in the
classification.
taxonomy
The taxonomy child element
contains the entire classification as a taxonomic
tree structure.
abbrSet
All the valid six-letter codes used in the system, whether
standard or alternate codes, are defined under the
abbrSet child element.
collisionSet
This child element contains a list of the six-letter codes that are invalid because they are collisions.