[sword-devel] Parsing OSIS Ranges
DM Smith
dmsmith555 at yahoo.com
Thu Feb 28 07:06:47 MST 2008
Can someone please help.
I'm working on getting osis2mod to handle commentaries and
annotateRef's argument is an osisRef.
So, I am trying to parse an osisRef into a verse list with the
following but it does not work.
ListKey list = new ListKey();
VerseKey verse;
verse.AutoNormalize(0);
verse.Headings(1);
verse.Persist(1);
ListKey list = verse.ParseVerseList("Gen.1.1-Gen.1.5", 0, true);
// The following should output 3, but it outputs 1
cout << list.Count() << endl;
Many thanks,
DM
More information about the sword-devel
mailing list