TEI: P4 Guidelines
The TEI P4 Guidelines first appeared in print in June 2002. P4 was the first version of the Guidelines to implement proper XML support, while ensuring backwards compatibility with earlier TEI specifications.
P4 was superseded by the release of the P5 Guidelines in November 2007. To learn how to migrate from P4 to P5, visit the migration page.
Getting the P4 Guidelines
Download
The text of the P4 Guidelines is available online, as HTML or PDF files.
The TEI Guidelines are also provided as a modular, extensible, DTD (Document Type Definition). The modules making up the TEI DTD can be configured for use either as an SGML or an XML DTD. There are full details in the P4 DTD document.
You can view the DTD files online or download them as a bundled set in the form of a compressed tar archive or zip archive, including both HTML and DTD.
Order Print Copies
The full P4 Guidelines are also still available in print, and can be ordered directly from the University of Virginia Press. The regular price of $90 includes standard delivery charges. All TEI Consortium members receive one free copy of the Guidelines automatically. Consortium members and subscribers may purchase copies at a $30 discount, using the members' order form.

