[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

HTML Rendition of New Testament

  • From: "Michael Kay" <M.H.Kay@e...>
  • To: <xml-dev@i...>
  • Date: Thu, 22 Oct 1998 10:14:05 +0100

new testament download
FYI:
I have produced an HTML rendition of Jon Bosak's XML New Testament text,
which I have placed on some borrowed webspace at
http://www.wokchorsoc.freeserve.co.uk/bible-nt/index.html (It's a good read,
by the way).

This was produced using a SAXON application, about 200 lines of java, which
you can find at http://home.iclweb.com/icl2/mhkay/RenderBible.java.txt
I intend to include this as a sample application in the next SAXON release.
The program will also render the
Old Testament, but if you want to see the result you will have to run it
yourself.

The source XML is Jon Bosak's rel200 package which is available at
http://sunsite.unc.edu/pub/sun-info/xml/eg/rel200.zip
though I got a faster download from the mirror site at http://doc.ic.ac.uk

Some observations:

* Rendering the text once and putting the generated HTML on the web server
seems the right architectural approach in this case. As a very minimum,
breaking up the XML into page-sized chunks seems essential.

* I don't see any support in XSL for generating a hyperdocument of this
kind. Is this on the agenda?

* Although I've written 200 lines of code, there's very little procedural
logic. Only 4 elements require any custom logic, and with a few more
primitives these could be done declaratively as well. If I ever have time, I
think it's quite feasible to generate this SAXON application from a
sufficiently expressive stylesheet language.

* Anyone else want to volunteer alternative approaches to achieving the same
effect, so we can compare?

* Thanks to Jon Bosak for making the text available, I hope what I have done
is within the spirit of your intended use. Sorry I didn't have space to
mount all four texts, so I chose the one I am most at home with.

Regards, Mike Kay, ICL


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.