This analysis of J.R.R. Tolkien’s The Lay of Leithian focuses on the inclusion of alliteration in the poem, aided by the encoding of the poem in XML and the creation of accompanying XSLT documents that transform and represent the data encoded. Tolkien’s unfinished poem The Lay of Leithian, totalling 4223 lines across 14 cantos, exists in various drafts compiled by Christopher Tolkien and published in The Lays of Beleriand. The Lay of Leithian is written in octosyllabic couplets, following the form of the lay, and is organized into stanzas and cantos of varying length that divide the narrative action. Although written in the style of a lay, a non-alliterative poetic form, The Lay of Leithian contains a considerable amount of alliteration. Th...