The Japanese Multilingual Dictionary (jmdict) is a free xml database by Jim Breens et al. (http://www.edrdg.org/jmdict/j_jmdict.html)
This stylesheet aims to convert this multilingual resource into a bilingual Freedict file.
JMdict and TEI P5 DTD are quite different, so the xml elements of JMdict have been turned into TEI elements.
Following the pretty good JMdict DTD comments, here is how I tried to fit the TEI pattern
(http://www.tei-c.org/release/doc/tei-p5-doc/fr/html/DI.html):