[sword-devel] Cross references withing general book??
Chris Little
sword-devel@crosswire.org
Wed, 8 Jan 2003 16:16:19 -0700 (MST)
> I'm preparing a new german book (Pfadfinder zur Bibel, www.ro-ho.de), which is
> a collection of many bible cross references topically sorted. But the books
> links also to other sections in the sections.
>
> AFAIK there's no possibility in ThML to make such a link. I hope I'm wrong.
> How can I do the cross links within the same book?
Can I suggest you use OSIS instead? I will soon begin to move all module
data into OSIS format and hopefully finish before summer. I've done some
tests on our data and most of the errors in our exporting to OSIS are
genuine module bugs that need to be fixed anyway. So try OSIS. :)
The final 1.1.1 Schema is posted at
http://www.crosswire.org/~chrislit/osis/osisCore.1.1.1.xsd .
Bible book names are in http://www.crosswire.org/~chrislit/osis/bible.xml
.
And just for fun, here is HTML format documentation generated by XMLSpy:
http://www.crosswire.org/~chrislit/osis/docs/osisCore.1.1.1-docs.zip
(contains diagrams)
http://www.crosswire.org/~chrislit/osis/docs/osisCore.1.1.1.html (no
diagrams)
In OSIS, you will create a <reference> tag with an osisRef attribute equal
to the osisID of the thing you want to point to. Then you would put that
osisID on in osisID attribute of the <div> (or other tag) you want to link
to.
ThML does have a facility for this, which you can read about at
http://www.ccel.org/ThML/ccel-URI.htm but since OSIS is here, let's use
it. No, filters aren't yet ready to transform OSIS to
HTML/HTMLHREF/ThML/RTF/GBF but we can do that fairly quickly and push out
1.5.6 if we need to.
--Chris