<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/jsword/java2html/org/crosswire/jsword/examples/APIExamples.java.html">http://www.crosswire.org/jsword/java2html/org/crosswire/jsword/examples/APIExamples.java.html</a><br>
These are good examples.<br>
<br>
To get OSIS from a Bible module you will do something like the
following:<br>
// Get a list of all the installed books<br>
Books books = Books.installed();<br>
// Get a particular installed book<br>
Book bible = books.getBookMetaData("KJV");<br>
// Create a range of what you want<br>
Key key = bible.getKey("Gen-Rev");<br>
// Get the data<br>
BookData data = bible.getData(key);<br>
// Get a SAX stream for the OSIS document<br>
SAXEventProvider osissep = data.getSAXEventProvider();<br>
// Write the OSIS to a string<br>
String wholeBible = XMLUtil.writeToString(osissep);<br>
// Print it out<br>
System.out.println(wholeBible );<br>
<br>
Read, James C wrote:
<blockquote
 cite="mid6B84A53BD25BCA46B070A05DD8C8C9F813A298@KUDBEX01.kuds.kingston.ac.uk"
 type="cite">
  <pre wrap="">It's ok I've overridden the style in my browser and I'm reading in good old fashioned linux colours now (white on black).
However, in the API examples&gt;&gt;&gt;APIExamples there aren't actually any examples just method descriptions that threaten to give examples and then don't.



-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:jsword-devel-bounces@crosswire.org">jsword-devel-bounces@crosswire.org</a> on behalf of DM Smith
Sent: Sun 2/27/2005 6:07 PM
To: J-Sword Developers Mailing List
Subject: Re: [jsword-devel] Newbie
 
You can download the threads from here:
    <a class="moz-txt-link-freetext" href="http://www.crosswire.org/pipermail/jsword-devel/">http://www.crosswire.org/pipermail/jsword-devel/</a>
Just download the GZIPs.

Ther request for a different "stylesheet for the forum" needs to be made in the sword-devel mailing list. We share their mechanism.

Read, James C wrote: 

        Thanks for the help guys. I'm reading through the threads from the beggining of the project and finding that most of my knowledge gaps are covered. Just as soon as I'm up to speed with everything I shall make a start on contributing.
        
        If I could make one humble request though. A white background with black text is quite good with a real book where natural light is being reflected into your eyes but when one reads for prolonged periods with the same colour scheme from a computer scheme it's not long before the burning sensation in your eyes gets too unbearable and impeads progress. May I suggest that the stylesheet for the forum be revised to a dark background with light text for a more pleasant reading experience. Or if not a download of the threads to date so that I can add my own stylesheet.
        
        Many thanks.
        
        This email has been scanned for all viruses by the MessageLabs Email
        Security System.
        
        
________________________________


        _______________________________________________
        jsword-devel mailing list
        <a class="moz-txt-link-abbreviated" href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a>
        <a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
          


This email has been scanned for all viruses by the MessageLabs Email
Security System.



This email has been scanned for all viruses by the MessageLabs Email
Security System.</pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
jsword-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
  </pre>
</blockquote>
</body>
</html>