[sword-devel] The OSIS s grain operator?

David Haslam dfhmch at googlemail.com
Thu Jan 14 08:39:41 MST 2016


Does SWORD support the s grain operator within osisRef ?

>From the OSIS 2.1.1 Reference (page 148)

The s grain operator is a string, enclosed by square brackets and preceded
by the "@" sign, all of which
follows, at a mimimum, the main part of an osisRef. For example:

• RSV:Gen.1.1 at s[beginning] Points at the starting character of the word
"beginning."
• RSV:Gen.3.20 at s[Eve] Points to the starting character of the word "Eve."

You may wish to convince yourself that the s operator is easier to use than
cp but to each his own.

Warning: Note that the s operator does not allow spaces. That is to say that
you cannot put a phrase between
the square brackets. That limitation is due to the handling of spaces in
XML. It was an issue that the editors
struggled with for some time but ultimately, it was decided that word level
matching would meet most users
needs.

David



--
View this message in context: http://sword-dev.350566.n4.nabble.com/The-OSIS-s-grain-operator-tp4655782.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list