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:
# http://www.nmt.edu/~shipman/xnomo/
#
start = taxonomySystem
taxonomySystem = element taxonomySystem
{ attribute date { text }?,
rankSet,
taxonomy,
abbrSet,
collisionSet
}
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.