>>246
少し面倒ですが
<phrase annotation="ヨミ" role="ruby">単語</phrase>
としておけば、XSLで変換できそうです