<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm wondering if the seemingly redundant verse end tags might actually
be useful for encoding of this sort. You could put extra titles and
stuff that goes before a canonical verse after the end tag for the
previous verse, but before the verse marker. Then, when going to
display a verse range with a heading before it, you actually display
all of the text between the end verse tag of the verse before the first
verse of the range and the end tag of the last verse in the range. That
way, if you request the first verse of a psalm with a title (where the
title isn't listed as verse one in that translation), you get the title
plus the verse, with the verse marker in the proper place. The same
applies to added publisher titles like the example you gave for James 1.<br>
<br>
Would it cause any problems to normalize OSIS texts that way, such that
titles aren't actually included in canonical verses? My current OSIS
creator filter doesn't work this way, but perhaps it should.<br>
<br>
<l type="x-primary">Amen and amen.</l><br>
</lg><br>
<verse eID="Ps.41.13" /><br>
<chapter eID="Ps.41" /><br>
<div><br>
<title>BOOK II</title><br>
<div><br>
<chapter sID="Ps.42" osisID="Ps.42" /><br>
<title canonical="true">For the Chief Musician. A
contemplation by the sons of Korah.</title><br>
<lg><br>
<l type="x-primary"><br>
<verse sID="Ps.42.1" osisID="Ps.42.1" />As the deer pants
for the water brooks,</l><br>
<l type="x-secondary">so my soul pants after you,
God.<note type="translation">The Hebrew word rendered “God” is
“Elohim.”</note></l><br>
</lg><br>
<lg><br>
<l type="x-primary"><br>
<verse eID="Ps.42.1" /><br>
<verse sID="Ps.42.2" osisID="Ps.42.2" />My soul thirsts for
God, for the living God.</l><br>
<l type="x-secondary">When shall I come and appear before
God?</l><br>
</lg><br>
<verse eID="Ps.42.2" /><br>
<br>
In the above incomplete (not well-formed) fragment, asking for Psalm
42:1 should yield something like<br>
<br>
<h1>BOOK II</h1>
<h1>42</h1>
For the Chief Musician. A contemplation by the sons of Korah.<br>
<br>
<sup>1</sup>As the deer pants for the water brooks,<br>
so my soul pants after you,
God.*<br>
<br>
____<br>
<br>
*The Hebrew word rendered “God” is
“Elohim.”<br>
<br>
<br>
<br>
<br>
</body>
</html>