Skip to main content

TEI Data

TEI data is a document that is conformant against a schema generated from a customization of the Guidelines of the Text Encoding Initiative (TEI). All TEI documents are valid against a customization's schema, even where that is 'TEI All' (a customization that contains the whole of the TEI). In addition conformant TEI data obeys the TEI's normative 'abstract model' descibed in the prose of the TEI Guidelines.


  • The following example shows some fragmentary TEI data about the person Joan Braderman:
<person xml:id="h-nr254">
<idno type="Wikidata"></idno>
<name>Braderman, Joan</name>
<persName type="preferred">
<occupation cert="high">Film maker</occupation>
<affiliation cert="high">Heresies Collective</affiliation>
  • The following example show a complete valid TEI document
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href=""
type="application/xml" schematypens=""?>
<?xml-model href=""
type="application/xml" schematypens=""?>
<TEI xmlns="">
<!-- Every TEI document requires a title -->
<title>A Sample TEI Document</title>
<author ref="#JamesC">James Cummings</author>
<publisher>A variety of information about the publisher can go
<authority>Information about the authority responsible for the
document can go here</authority>
<p>A variety of bibliographic references about the source file, even
if born-digital, can go here.</p>
<!-- Information about people mentioned in the document can go here -->
<person xml:id="JamesC">
<persName type="main">
<affiliation>Newcastle University</affiliation>
<head>About the TEI</head>
<p> The Text Encoding Initiative (TEI) is a membership consortium
which, amongst many other things, maintains a community-developed
standard for the representation of texts in digital form. Its
chief deliverable is a set of Guidelines which specify encoding
methods for machine-readable texts, chiefly in the humanities,
social sciences and linguistics. </p>
<head>About the TEI Guidelines</head>
<p>The <ref
>TEI Guidelines</ref> are a very generalised encoding
framework which enables many and disparate uses across a wide
range of (usually Humanities-based) domains. TEI projects
customise their use of the TEI framework through a TEI ODD
customisation, often created through web tools such as <ref
<!-- More documentation here... -->