How should a large collection of bird notes be organized
into files? The author feels that a month's worth of notes
is a reasonable size for one file. Files are named as
, where
yyyy-mm.xml is
the year and
yyyy is the
month number. The overall organization places a year's
worth of notes in one directory whose name is the year
number. So, from the root directory, file
mm2004/2004-09.xml contains the notes for
September 2004.
So to begin our discussion of the schema, we assume that each document represents all the notes for one calendar month.
Here, in literate programming form, is the Relax NG Compact Syntax (RNC) schema for the document type that encodes the field notes. For more on the author's approach to literate programming, see Lightweight literate programming.
First, a little preamble:
# birdnotes.rnc: Relax NG schema for bird field notes # $Revision: 1.56 $ $Date: 2015/07/30 01:07:03 $ #---------------------------------------------------------------- # For documentation, see: # www.nmt.edu/~shipman/aba/doc/ #----------------------------------------------------------------