Victorian Women Writers Project

The TEI header


The TEI header is a vital part of any text we prepare. It is a record of the print source for the electronic text, of the work we have done on the electronic text, of where the electronic text was created, and it provides various date and keyword fields for our search tools. A copy of a template header, as well as headers from actual e-texts will be available in LETRS.

The version of the TEI header that we use consists of four major sections:

<TEIheader>

</teiHeader>


  1. The File Description -- <fileDesc> -- contains a full bibliographical description of the computer file -- title, author, creator of electronic version, publisher of electronic version, the size of completed file, in KB -- along with information about the printed source from which the electronic text was derived (contained within the <sourceDesc>).

  2. The Encoding Description -- <encodingDesc> --allows for detailed description of whether (or how) spelling was normalized during transcription, how the encoder resolved ambiguities in the source, what levels of encoding or analysis were applied, and so on.

  3. The Text Profile Description -- <profileDesc> -- provides a detailed description of non-bibliographic aspects of the text, specifically the languages used.

  4. The Revision History Description -- <revisionDesc>: allows present and future encoders to provide a history of changes made during the development of the electronic text.


Sample TEI Header

<!DOCTYPE TEI.2 SYSTEM "teilite.dtd"
[
<!ENTITY amp CDATA "&">
<!ENTITY colon CDATA ":">
<!ENTITY copy CDATA "(c)">
<!ENTITY eacute CDATA "é">
<!ENTITY gt CDATA ">">
<!ENTITY hyphen CDATA "-">
<!ENTITY ldquo CDATA '"'>
<!ENTITY lsquo CDATA "'">
<!ENTITY lt CDATA "<">
<!ENTITY mdash CDATA "--">
<!ENTITY rdquo CDATA '"'>
<!ENTITY rsquo CDATA "'">
]>
<TEI.2><TEIHEADER><FILEDESC>
<TITLESTMT><TITLE>Liberty Lyrics (1895):
a machine‐readable transcription</TITLE>
<AUTHOR>Bevington, Louisa Sarah (Guggenberger) (1845-?)</AUTHOR>
<RESPSTMT><RESP>Transcribed and encoded by </RESP>
<NAME>Felixr Jung</NAME></RESPSTMT>
<RESPSTMT><RESP>Edited by </RESP>
<NAME>Perry Willett</NAME></RESPSTMT></TITLESTMT>
<EXTENT>TEI formatted filesize uncompressed: XXXXX bytes</EXTENT>
<PUBLICATIONSTMT>
<PUBLISHER>Library Electronic Text Resource Service (LETRS),
Indiana University</PUBLISHER>
<DATE>September 22, 1995</DATE>
<AVAILABILITY><P>&copy; 1995, The Trustees of Indiana University.
Indiana University makes a claim of copyright only to original contributions
made by the Victorian Women Writers Project participants and other members of
the university community. Indiana University makes no claim of copyright to the
original text. Permission is granted to download, transmit or otherwise reproduce,
distribute or display the contributions to this work claimed by Indiana University for
non‐profit educational purposes, provided that this header is included in its
entirety. For inquiries about commercial uses, please contact:
<ADDRESS>
<ADDRLINE>Library Electronic Text Resource Service</ADDRLINE>
<ADDRLINE>Main Library</ADDRLINE>
<ADDRLINE>Indiana University</ADDRLINE>
<ADDRLINE>Bloomington, IN 47405</ADDRLINE>
<ADDRLINE>United States of America</ADDRLINE>
<ADDRLINE>Email: LETRS@indiana.edu</ADDRLINE></ADDRESS>
</P></AVAILABILITY>
</PUBLICATIONSTMT>
<SERIESSTMT>
<TITLE>Victorian Women Writers Project: an Electronic Collection</TITLE>
<RESPSTMT><NAME>Perry Willett, </NAME>
<RESP>General Editor</RESP></RESPSTMT></SERIESSTMT>
<SOURCEDESC>
<BIBLFULL><TITLESTMT><TITLE>Liberty Lyrics </TITLE>
<RESPSTMT><RESP>by </RESP>
<NAME>L.S. Bevington</NAME></RESPSTMT></TITLESTMT>
<EXTENT>16 p.</EXTENT>
<PUBLICATIONSTMT><PUBLISHER>Printed and Published by James Tochatti,
</PUBLISHER>
<PUBLISHER>“Liberty” Press </PUBLISHER>
<PUBPLACE>London </PUBPLACE>
<DATE>1895</DATE>
</PUBLICATIONSTMT></BIBLFULL>
<P>The copy transcribed is from Michigan State University Libraries.</P>
</SOURCEDESC>
</FILEDESC>
<ENCODINGDESC><EDITORIALDECL><P>All poems occur as DIV0. Sonnets
are attributed as "type=sonnets"; the rest are "type=poem". All quotation marks, hyphens,
dashes, apostrophes and colons have been transcribed as entity references. All <lg>
(line groups) are attributed as cantos, stanzas, couplets, verse paragraphs, etc. All poems
with regularly indented lines use the attribute "rend" in the <l> tag, with the value
"indent1" for one tab stop, "indent2" for two tab stops, etc. All split lines are attributed as
"type=i" for the initial portion, and "type=f" for the final portion.</P>
<P>All apostrophes and single right quotation marks are encoded as &rsquo;.</P>
<P>Any hyphens occurring in line breaks have been removed; all hyphens are encoded as
&hyphen; and em dashes as &mdash;.</P>
</EDITORIALDECL>
<TAGSDECL>
<TAGUSAGE GI="address" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="addrline" OCCURS="7"></TAGUSAGE>
<TAGUSAGE GI="author" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="availability" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="back" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="bibl" OCCURS="3"></TAGUSAGE>
<TAGUSAGE GI="biblfull" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="body" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="byline" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="change" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="corr" OCCURS="4"></TAGUSAGE>
<TAGUSAGE GI="date" OCCURS="4"></TAGUSAGE>
<TAGUSAGE GI="div" OCCURS="3"></TAGUSAGE>
<TAGUSAGE GI="div0" OCCURS="15"></TAGUSAGE>
<TAGUSAGE GI="div1" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="docauthor" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="docdate" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="docimprint" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="doctitle" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="editorialdecl" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="emph" OCCURS="15"></TAGUSAGE>
<TAGUSAGE GI="encodingdesc" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="extent" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="filedesc" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="front" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="head" OCCURS="18"></TAGUSAGE>
<TAGUSAGE GI="item" OCCURS="9"></TAGUSAGE>
<TAGUSAGE GI="L" OCCURS="484"></TAGUSAGE>
<TAGUSAGE GI="lg" OCCURS="109"></TAGUSAGE>
<TAGUSAGE GI="list" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="name" OCCURS="31"></TAGUSAGE>
<TAGUSAGE GI="p" OCCURS="7"></TAGUSAGE>
<TAGUSAGE GI="pb" OCCURS="14"></TAGUSAGE>
<TAGUSAGE GI="publicationstmt" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="publisher" OCCURS="4"></TAGUSAGE>
<TAGUSAGE GI="pubplace" OCCURS="2"></TAGUSAGE>
<TAGUSAGE GI="resp" OCCURS="7"></TAGUSAGE>
<TAGUSAGE GI="respstmt" OCCURS="7"></TAGUSAGE>
<TAGUSAGE GI="revisiondesc" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="seriesstmt" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="sourcedesc" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="tagsdecl" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="tagusage" OCCURS="50"></TAGUSAGE>
<TAGUSAGE GI="tei.2" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="teiheader" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="text" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="title" OCCURS="5"></TAGUSAGE>
<TAGUSAGE GI="titlepage" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="titlepart" OCCURS="1"></TAGUSAGE>
<TAGUSAGE GI="titlestmt" OCCURS="2"></TAGUSAGE>
</TAGSDECL></ENCODINGDESC>
<REVISIONDESC>
<CHANGE><DATE>1995-06-30</DATE>
<RESPSTMT><NAME>Felix Jung, </NAME>
<RESP>editor.</RESP></RESPSTMT>
<ITEM>finished data entry, basic encoding and proofing</ITEM></CHANGE>
<CHANGE><DATE>1995-09-11</DATE>
<RESPSTMT><NAME>Perry Willett, </NAME>
<RESP>general editor.</RESP></RESPSTMT>
<ITEM>finished TEI-conformant encoding and final proofing</ITEM></CHANGE>
</REVISIONDESC>
</TEIHEADER>


The Tags Exclusive to the Header

The global attributes are as follows:

<teiHeader> : supplies the descriptive and declarative information making up an "electronic title page" prefixed to every TEI-conformant text. May contain: encodingDesc fileDesc profileDesc revisionDesc Attributes: global plus the following:

<fileDesc> :
contains a full bibliographic description of an electronic file including statements of responsibility and a full bibliographic description for the source or sources from which the electronic text was derived.
May contain: <editionStmt> <extent> <notesStmt> <publicationStmt> <seriesStmt> <sourceDesc> <titleStmt>
Attributes: global

<titleStmt>
May contain: <title> <author> <editor> <sponsor> <funder> <principal> <respStmt>
Attributes: global

<editionStmt>:
groups information relating to one edition of a text.
May contain: <edition> <respStmt> <p>
Attributes: global

<edition>:
describes the particularities of one edition of a text.
May occur within: <bibl> <editionStmt>
May contain: #PCDATA (free text) <abbr> <add> <address> <anchor> <code> <corr> <date> <del> <emph> <foreign> <formula> <gap> <gi> <gloss> <hi> <ident> <kw> <mentioned> <name> <num> <orig> <ptr> <ref> <reg> <rs> <s> <seg> <sic> <soCalled> <term> <time> <title> <xptr> <xref>
Attributes: global

Example:
<edition>First edition <date>Oct 1990</date>
</edition>

<extent>:
describes the approximate size of the electronic text as stored on some carrier medium, specified in any convenient units.
May occur within: <bibl> <biblFull> <fileDesc>
May contain: #PCDATA (free text) <abbr> <add> <address> <anchor> <code> <corr> <date> <del> <emph> <foreign> <formula> <gap> <gi> <gloss> <hi> <ident> <kw> <mentioned> <name> <num> <orig> <ptr> <ref> <reg> <rs> <s> <seg> <sic> <soCalled> <term> <time> <title> <xptr> <xref>
Attributes: global

Example:
<extent>Filesize uncompressed: 35435 bytes. </extent>

<publicationStmt>:
groups information concerning the publication or distribution of an electronic or other text.
May occur within: <biblFull> <fileDesc>
May contain: <address> <authority> <availability> <date> <distributor> <idno> <p> <publisher> <pubPlace>
Attributes: global

Example:
<PUBLICATIONSTMT>
<PUBLISHER>Library Electronic Text Resource Service
(LETRS),
Indiana University</PUBLISHER>
<DATE>September 18, 1995</DATE>
<AVAILABILITY><P>© 1995, The Trustees of Indiana University.
Indiana University makes a claim of copyright only to original contributions made by the
Victorian Women Writers Project participants and other members of the university
community. Indiana University makes no claim of copyright to the original text. Permission
is granted todownload, transmit or otherwise reproduce, distribute or display the contributions to this work claimed by Indiana University for non‐profit educational
purposes, provided that this header is included in its entirety. For inquiries about commercial uses, please contact:
<ADDRESS>
<ADDRLINE>Library Electronic Text Resource Service</ADDRLINE>
<ADDRLINE>Main Library</ADDRLINE>
<ADDRLINE>Indiana University</ADDRLINE>
<ADDRLINE>Bloomington, IN 47405</ADDRLINE>
<ADDRLINE>United States of America</ADDRLINE>
<ADDRLINE>Email: LETRS@indiana.edu</ADDRLINE></ADDRESS>
</P></AVAILABILITY>
</PUBLICATIONSTMT>

<distributor>:
supplies the name of a person or other agency responsible for the distribution of a text.
May occur within: <publicationStmt>
May contain: #PCDATA (free text) <abbr> <add> <address> <anchor> <code> <corr> <date> <del> <emph> <foreign> <formula> <gap> <gi> <gloss> <hi> <ident> <kw> <mentioned> <name> <num> <orig> <ptr> <ref> <reg> <rs> <s> <seg> <sic> <soCalled> <term> <time> <title> <xptr> <xref>
Attributes: global.

<availability>:
supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, etc.
May occur within: <publicationStmt>
May contain: <p>
Attributes: global plus the following:
Example:
<availability status=restricted>
<p>Available for academic research purposes only. </p>
<availability status=free>
<availability status=restricted>
<p>Available under licence from the publishers.

<seriesStmt>:
groups information about the series, if any, to which a publication belongs.
May occur within: <biblFull> <fileDesc>
May contain: <idno> <p> <respStmt> <title>
Attributes: global

Example:
<seriesStmt>
<title>Victorian Women Writers Project: an Electronic Collection</title>
<respStmt><name>Perry Willett, </name>
<resp>General Editor</resp></respStmt></seriesStmt>

<notesStmt>:
collects together any notes providing information about a text additional to that recorded in other parts of the bibliographic description.
May occur within: <biblFull> <fileDesc>
May contain: <note>
Attributes: global

<sourceDesc>:
supplies a bibliographic description of the copy text(s) from which an electronic text was derived or generated.
May occur within: <biblFull> <fileDesc>
May contain: <bibl> <biblFull> <p>
Attributes: global plus the following:

<encodingDesc>:
documents the relationship between an electronic text and the source or sources from which it was derived.
May contain: <projectDesc> <samplingDecl> <editorialDecl> <tagsDecl> <refsDecl> <classDecl> <p>
Attributes: global

<projectDesc>
May contain: <p>
Attributes: global plus the following:

<editorialDesc>
May contain: <p>
Attributes: global plus the following:

<tagsDecl>
May contain: <rendition> <tagUsage>
Attributes: global

<tagsUsage>:
Lists the tags used throughout the document, and the number of times they occur.
May contain: #PCDATA (free text) <ident> <code> <kw> <abbr> <address> <date> <name> <num> <rs> <time> <add> <corr> <del> <gap> <orig> <reg> <sic> <unclear> <emph> <foreign> <gloss> <hi> <mentioned> <soCalled> <term> <title> <ptr> <ref> <xptr> <xref> <anchor> <s> <seg> <gi> <formula> <eg> <bibl> <biblFull> <cit> <q> <label> <list> <listBibl> <note> <figure> <stage> <table> <text>
Attributes:global plus the following:

<rendition>:
supplies information about the intended rendition of one or more elements.
May contain: #PCDATA (free text) <ident> <code> <kw> <abbr> <address> <date> <name> <num> <rs> <time> <add> <corr> <del> <gap> <orig> <reg> <sic> <unclear> <emph> <foreign> <gloss> <hi> <mentioned> <soCalled> <term> <title> <ptr> <ref> <xptr> <xref> <anchor> <s> <seg> <gi> <formula> <eg> <bibl> <biblFull> <cit> <q> <label> <list> <listBibl> <note> <figure> <stage> <table> <text>
Attributes: global

<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.
May occur within: <teiHeader>
May contain: <creation> <langUsage> <textClass>
Attributes: global

<langUsage>:
describes the languages, sublanguages, registers, dialects etc. represented within a text. May contain either a simple prose description, or more formally one or more <language> elements
May occur within: <profileDesc>
May contain: <language> <p>
Attributes: global

<language>:
identifies the language being described in the writing system declaration.
May occur within: <langUsage>
May contain: #PCDATA (free text)
Attributes: global plus the following:
Example:
<language iso639=GRC>Classical Greek</language>

<revisionDesc>:
summarizes the revision history for a file. Record changes with most recent changes at the top of the list.
May occur within: <teiHeader>
May contain: <change> <list>
Attributes: global
Example:
<revisionDesc>
<change><date>1995-06-30</date>
<respStmt><name>Felix Jung</name>
<resp>editor</resp></respStmt>
<item>finished data entry, basic encoding and proofing</item></change></revisionDesc>

<change> :
summarizes a particular change or correction made to a particular version of an electronic text which is shared between several researchers.
May occur within: <revisionDesc>
May contain: <date> <item> <respStmt>
Attributes: global

<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.
May occur within: <bibl> <change> <editionStmt> <series> <seriesStmt> <titleStmt>
May contain: <name> <resp>
Attributes: global


About the VWWP
To the VWWP Home Page
To the VWWP Library