Hi Troy,

Ok, thanks for the quick answer! I'll give it a try.

Best regards,
Tobias

On 7/24/20 3:51 PM, Troy A. Griffitts wrote:

Hi Tobias,

You should simply need to parse the verse reference and then iterate the ListKey result (with ++ or increment(); not with nextElement()).

Hope this helps,

Troy


On 7/24/20 3:36 PM, Tobias Klein wrote:

Hi,

using the SWORD library, how can I turn an osis reference that describes a range of verses like "Gal.1.15-Gal.1.16" into a list of individual osis-style verse references?

My use case is that I encountered this kind of reference in a cross reference used in the NASB module in Galations 1:1. When loading verses based on this reference I'm also loading additional meta information (user notes, tags, etc.) for each verse and for that I need to break down this range into a list of individual verse references first.

Best regards,
Tobias






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

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

Reply via email to