[jsword-devel] XSLT and enrichment of OSIS Text...

DM Smith dmsmith at crosswire.org
Fri Nov 5 13:09:26 MST 2010


I'm heading out for the weekend. In a few minutes.
It'll probably be Monday evening when I send it.

The solution uses spans with their display set to block.

-- DM

On 11/05/2010 03:55 PM, Chris Burrell wrote:
> DM, you said you might have an intearlinear model that worked? I had 
> another look to see how I did mine previously, and found that in fact 
> I used tables. I think I struggled for quite a while to get a model 
> working across browsers using DIVs, but none of them seemed to wrap 
> properly at the end of the line.  But unfortunately table layouts are 
> slow and therefore it would be better to have divs.
>
> Would you be able to let me have your samples?
> Chris
>
> On 5 November 2010 19:21, Chris Burrell <chris at burrell.me.uk 
> <mailto:chris at burrell.me.uk>> wrote:
>
>     What's GNT? Greek New Testament? I think we can do more than that
>     too. If other Bible versions have strong numbers and/or morphology
>     tags, then we can put those in parallel, and end up having French
>     with English "subtitles", or English with English, as well as
>     English with Greek, etc.
>
>     So I've had a look at the framework so far and it seems fairly
>     easy not to use Bible Desktop components and have a good XSLT
>     transformation. So all we would need to add is some helpers that
>     users can easily integrate into their XSLTs. It would nice to have
>     some sample XSLs for people to use. So for example, I've had to
>     strip out all the CSS and font tags from the Bible Desktop one so
>     as to produce a good XHTML compliant one.
>
>     Say we give the XSLT a InterlinearProvider initialised with its
>     version and passage, as it parses the strong/morph option we can
>     then call get($provider, @strong, @morph), which would in turn
>     optionally return the correct words (or best word since sometimes
>     you may have multiple options in modules tagged with strong
>     numbers only. In fact it would be better to have something like
>     get($provider, osis_verse_id, @strong, @morph). Since then, if we
>     don't have the morphology of the word, at least we can limit the
>     lookups to those words that are tagged in a particular verse (that
>     assumes that versification is comparable between versions).
>
>     We'll want to add options to have tagged information displayed on
>     the side of a word/phrase or below a word/phrase. At the moment
>     the XSLT displays morph and strong tags next to the text. I'll add
>     some transformations to have it on separate lines. Then we can
>     reuse the same transformations to line up text beneath it.
>
>     DM, I had a look at "flying saucer" , but didn't quite understand
>     where it comes in? Would the idea be instead of the XSLT? And have
>     it transform to different UIs?
>
>     Chris
>
>
>     On 5 November 2010 03:51, Tonny Kohar <tonny.kohar at gmail.com
>     <mailto:tonny.kohar at gmail.com>> wrote:
>
>         Hi,
>
>         On Thu, Nov 4, 2010 at 11:30 PM, DM Smith
>         <dmsmith at crosswire.org <mailto:dmsmith at crosswire.org>> wrote:
>         > Much of the transformations is done in BibleDesktop.
>         Refactoring these and
>         > putting it into JSword and/or common would be good.
>         >
>
>         +1
>         Yes it would be nice to have this under JSword instead of
>         BIbleDesktop
>
>         Sincerely
>         Tonny Kohar
>         --
>         Alkitab Bible Study
>         http://www.kiyut.com/products/alkitab/index.html
>
>         _______________________________________________
>         jsword-devel mailing list
>         jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>
>         http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20101105/d9879979/attachment.html>


More information about the jsword-devel mailing list