Brown University    Women Writers Project    Research and Encoding    Training Materials  nbsp; DTDs

WWP DTDs

Last updated:

Tuesday, 09-Jan-2007 10:55:01 EST


Introduction

Of the eight base tag sets, the WWP uses only four: prose, verse, drama, and mixed. Among the additional tag sets, the WWP uses those for linking (Chapter 14), transcription of primary sources (Chapter 18), specialized tagging of names and dates (Chapter 20), and a few tags (chiefly <figure> and associated tags) from Chapter 22 (Tables, Formulae, and Graphics). Our WWP-specific modifications/additions to the TEI tagset are contained in the file wwpstore.dtd (which stands for WWP Storage DTD).

The WWP also adds a number of non-ISO general character entities. These are contained in the files wwpgrk1.ent and wwpspec.ent, which respectively stand for WWP Greek entities and WWP Special entities. In addition, the WWP embeds all the ISO entities. The over-arching file which embeds the ISO character entities (and also invokes the Greek and the special character entity files) is called wwpstore.ent. This file also takes care file and parameter entity declarations and changes to the TEI DTD.

As mentioned above, all WWP DTD files are invoked via the file wwpstore.dtd. Encoders need not worry too much about all this, since they can invoke the DTD properly using a public identifier, e.g.:

<!DOCTYPE TEI.2 PUBLIC "-//Brown University Women Writers Project//DTD WWP Textbase Storage DTD//EN">


Practical Usage of the Following Files

By far the most useful file is the "flat" dtd, so-named because it simply consists of all the other DTD files (including the ordinary TEI DTD declarations we use) squashed "flat" into a single file. If you are looking for something and are not sure what file it is in, you won't have to go searching; just use the "flat" DTD.

For example, if you wish to find the declaration for a given element in the flat DTD search for ELEMENT gi, where "gi" is the element name, e.g. search for ELEMENT figure if you are wondering about the content model for <figure>. Note that if you are quite into speed and saving key-strokes, you need not actually search for "ELEMENT"; "ENT" (the last three letters of "ELEMENT") will do.


Actual DTD Files


Carole_Mah@brown.edu
Tuesday, 09-Jan-2007 10:55:01 EST