The XSLT for JSword uses the HTML abbr element to display the OSIS abbr 
element. Most browsers will show the expansion as a tooltip.

Are you thinking that this should be a toggle so that the tooltip shows up? Are 
you thinking that the expansion should be shown with the (ABBR) following?

In Him,
        DM

> On May 12, 2025, at 12:52 PM, David Haslam <dfh...@protonmail.com> wrote:
> 
> It would be really cool if the SWORD API could be enhanced to support the 
> expansion of the OSIS element abbr.
> 
> Example: <abbr type="x-Roman" expansion="30">.xxx.</abbr>
> 
> When selected via the enhanced UI in any SWORD front-end app, the expansion 
> value should be displayed in place of the abbreviation.
> 
> Please would SWORD (& JSword) developers seriously consider implementing this.
> 
> NB. We may soon have a suitable candidate module for testing this 
> functionality.
> 
> I would like to see all the numbers that use lowercase Roman numerals which 
> are found within verse text in the Bible module Tyndale suitably encoded 
> using the abbr element. Implementing this enhancement to the OSIS XML source 
> text is eminently scriptable. 
> 
> Aside: First, we must ensure that all these instances are tidied up, and 
> consistently wrapped between 2 periods as they are in the printed edition. 
> Please refer to my feedback observations sent to the module team.
> 
> Best regards,
> 
> David
> 
> Sent with Proton Mail <https://pr.tn/ref/SWXT9A5YZ67G> secure email.
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to