This manual documents a Racket library for working with Digital Ricœur’s TEI XML documents. In addition to being valid and well-formed XML, the documents should conform to the structure specified in TEI Encoding Guidelines for Digital Ricœur.
This document is written for programmers intending either to use this library in their own programs or to contribute to its implementation. It assumes familiarity with the concept of x-expressions from Racket’s xml library (see the grammar documented under xexpr?).
The ricoeur/tei library provides all of the bindings documented in this manual, except where otherwise noted. The ricoeur/tei/base library provides most of ricoeur/tei, but omits some derived functionality to achieve a slightly faster startup time, making it particularly suitable for command-line scripts.
In addition to the bindings implemented as part of this library, both ricoeur/tei and ricoeur/tei/base re-export everything from adjutor, gregor, and data/maybe, as well as fmap (the version of map from data/functor) and comment?, p-i?, valid-char?, and cdata? from xml.
Not part of Digital Ricœur? Welcome! You probably want to read about the Status of This Library before going much further.