The TEI Header
- Overview
- Annotated description of key tags within the TEI Header
template
- Blank TEI Header template
- TEI Header template example
- Sample Dublin Core Meta Data
Overview [up]
Every TEI-conformant text must carry such a set of descriptions, prefixed to
it and encoded as described below. The set is known as the TEI header, tagged
<teiHeader>, it consists of the following major parts:
- a file description,
tagged <fileDesc>, containing a full bibliographical description
of the computer file itself, from which a user of the text could derive a
proper bibliographic citation, or which a librarian or archivist could use
in creating a catalogue entry recording its presence within a library or archive.
The file description also includes information about the source or sources
from which the electronic document was derived.
- a text profile,
tagged <profileDesc>, containing classificatory and contextual
information about the text, such as its subject matter, the situation in which
it was produced, the individuals described by or participating in producing
it, and so forth.
- a revision history,
tagged <revisionDesc>, which allows the encoder to provide a
history of changes made during the development of the electronic text. The
revision history is important for version control and for resolving questions
about the history of a file.
The overall structure of the <teiheader> looks like this:
<teiHeader>
<fileDesc> <!-- ... --> </fileDesc>
<profileDesc> <!-- ... --> </profileDesc>
<revisionDesc> <!-- ... --> </revisionDesc>
</teiHeader>
Annotated description of key tags within the TEI header
Template [up]
- <teiHeader> supplies
the descriptive and declarative information making up an electronic title
page prefixed to every TEI-conformant text.
- attribute: type
specifies the kind of document to which the header is attached.
- <fileDesc>
contains a full bibliographic description of an electronic file.
- <titleStmt>
groups information about the title of a work and those responsible
for its intellectual content.
It contains the title given to the electronic work, together with
one or more optional statements of responsibility which identify
the encoder, author, compiler, or other parties responsible for
it.
- <title>
contains the title of a work, whether article, book, journal,
or series, including any alternative titles or subtitles.
- attribute:
level (bibliographic level (or class) of title)
indicates whether this is the title of an article, book,
journal, series, or unpublished material. Suggested values
are: (a | m | j | s | u)
- <author>
in a bibliographic reference, contains the name of the author(s),
personal or corporate, of a work; the primary statement of
responsibility for any bibliographic item.
- <sponsor>
specifies the name of a sponsoring organization or institution.
- <funder>
specifies the name of an individual, institution, or organization
responsible for the funding of a project or text.
- <principal>
supplies the name of the principal researcher responsible
for the creation of an electronic text.
- <respStmt>
supplies a statement of responsibility for someone responsible
for the intellectual content of a text, edition, recording,
or series, where the specialized elements for authors, editors,
etc. do not suffice or do not apply.
- <resp>
contains a phrase describing the nature of a person's
intellectual responsibility.
- <name>
contains a proper noun or noun phrase.
- <publicationStmt>
(publication statement) groups information concerning the publication
or distribution of an electronic or other text.
- <publisher>
provides the name of the organization responsible for the
publication or distribution of a bibliographic item.
- <pubPlace>
contains the name of the place where a bibliographic item
was published.
- <date>
contains the date of publication.
- attribute:
calendar indicates the system or calendar to which
the date belongs.
- attribute:
value gives the value of the date in some standard
form, usually yyyy-mm-dd.
- <distributor>
supplies the name of a person or other agency responsible
for the distribution of a text.
- <seriesStmt>
(series statement) groups information about the series, if any,
to which a publication belongs.
- <title>
contains the title of a work, whether article, book, journal,
or series, including any alternative titles or subtitles.
- <notesStmt>
collects together any notes providing information about a text
additional to that recorded in other parts of the bibliographic
description.
- <note>
contains a note or annotation.
- <sourceDesc>
supplies a bibliographic description of the copy text(s) from
which an electronic text was derived or generated. It may contain
a citation of some kind specifying the provenance of the text.
- <profileDesc>
provides a detailed description of non-bibliographic aspects of a
text, specifically the languages and sublanguages used, the situation
in which it was produced, the participants and their setting.
- <langUsage>
describes the languages represented within a text.
- <language>
characterizes a single language or sublanguage used within a
text.
- attribute:
wsd specifies the entity containing the writing system
declaration used for representing texts in this language.
- attribute:
usage specifies the approximate percentage (by volume)
of the text which uses this language.
- <textClass>
groups information which describes the nature or topic of a text
in terms of a standard classification scheme, thesaurus, etc.
- <keywords>
contains a list of keywords or phrases identifying the topic
or nature of a text.
- <revisionDesc>
summarizes the revision history for a file.
- <change>
summarizes a particular change or correction made to the electronic
text.
- <date>
contains the date of the change..
- attribute:
value gives the value of the date in some standard
form, usually yyyy-mm-dd.
- <respStmt>
supplies a statement of responsibility for someone responsible
for the intellectual content of a text, edition, recording,
or series, where the specialized elements for authors, editors,
etc. do not suffice or do not apply.
- <item>
describes the nature of the change.
Blank TEI Header Template: [up]
In the following template, the brackets ("[...]") denote places where
the encoder must fill in pertinent information.
<teiHeader>
<fileDesc>
<titleStmt>
<title>[ARTICLE TITLE]: electronic edition. </title>
<author>[AUTHOR NAME]</author>
<respStmt>
<resp>XML markup by</resp>
<name>[NAME]</name>
</respStmt>
<respStmt>
<resp>[DESCRIPTION]</resp>
<name>[NAME]</name>
</respStmt>
<funder>SSHRC through the MCRI program</funder>
</titleStmt>
<publicationStmt>
<publisher>Institute for Globalization and the Human Condition, McMaster University</publisher>
<pubPlace>Hamilton, Ontario, Canada</pubPlace>
<date>[DATE]</date>
<distributor>Text Analysis Portal for Research (TAPoR)</distributor>
</publicationStmt>
<seriesStmt>
<title>Sample Research Article Published in 2003 by the Institute for Globalization and the Human Condition, McMaster University, Canada with support from SSHRC.</title>
</seriesStmt>
<notesStmt>
<note>[NOTES]</note>
<note>[DUBLIN CORE SET OF META TAGS HERE]</note>
</notesStmt>
<sourceDesc>
<p>[PROSE DESCRIPTION SPECIFYING THE PROVENANCE OF THE TEXT]</p>
</sourceDesc>
</fileDesc>
<profileDesc>
<langUsage>
<language id="en" usage="100" wsd="wsd.en">
Canadian English</language>
</langUsage>
<textClass>
<keywords>
<term type="subject"/>
<term type="audience"/>
<term/>
</keywords>
</textClass>
</profileDesc>
<revisionDesc>
<change>
<date calendar="Gregorian" value="YYYY-MM-DD">MM-DD-YYYY</date>
<respStmt>
<resp>XML Markup</resp>
</respStmt>
<item>[DESCRIPTION OF CHANGE]</item>
</change>
<change>
<date calendar="Gregorian" value="YYYY-MM-DD">MM-DD-YYYY</date>
<respStmt>
<resp>XML Markup</resp>
</respStmt>
<item>[DESCRIPTION OF CHANGE]</item>
</change>
</revisionDesc>
</teiHeader>
TEI Header Template Example [up]
The following example is a properly encoded TEI Header of a reseach article:
<teiHeader>
<fileDesc>
<titleStmt>
<title>Globalization: Challenges and Opportunities : electronic edition. </title>
<author>G. B. Madison</author>
<respStmt>
<resp>XML markup by</resp>
<name>Stevens, Alex</name>
</respStmt>
<respStmt>
<resp>Research article editors</resp>
<name>Rhoda E. Howard</name>
</respStmt>
<funder>SSHRC through the MCRI program</funder>
</titleStmt>
<publicationStmt>
<publisher>Institute for Globalization and the Human Condition, McMaster University</publisher>
<pubPlace>Hamilton, Ontario, Canada</pubPlace>
<date>2003</date>
<distributor>Text Analysis Portal for Research (TAPoR)</distributor>
</publicationStmt>
<seriesStmt>
<title>Sample Research Article Published in 2003 by the Institute for Globalization and the Human Condition, McMaster University, Canada with support from SSHRC.</title>
</seriesStmt>
<notesStmt>
<note>This is the template for a Research Article.</note>
</notesStmt>
<sourceDesc>
<p/>
</sourceDesc>
</fileDesc>
<profileDesc>
<langUsage>
<language id="en" usage="100" wsd="wsd.en">
Canadian English</language>
</langUsage>
<textClass>
<keywords>
<term type="subject"/>
<term type="audience"/>
<term/>
</keywords>
</textClass>
</profileDesc>
<revisionDesc>
<change>
<date calendar="Gregorian " value="2002-10-07">10-07-2002</date>
<respStmt>
<resp>Template Author</resp>
</respStmt>
<item>Entry created by Alex Stevens and edited by Geoffrey Rockwell</item>
</change>
<change>
<date calendar="Gregorian" value="2003-01-11">01-11-2003</date>
<respStmt>
<resp>Template Author</resp>
</respStmt>
<item>Entry edited by Alex Stevens</item>
</change>
</revisionDesc>
</teiHeader>
Sample Dublin Core Meta Data [up]
The values listed below are for demonstration purposes and will need to be
modifed accordingly.
<notesStmt>
<note><![CDATA[
<link rel="schema.DC" href="http://purl.org/dc">
<meta name="DC.Title" lang="en" content="Research Article, Globalization Compendium">
<meta name="DC.Creator" content="Editors of the Compendium">
<meta name="DC.Subject" lang="en" content="Globalization, Human Condition">
<meta name="DC.Description" lang="en" content="Compendium Research Article">
<meta name="DC.Publisher" content="McMaster University">
<meta name="DC.Contributor" content="Stevens, Alex; Rockwell, Geoffrey">
<meta name="DC.Date" scheme="WTN8601" content="2003-01-23">
<meta name="DC.Type" content="Interactive.Multimedia">
<meta name="DC.Format" content="text/xml">
<meta name="DC.Identifier" content="">
<meta name="DC.Language" content="English">
<meta name="DC.Rights" content="Text copyright Globalization Institute, McMaster University.">]]></note>
</notesStmt>
Contents | TEI Header
| Research Article | Bibliography
Index | Glossary Index