[sword-devel] Adding native support for Unified Scripture XML ?
dmsmith at crosswire.org
Mon Jan 2 13:19:48 MST 2017
To add a new input format is not a trivial effort. For SWORD, renderers, filters and importer have to be defined. For JSword, a filter that transforms to OSIS needs to be defined.
The importer has to figure out what is introductory material (i.e. verse 0) and what is pre-verse and intra-verse material. And since the unit of storage is the verse, the stored verse needs to be well-formed XML.
Once that is written, it has to be released and incorporated into frontends.
I think it would be much easier to write XSLT to transform USX to OSIS or ThML.
> On Jan 2, 2017, at 9:31 AM, David Haslam <dfhmch at googlemail.com> wrote:
> The SWORD engine has supported several Bible input file formats over the
> The list below is not exhaustive.
> 1. General Bible Format (GBF)
> 2. General Import Format (IMP)
> 3. Theological Markup Language (ThML)
> 4. Open Scriptures Information Standard (OSIS)
> Would it not make SWORD far more congenial to the world-wide Bible
> translation fraternity
> if we were to add to the SWORD engine native support for what they use as
> standard? Namely...
> Unified Scripture XML (USX)
> USX is closely related to USFM and the ParaTExt software keep these two
> formats synchronised.
> USX is maintained on github by the United Bible Societies Institute for
> Computer Assisted Publishing
> See https://github.com/ubsicap/usx
> If SWORD became capable to directly handle USX, it would obviate much of the
> involved in converting USFM to OSIS and fixing all the post-processing
> I know for a fact that one reason YouVersion can so readily publish a new
> Bible translation
> is because their Bible import officer made the decision several years ago to
> support USX.
> Streamlining SWORD Bible module publishing direct from USX could be become
> just as efficient.
> Is this a forlorn hope?
> Best regards,
> View this message in context: http://sword-dev.350566.n4.nabble.com/Adding-native-support-for-Unified-Scripture-XML-tp4656602.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel