In terms of the interlinear, I&#39;ve already implemented a version, so ripping the CSS and HTML off should be fine. I just want to change the way I generate this. I also had functionality to click on a word and have it display the associated dictionary definition.<div>
<br></div><div>For a (bug-gy) version, see <a href="http://crosswire.org/~chrisburrell/step/">http://crosswire.org/~chrisburrell/step/</a> and select the KJV, and the blue button shows the reverse interlinear work for New Testament. It is a bit broken, and displays stuff that is not necessary (words that were not matched), but I will reuse the HTML/CSS for that.</div>
<div><br></div><div>A couple of pros and cons:</div><div><br></div><div>Doing it as solution 1 (with an initial transformer annotating the XML) sounds like we will have to iterate through the XML twice. Once to add the information, and one to actually convert to HTML. I guess it wouldn&#39;t be too much of a performance hit.</div>
<div><br></div><div>Solution 2 of querying java objects seems less intrusive and better performance as we do things as we go. Since the user has control over the XSL, and depending on the interface to Java this might be fairly fast. The issue here as far as I could see on the net, is that methods called need to be static. Or you can call instance methods, but only on instances created within the XSL. So perhaps we could pass in the fact we want Internlinear with version X and create an instance that will provide the correct data as when required by the transformation.</div>
<div><br></div><div>Is this what you meant?</div><div><br></div><div>Chris</div><div><br><br><div class="gmail_quote">On 4 November 2010 16:42, Mullins, Steven (DMME) <span dir="ltr">&lt;<a href="mailto:Steven.Mullins@dmme.virginia.gov">Steven.Mullins@dmme.virginia.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hear! Hear!  I&#39;m all for adding an apparatus to a GNT.  SBL just<br>
released their new critical GNT with an apparatus<br>
<a href="http://www.sblgnt.com/download/" target="_blank">http://www.sblgnt.com/download/</a> in OSIS format.  The sword packages have<br>
these separated into two seperate modules though... :(<br>
<div class="im"><br>
<br>
On 11/04/2010 08:03 AM, Chris Burrell wrote:<br>
&gt; Hi All<br>
&gt;<br>
&gt; I have a requirement to to take some OSIS xml, enrich it, and then<br>
&gt; transform it to HTML. I want to keep the enrichment as flexible as<br>
&gt; possible, in terms of the data I add. But one example would be adding<br>
&gt; the original Greek/Hebrew text to every word that is annotated with a<br>
&gt; Strong/Morph combination (optional Morph).<br>
Another would be to knit the apparatus for a GNT into a GNT. Another, to<br>
highlight search hits.<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</div></div></blockquote></div><br></div>