Nowadays, we usually think of XML as a markup technique utilized by programmers to encode computer-oriented data. Even DocBook and similar document-oriented DTDs focus on preparation of technical documentation. However, the real roots of XML are in the SGML community, which was largely composed of publishers, archivist, librarians and scholars. TEI is an XML Schema devoted to the markup of literary and linguistic texts. TEI allows useful abstractions of typographic features of source documents, but in a manner that allows useful searching, indexing, comparison, and print publication (features absent in mere photographic images of prior publications).