XML databases
21 « ^»

Can be ‘data-centric’ or ‘document-centric’. For TEI documents you want the latter: ‘They are characterized by irregular structure and mixed content and their physical structure is important.’ (Quote, and other useful ideas, from XML Database Products by Ronald Bourret.)

This means you are mostly interested in:

TEI Tutorial: working with TEI documents logo