Changes to XML schema
Posted by jamie on 02 Jun 2011 in Notes
Made a couple of minor changes to the TEI schema for the XML data files.
First, residence:
- Previously: an element containing "text of subjects's present or past place of residence"
Now: an element with up to three child elements:
- settlement: contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit.
- region: contains the name of an administrative unit such as a state, province, or county, larger than a settlement, but smaller than a country.
- country: contains the name of a geo-political unit, such as a nation, country, colony, or commonwealth, larger than or administratively superior to a region and smaller than a bloc.
nationality, which previously was an element with a string containing "text of subjects's nationality", will use the same structure as residence, for the same reasons.
I made these change for two reasons: to allow for greater organizational structure and separation of data, and to facilitate populating the "location" and "origin" select lists on the search page. The previous formats for residence and nationality, plain text string values (such as "Victoria, Canada"), were limited in their searchability and organization.
This entry was posted by Jamie and filed under Notes.