Encoding Primer

Feeling Brave?

MoEML encourages all of our contributors to learn the basics of tagging of people, organizations, places, dates, and sources as outlined in our step-by-step instructions below. If you are one of our Pedagogical Partners, you might find that some of your students already know how to do this or are keen to learn in order to enhance their skills.

What Information Needs to be Marked Up

Tag People in PERS1.xml

Search MoEML’s list of @xml:ids to see if an @xml:id already exists for the person. If it does, proceed as follows:
To mark up or tag a literary or historical person, use the <name> element with a @ref value of "mol:" followed by the person’s @xml:id, which links to that person’s entry in the MoEML personography database. For example,
<name ref="mol:HENS1">Philip Henslowe</name>

Tag Organizations in ORGS1.xml

Search MoEML’s list of @xml:ids to see if an @xml:id already exists for the organization. If it does, proceed as follows:
To mark up or tag a string of text referring to an organization, use the <name> element with a @type value of "org" and a @ref value of "mol:" followed by the organization’s @xml:id. This process links the string of text to the organization’s entry in the orgography database. For example,
<name type="org" ref="mol:CLOT2">The Clothworkers’ Company</name>

Tag Toponyms (Location Files)

Search MoEML’s list of @xml:ids to see if an @xml:id already exists for the location. Bear in mind that we only mark up places in London, not elsewhere. If an @xml:id exists, proceed as follows:
To mark up or tag a string of text containing a location, use the <ref> element with a @target value of "mol:" followed by the location’s @xml:id, which links to that location’s encyclopedia page. For example,
<ref target="mol:BUDG1">Budge Row</ref> ran east-west through <ref target="mol:CORD1">Cordwainer Street ward</ref>.

Tag Early Modern Dates

To mark up or tag an early modern date, follow the instructions on our Encode a Date page.

Tag Sources in BIBL1.xml

To mark up or tag your works cited, follow the instructions included here.