Skip to Main Content

University Library, University of Illinois at Urbana-Champaign

An Introduction to XML and TEI

This guide provides an introduction to XML and the Text Encoding Initiative.


If you have questions after reading this guide, please contact Dan Tracy (, head of Scholarly Communication and Publishing. 

For assistance with XML or other digital humanities tools and resources, don't hesitate to contact the Scholarly Commons staff by email ( or call 217-244-1331. For more information, visit the Scholarly Commons.

Editing Your Document

If you enter a schema, then your XML document will be pre-populated with basic elements. Within each element, you can add content; or type an angle bracket ("<") to see a prompt for the grammatically-correct elements allowed.

Within the TEI editor, a prompt appears when errors are made to flag mistakes.


Use the prompt from Oxygen plus the guidelines for your schema (see the TEI guidelines) to enter and encode your text correctly.