[sword-devel] Android SWORD

David Hollands admin at remza.co.uk
Thu Sep 30 02:24:26 MST 2010


My two pence.. feel free to ignore.

* OSIS -> XSLT -> XHTML is unnecessarily complicated.

* Indeed, it is easy enough to get the raw text. If you still prefer
to convert raw text to OSIS first, given an XML parser/sequencer and a
DOM, the programming language (Java) is all you need to produce the
output (HTML). Personally, I've found using XSLT/XPath a bit
cumbersome.

Love in Christ,

David



On 1 September 2010 18:23, DM Smith <dmsmith at crosswire.org> wrote:
>  On 09/01/2010 12:48 PM, Manfred Bergmann wrote:
>>
>> Can the html rendering in JSword be simplified?
>
> I'm not sure what you mean by simplified? Do you mean the process or the
> output?
>
> The process is basically this:
> Get the verses from the module.
> Convert them to OSIS. (For modules already in OSIS this is almost a
> pass-through)
> Use xslt to convert the OSIS into xhtml.
>
> The output is the final step. Another stylesheet can be used to simplify the
> output.
>
> Alternatively, one can create another mechanism to convert the raw text into
> html. It is easy enough to get the raw text.
>
>
> In Him,
>    DM
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list