The Text Encoding Initiative
http://www.tei-c.org/

"The Text Encoding Initiative (TEI) Guidelines are an international and interdisciplinary standard that enables libraries, museums, publishers, and individual scholars to represent a variety of literary and linguistic texts for online research, teaching, and preservation."  Many of the following sites reference the Text Encoding Initiative.

Transcending Textual Borders? Digitising a Middle-English Lunary from British Library Egerton MS 827 and a brief introduction to XML markup in the Humanities.
http://epu.ucc.ie/borderlines/Carrie_Julie_paper

This paper by Carrie Griffin and Julianne Nyhan, University College Cork, describes the production of electronic versions of medieval works.  It discusses markup languages and their use in the humanities.

Early English Books Online - Text Creation Partnership
http://www.lib.umich.edu/tcp/eebo/proj_des/pd_intro.html

The project goal is described as "creating accurately keyboarded and SGML/XML encoded text editions for a significant portion of the EEBO corpus."  There is a page with "current staff" that might provide useful contacts.

Technology Report: Electronic Text Corpus of Sumerian Literature
http://xml.coverpages.org/etcsl.html

This site provides an overview of the ETCSL project, and has links to the main project site and technical information.

XSEM: XML Scripture Encoding Model
http://scripts.sil.org/XSEM

This site discusses a version of XML has been designed specifically for marking up the Bible.

XML and Early English Manuscripts: Extensible Medieval Literature
http://www.blackwell-synergy.com/doi/pdf/10.1111/j.1741-4113.2004.00061.x

This short article explains how literary scholars can use XML.

Digital Critical Editions of Slovenian Literature: an Application of Collaborative Work using Open Standards
http://elpub.scix.net/data/works/att/205elpub2005.content.pdf

This article describes how Slovenian literature is being presented in a digital format, with several forms of the same text encoded and linked into a single edition using XML and the TEI Guidelines.

Encoding and Markup for Texts of the Ancient Near East
http://xml.coverpages.org/xmlMarkupANE.html

This is another overview page that describes the use of XML to markup ancient texts.  There are a number of different projects mentioned on this page, with links to each project's main web site.

Repertorium of Old Bulgarian Literature and Letters
http://clover.slavic.pitt.edu/~repertorium/

"The Repertorium of Old Bulgarian Literature and Letters was conceived as an archival repository capable of encoding and preserving in SGML (and, subsequently, XML) format archeographic, palaeographic, codicological, textological, and literary-historical data concerning original and translated medieval texts represented in Balkan Cyrillic manuscripts."