Here is an example for a text annotated using JGloss. It is the story "Kari no Douji" by Kenji Miyazawa. I downloaded the original text from the Blue Sky Collection. As you may have already noticed, my English is not perfect, and my Japanese is even worse. The translations are only chosen to allow basic understanding and will often be imprecise or just plain wrong.
A website with information about Kenji Miyazawa and his stories is here. An English translation of "Kari no Douji" is available there. Here is the JGloss file from which the following documents where generated.
First an example of the HTML export function. The generated document uses a subset of the Ruby Annotation XHTML specification to display the readings in browsers which support it (currently only recent versions of the Microsoft Internet Explorer). In other browsers, if the neccessary JavaScript functions are available, the readings are shown in a tooltip popup and in the status bar. The translations are also displayed using JavaScript tooltips and in the status bar.
JGloss also supports exporting in LaTeX and plain text format: