[jsword-svn] r1044 - trunk/jsword/src/main/java/org/crosswire/jsword/examples

dmsmith at crosswire.org dmsmith at crosswire.org
Thu Mar 9 14:21:37 MST 2006


Author: dmsmith
Date: 2006-03-09 14:21:33 -0700 (Thu, 09 Mar 2006)
New Revision: 1044

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/examples/ModToOsis.java
Log:
KJV mod to osis example

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/examples/ModToOsis.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/examples/ModToOsis.java	2006-03-09 12:49:57 UTC (rev 1043)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/examples/ModToOsis.java	2006-03-09 21:21:33 UTC (rev 1044)
@@ -316,7 +316,7 @@
 
     private void buildBookOpen(StringBuffer buf, String bookName)
     {
-        MessageFormat msgFormat = new MessageFormat("<div type=\"book\" osisID=\"{0}\">\n"); //$NON-NLS-1$
+        MessageFormat msgFormat = new MessageFormat("<div type=\"book\" osisID=\"{0}\" canonical=\"true\">\n"); //$NON-NLS-1$
         msgFormat.format(new Object[] { bookName}, buf, pos);
     }
 
@@ -338,7 +338,7 @@
 
     private void buildPreVerseOpen(StringBuffer buf, String preVerse)
     {
-        MessageFormat msgFormat = new MessageFormat("<div type=\"section\"><title>{0}</title>"); //$NON-NLS-1$
+        MessageFormat msgFormat = new MessageFormat("<div type=\"section\" canonical=\"true\"><title canonical=\"true\">{0}</title>"); //$NON-NLS-1$
         msgFormat.format(new Object[] { preVerse }, buf, pos);
     }
 



More information about the jsword-svn mailing list