Each form element encloses one or
more sightings of a given kind of bird. We use
“kind” in the taxonomic sense here:
sightings attribute to a single species, family, genus,
or other taxonomic grouping are all grouped under a
single form element, even though
the sightings may differ in age, sex, or other
non-taxonomic differences.
There are two patterns: the
single-sighting pattern is used
for single records, and the
multi-sighting pattern is used
when there are multiple occurrences of the form with
different age, sex, location, and so forth.
form = element form
{ taxon-group,
(single-sighting | multi-sighting)
}
single-sighting =
( age-sex-group,
loc-group,
sighting-notes
)
multi-sighting =
( loc-group,
sighting-notes,
floc+)
|
The ab6='blujay'
For the general case, including the treatment of
hybrids and species pairs, see
Section 5.9, “
The |
|
The |
|
The |
|
The |
|
If there are multiple sightings of the same kind of
bird,
For multiple sightings, the parent
|
In the most general case, use a floc
(“form location”) child element for each
different location, age, sex, or other aspect of the
different sightings. For example, if the notes include
both adult and immature Bald Eagles, the parent form element identifies the species (attribute
ab6='baleag'), and it has two floc child elements, one for the adults
(attribute age='a') and one for the
immatures (age='i'), like this:
<form ab6='baleag'>
<floc age='a' count='2'/>
<floc age='i' count='1'/>
</form>
However, in the great majority of cases, there will be
only one sighting of a species in a day's notes. If we
always required a floc element for
information about a sighting, we would need two elements
for each sighting. For example, suppose the field notes
just say “we saw American Coots today.” If
a floc element were required, it would
have no content, and the XML would look like this:
<form ab6='amecoo'>
<floc\>
</form>
So, effectively we allow the XML to omit the floc child element if there is nothing in it, so
the above record becomes much simpler:
<form ab6='amecoo'/>
To reduce redundancy, all locality data not explicitly
present in the form element are inherited
by any child floc elements. Here's an
example:
<form ab6='baleag' loc='BdA' gps='334807.3n 1065305.2w'>
<loc-detail>
Perched in the Display Pond.
</loc-detail>
<floc age='a' count='2'/>
<floc age='i' count='1' gps='334803.2n 1065312.3w'/>
</form>
The first floc element will inherit the
parent loc, gps and loc-detail values. The second floc supplies a different gps value, but it
inherits the loc and loc-detail of the parent.