4. TEI Header Structure

<fileDesc> (file description) contains a full bibliographic
description of an electronic file.

<encodingDesc> (encoding description) documents the
relationship between an electronic text and the source or sources
from which it was derived.

<revisionDesc> (revision description) summarizes the
revision history for a file.

<profileDesc> (text-profile description) 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. (just
about everything not covered in the other header elements

descriptions: Elements whose names end with the suffix Desc
(e.g. <settingDesc>, <projectDesc>) contain a prose
description, possibly, but not necessarily, organised under some
specific headings by suggested sub-elements.

8. File Description

has some mandatory parts:

<titleStmt>: provides a title for the resource and
any associated statements of responsibility

<sourceDesc>: documents the sources from which the
encoded text derives (if any)

<publicationStmt>: documents how the encoded text
is published or distributed

and some optional ones:

<editionStmt>: yes, electronic texts have editions
too

<seriesStmt>: and they also fit into
"series".

<extent>: how many floppy disks, gigabits,
files?

<notesStmt>: notes of various types

NB A "file" may actually correspond with several operating system
files.

9. The File Description

<titleStmt>: contains a mandatory <title> which
identifies the electronic file (not its source!)

optionally followed by additional titles, and by ‘statements of
responsibility’, as appropriate, using <author>,
<editor>, <sponsor>, <funder>,
<principal> or the generic <respStmt>

<publicationStmt>: may contain

plain text (e.g. to say the text is unpublished)

one or more <publisher>, <distributor>,
<authority>, each followed by <pubPlace>,
<address>, <availability>, <idno>

11. A minimal <fileDesc>

<fileDesc><titleStmt><title>Punch, or the London Charivari: an electronic edition</title><respStmt><resp>TEI version</resp><name>TEI@Oxford team</name></respStmt></titleStmt><publicationStmt><p>Unpublished</p></publicationStmt><sourceDesc><p>Recoded from the Project Gutenberg versions</p></sourceDesc></fileDesc>

14. <titleStmt> example (2)

<titleStmt><title>Yogadarśanam (arthāt yogasūtrapūphah): a digital edition.</title><title>The Yogasūtras of Patañjali: a digital edition.</title><funder>Wellcome Institute for the History of Medicine</funder><principal>Dominik Wujastyk</principal><respStmt><name>Wieslaw Mical</name><resp>data entry and proof correction</resp></respStmt><respStmt><name>Jan Hajic</name><resp>conversion to TEI-conformant markup</resp></respStmt></titleStmt>

15. <publicationStmt> example

<publicationStmt><publisher>TEI Consortium</publisher><distributor>Oxford Text Archive</distributor><idnotype="ota">1256</idno><availability><p>Available under the terms of a Creative Commons Attribution and Share Alike licence.</p></availability></publicationStmt>

16. <publicationStmt> example

<publicationStmt><publisher>Sigma Press</publisher><address><addrLine>21 High Street,</addrLine><addrLine>Wilmslow,</addrLine><addrLine>Cheshire M24 3DF</addrLine></address><date>1991</date><distributor>Oxford Text Archive</distributor><idnotype="ota">1256</idno><availability><p>Available with prior consent of depositor for purposes of academic research and teaching only.</p></availability></publicationStmt>

20.
<bibl> vs. <biblStruct> Example

<biblStruct><analytic><titlelevel="a">Enigma</title></analytic><monogr><titlelevel="j">Punch: or the London Charivari</title><imprint><pubPlace>London</pubPlace><datewhen="1914-07-01">July 1, 1914</date><biblScopetype="vol">147</biblScope><biblScopetype="pp">1-20</biblScope></imprint></monogr></biblStruct>

The <encodingDesc> can replace the user manual, or
facilitate semi-automatic document management, given agreed codes of
practice.

25. Sample encoding description 1

<encodingDesc><projectDesc><p>The Imaginary Punch Project aims to ....</p></projectDesc><samplingDecl><p>All pages containing editorial text have been transcribed in full. Pages containing only advertisements or illustrations have been omitted.</p></samplingDecl><editorialDecl><hyphenation><p>Original spelling has been retained, except that words hyphenated across line breaks have been silently re-assembled. The hyphen has been retained only where there exist cases of the same word being hyphenated in mid-line position. </p></hyphenation><!-- ... --></editorialDecl><!-- ... --></encodingDesc>

26. Sample encoding description 2

<encodingDesc><!-- ... --><classDecl><taxonomyxml:id="size"><categoryxml:id="large"><catDesc>story occupies more than half a page</catDesc></category><categoryxml:id="medium"><catDesc>story occupies between quarter and a half page</catDesc></category><categoryxml:id="small"><catDesc>story occupies less than a quarter page</catDesc></category><!-- etc --></taxonomy><taxonomyxml:id="topic"><categoryxml:id="politics-domestic"><catDesc>Refers to domestic political events</catDesc></category><categoryxml:id="politics-foreign"><catDesc>Refers to foreign political events</catDesc></category><categoryxml:id="social-women"><catDesc>refers to role of women in society</catDesc></category><categoryxml:id="social-servants"><catDesc>refers to role of servants in society</catDesc></category><!-- etc --></taxonomy></classDecl><!-- ... --></encodingDesc>

27. More about <taxonomy>

You can point using ana to any of the
xml:id attributes

By pointing to a sub-categorization you are inheriting the
semantics of its ancestors

You can give multiple <cateDesc> elements for any
<category>, e.g. in other languages

You can use the ana attribute to point back to these
from structural elements or phrase-level elements

28. XIncluding a <taxonomy>

You can XInclude the <taxonomy> from another file by
putting something like:

40. <particDesc> example (2)

<particDesc><listPerson><personxml:id="HanBISM"><persName><forename>Hannah</forename><forename>Leopoldine</forename><forename>Alice</forename><surname>von Bismarck-Schönhausen</surname></persName><birthwhen="1893-05-11">1893</birth><death>1971</death></person><personxml:id="JLOW"><persName>James William Lowther</persName><persNametype="title" from="1921-07-08">Viscount Ullswater</persName><occupationfrom="1905-06-08" to="1921-04-28">Speaker of the House of Commons</occupation><birthwhen="1855-04-01">1855</birth><deathwhen="1949-03-27">1947</death><note><reftarget="http://www.oxforddnb.com/view/article/34615?docPos=2">DNB entry</ref></note><note><reftarget="http://hansard.millbanksystems.com/people/mr-james-lowther">Hansard entry</ref></note></person></listPerson></particDesc>

41. <settingDesc> example (1)

<settingDesc><p>The time is early spring, 1989. P1 and P2 are playing on the rug of a suburban home in Bedford. P3 is doing the washing up at the sink. P4 (a radio announcer) is in a broadcasting studio in London.</p></settingDesc>

45. Bibliographic Citations (Refresher)

The 'header' module also includes <biblFull>
(fully-structured bibliographic citation based on the TEI fileDesc
element)

46. Simple <bibl> Example

<p>In Punch there is an brief note which could be misconstrued as a slur upon Canadians.<note><bibl><titlelevel="a">Men for the Antarctic</title><titlelevel="j">Punch: or the London Charivari</title>,<biblScope>p. 6</biblScope></bibl></note> It should not be understood as such.</p>

47. Another <bibl> Example

Keble is, of course, named after the hymn-writer and divine; and Balliol, where C. S. C. played the wag so divertingly, after Balliol. <hirend="it">À propos</hi> of Oxford, it is a question whether that extremely amusing book, <bibl><title>Verdant Green</title></bibl>, is still much read by freshers.

48. Simple <biblStruct> Example

Enigma, Punch: or the
London Charivari , July 1,
1914, 147, pp. 1-20

<biblStruct><analytic><titlelevel="a">Enigma</title></analytic><monogr><titlelevel="j">Punch: or the London Charivari</title><imprint><pubPlace>London</pubPlace><datewhen="1914-07-01">July 1, 1914</date><biblScopetype="vol">147</biblScope><biblScopetype="pp">1-20</biblScope></imprint></monogr></biblStruct>

49. Another <biblStruct> Example

<biblStruct><monogr><title>Magnalia Christi Americana: or, The ecclesiastical history of New-England, ...</title><author>Mather, Cotton (1663-1728)</author><imprint><publisher>Printed for Thomas Parkhurst, at the Bible and Three Crowns in Cheapside.</publisher><pubPlace>London</pubPlace><datewhen="1702">MDCCII</date></imprint></monogr></biblStruct>

50. <biblFull> example (1)

<biblFull><titleStmt><title>The Feminist Companion to Literature in English: women writers from the middle ages to the present</title><author>Blain, Virginia</author><author>Clements, Patricia</author><author>Grundy, Isobel</author></titleStmt><editionStmt><edition>UK edition</edition></editionStmt><extent>1231 pp</extent><publicationStmt><publisher>Yale University Press</publisher><pubPlace>New Haven and London</pubPlace><date>1990</date></publicationStmt><sourceDesc><p>No source: this is an original work</p></sourceDesc></biblFull>

52. And what about <cit>?

<cit> gives a collection of a quotation with a bibliographic
citation

<cit><q>For those less familiar with the TEI Guidelines, this temptation for unbridled customization can be overwhelming, yet should be avoided if possible. </q><bibl><author>James Cummings</author><titlelevel="a">The Text Encoding Initiative and the Study of Literature</title> in <titlelevel="m">A Companion to Digital Literary Studies</title><ptrtarget="http://snipurl.com/dlstei"/></bibl></cit>