[jsword-devel] OSIS format type

Chris Burrell chris at burrell.me.uk
Sun Feb 20 14:35:42 MST 2011


Hi

I'm using the XSLT spreadsheet derived from the basic JSword one And just
trying to understand the title element. In particular the

<title type="x-gen"> that identifies the section in the Bible for example
that someone has looked up. Now I'm trying to find a definition of that, but
finding it difficult?

Basically I want to remove that first line after transformation (saying for
example "Romans 1:1-2" because I want to put my own version of the title
instead). Can i safely assume that a title of type x-gen only occurs once at
the top of the retrieved OSIS XML? I want to keep all the other titles that
come out though.

Basically, in the following fragment, can I just simply ignore as I tranform
the part in bold based on the title type 'x-gen'

<div>
*  <title type="x-gen">Romans 1:1-6</title>*
  <verse osisID="Rom.1.1">
    <title subType="x-preverse" type="section">Greeting</title>
    Paul,
    <note n="a" osisID="Rom.1.1!crossReference.a" osisRef="Rom.1.1"
type="crossReference">
      [
      <reference osisRef="Gal.1.10">Gal. 1:10</reference>
      ]
    </note>
    a servant


Cheers
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20110220/171b934b/attachment.html>


More information about the jsword-devel mailing list