<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Did you take a look at the samples here? <br>http://www.crosswire.org/jsword/java2html/org/crosswire/jsword/examples/APIExamples.java.html<br><br>It seems the jsword didn't provide a direct way to get all book names directly. (Please let us know if there is one). This is how I get it in groovy.<br><br>def bibles = new ArrayList()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int nbook = BibleInfo.booksInBible();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BibleNames bn = new BibleNames(loc)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 1; i &lt;= nbook; i++)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def gb = new Expando()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gb.key =
 BibleInfo.getBookName(i).getShortName()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gb.shortname = bn.getShortName(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gb.cname = bn.getName(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gb.longname = BibleInfo.getBookName(i).getLongName()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; biblekeymap.put(gb.longname, gb.cname)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; biblekeymap.put(gb.shortname, gb.cname)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; biblekeymap.put(gb.key, gb.cname)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bibles.add(gb)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } catch (Exception e) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e.printStackTrace();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; return
 bibles<br><br><br><br>--- On <b>Fri, 10/2/09, jsword-devel-request@crosswire.org <i>&lt;jsword-devel-request@crosswire.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: jsword-devel-request@crosswire.org &lt;jsword-devel-request@crosswire.org&gt;<br>Subject: jsword-devel Digest, Vol 65, Issue 1<br>To: jsword-devel@crosswire.org<br>Date: Friday, October 2, 2009, 3:00 PM<br><br><div class="plainMail">Send jsword-devel mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>or, via email, send a message with subject or body
 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:jsword-devel-request@crosswire.org" href="/mc/compose?to=jsword-devel-request@crosswire.org">jsword-devel-request@crosswire.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:jsword-devel-owner@crosswire.org" href="/mc/compose?to=jsword-devel-owner@crosswire.org">jsword-devel-owner@crosswire.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of jsword-devel digest..."<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp;&nbsp;1. Beginning with JSword (Chris Burrell)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 2 Oct 2009 19:20:50 +0100<br>From: Chris Burrell &lt;<a ymailto="mailto:christopher@burrell.me.uk" href="/mc/compose?to=christopher@burrell.me.uk">christopher@burrell.me.uk</a>&gt;<br>Subject: [jsword-devel] Beginning with
 JSword<br>To: <a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com" href="/mc/compose?to=8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com">8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi<br><br>I'm trying to get a list of all the books in the bible for a particular<br>Book, say the ESV. I'm really new to this... Any ideas if there are examples<br>on the net? I've fonud the Global Key list but that seems to have most<br>verses as well... Can anyone point me to the helpful apis? I seem to find it<br>really difficult to find it on the crosswire website...<br><br>What is a chapter? a book category? ...<br><br>Cheers<br>Chris<br>-------------- next part --------------<br>An HTML
 attachment was scrubbed...<br>URL: &lt;<a href="http://www.crosswire.org/pipermail/jsword-devel/attachments/20091002/72a1e4a7/attachment-0001.html" target="_blank">http://www.crosswire.org/pipermail/jsword-devel/attachments/20091002/72a1e4a7/attachment-0001.html</a>&gt;<br><br>------------------------------<br><br>_______________________________________________<br>jsword-devel mailing list<br><a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br><br><br>End of jsword-devel Digest, Vol 65, Issue 1<br>*******************************************<br></div></blockquote></td></tr></table><br>