[sword-devel] Converting files
Chuck Bearden
cfbearden at gmail.com
Wed Dec 1 10:08:54 MST 2004
On Fri, 26 Nov 2004 17:55:32 -0700 (MST), chrislit at crosswire.org
<chrislit at crosswire.org> wrote:
> You could encode every document with <div> and <span> elements, and be as
> explicit as you like with thousands of class attributes. But that wouldn't
> make HTML structural markup, and it wouldn't help in the least with
> conversion from HTML to GBF/ThML/OSIS since there are no encoding
> standards or conventions for structural markup of Bibles in HTML.
I think if the <div>s and <span>s are in the right places and have
class attribute values that give the necessary structural and semantic
information, you could use XSLT to generate a document in which much
(if not all) of the OSIS markup had been done. Of course, in doing
this you would have invested a great deal of work in marking up the
HTML document with the class attributes, when it might have been
better just to start over marking up the bare text with OSIS and then
transforming to HTML.
Chuck
> --Chris
>
>
>
> On Fri, 26 Nov 2004, Lynn Allan wrote:
>
> > It seems like html/xhtml can be given quite a bit a "structure" with
> > extensive use of css classes.
> >
> > <h4 class="ChapRef">Genesis 1</h4>
> > <h5 class="Summary">God creates.</h5>
> > <p class="GroupOfVerses">
> > <span class="VerseNum">1</span>
> > <span class="Verse">In the beginning ......</span>
> > <span class="VerseNum">2</span>
> > <span class="Verse">Now the earth was ......</span>
> > <span class="VerseNum">3</span>
> > <span class="Verse">God said, " ......"</span>
> > </p>
> >
> >
> > _______________________________________________
> > sword-devel mailing list
> > sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> >
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
>
More information about the sword-devel
mailing list