[sword-devel] Verse range references

Chris Little chrislit at crosswire.org
Wed Feb 3 17:09:47 MST 2010


Peter von Kaehne wrote:
> How should vese range references best be coded? I have a text (the 
> portugues again) which uses references covering a long section e.g. vs1-11.

This should definitely be supported. Assuming the range is in Esth.1, 
you encode this as:

<verse osisID="Esth.1.1 Esth.1.2 Esth.1.3 Esth.1.4 Esth.1.5 Esth.1.6 
Esth.1.7 Esth.1.8 Esth.1.9 Esth.1.10 Esth.1.11">...</verse>

or, with sID/eID, you could do something like:

<verse osisID="Esth.1.1 Esth.1.2 Esth.1.3 Esth.1.4 Esth.1.5 Esth.1.6 
Esth.1.7 Esth.1.8 Esth.1.9 Esth.1.10 Esth.1.11" 
sID="Esth.1.1"/>...<verse eID="Esth.1.1"/>

The sID & eID could as easily be "foo" or "z73025", provided they match.

--chris



More information about the sword-devel mailing list