SGMLWeb > XML-TEI Web

Converting SGML-conformant TEILite editions to XML

Why convert TEI editions to XML?

In sum, the late-model browsers are capable of displaying TEI-tagged texts with no special plugins or modifications at the server (e.g. conversion to HTML).

How can standard TEI files be converted to XML?

The best way to do a conversion is to use the tei-emacs package from http://www.tei-c.org. That contains the xteilite.dtd for loading and validating as you modify the file. Here is a little guide to quick and dirty conversion.

Three Sample Texts

Sir Gawain and the Green Knight: This is based on the Tolkien edition and contains many yogh's (ʒ). This character is only found in the IPA Extensions, which are not supported by WGL4 fonts, but are by the free lucida sans unicode readily available online. Alternate style sheets allow you to view the file with line numbers visible or not—but only in Mozilla.

Yeats' Michael Robartes and the Dancer: Based on the handset Cuala Press edition of 1920, this includes images of Renaissance art works mentioned in the poems and popup windows identifying various persons mentioned and linking to pages on them. This and the next file use the TITLE attribute of the HTML anchor link to provide information about the link, so linger over the arrow just a moment. The popups and TITLE messages work better on MSIE.

W. E.B. Dubois' Souls of Black Folk: This edition, set in motion by Brad Benz, contains midi versions of the songs which preface the chapters, numerous notes, and links to the texts of Frederick Douglass and Booker T. Washington discussed in Souls.

Where are files marked up with TEILite to be found? Some of the main archives have stopped serving the main files as options and convert them to HTML on the fly. Many remain online and are being added to.

George L. Dillon
University of Washington
Date last modified: 21 March 2001