[sword-devel] KJV and headings

Karl Kleinpaste karl at kleinpaste.org
Mon Feb 28 16:26:27 MST 2011


DM Smith <dmsmith at crosswire.org> writes:
> Look for the <title> element.
> You'll find it at a minimum in the Psalms.

Although there are such headings, notably in Psalms, they do not come
out of the engine in any obvious way.

Psalm 4:1 contains
<title canonical="true" type="psalm"><w lemma="strong:H5329"
morph="strongMorph:TH8764">To the chief Musician</w> <w
lemma="strong:H5058">on Neginoth</w>, <w lemma="strong:H4210">A
Psalm</w> <w lemma="strong:H1732">of David</w>.</title>

But Xiphos, for one, expects to obtain this sort of content via

SWBuf attribute2 = mod->getEntryAttributes()["Heading"]["Preverse"]["1"].c_str();

and so forth, and yet "To the chief Musician on Neginoth, A Psalm of
David" is not seen.

By comparison, chapter headings in n:0
<title type="chapter">PSALM 4.</title>
*do* come out just fine.  They're redundant in Xiphos (chapter numbers
are always indicated) but they're obtained as expected.

So I would have to say that
<title type="chapter">
and
<title canonical="true" type="psalm">
are not processed remotely the same.



More information about the sword-devel mailing list