TEI

Text Encoding Initiative

Multi-level mark-up


But this is only the beginning. The TEI also provides mechanisms for associating any kind of semantic or syntactic analysis and interpretation which an encoder might wish to attach to all or part of a text, including familiar linguistic categorisations such as clause, morpheme, part-of-speech etc. as well as characterisations of narrative structure, such as theme.