I write a script to parse Kindle English-Japanese dictionary to create a Japanese klld file. I can't upload the klld file but you can find the code at:
https://github.com/xxyzz/WordDumb/tree/master/klld
I want to use xpath to extract definitions but didn't figure out how to write the correct expression.