Roma is the TEI tool for creating schemas an customisations from P5 ODD specifications.
See http://www.tei-c.org/Roma/