[sword-svn] r57 - trunk/modules/mt-lxx-parallel

mgruner at crosswire.org mgruner at crosswire.org
Mon Dec 5 11:33:44 MST 2005


Author: mgruner
Date: 2005-12-05 11:33:35 -0700 (Mon, 05 Dec 2005)
New Revision: 57

Modified:
   trunk/modules/mt-lxx-parallel/convert.pl
Log:
format fix


Modified: trunk/modules/mt-lxx-parallel/convert.pl
===================================================================
--- trunk/modules/mt-lxx-parallel/convert.pl	2005-12-04 21:24:14 UTC (rev 56)
+++ trunk/modules/mt-lxx-parallel/convert.pl	2005-12-05 18:33:35 UTC (rev 57)
@@ -708,17 +708,17 @@
 					if (not $chapter_header_written) { 
 						$chapter_header_written = 1; #no chapters in Obadiah
 					}
-					push(@result, "<verse osisID=\"$osis_id.$verse\">"); #chapter will be ignored for >1 by grabVerseContent
+					push(@result, "<verse osisID=\"$osis_id.$verse\">\n<table>"); #chapter will be ignored for >1 by grabVerseContent
 				}
 				else{
 					if (not $chapter_header_written) { 
 						push(@result, "<chapter osisID=\"$osis_id.$chapter\">");
 						$chapter_header_written = 1;
 					}
-					push(@result, "<verse osisID=\"$osis_id.$chapter.$verse\">");
+					push(@result, "<verse osisID=\"$osis_id.$chapter.$verse\">\n<table>");
 				}
 				push(@result, @verseContent);
-				push(@result, "</verse>");
+				push(@result, "</table>\n</verse>");
 				$verse_found = 1;
 			}
 			else{ #verse nonexistent, goto next chapter
@@ -781,12 +781,12 @@
 			}
 			if (@verseContentA){
 				if (@verseContentB){ push(@result, $variantNameA) };
-				push(@result, @verseContentA);
+				push(@result, "<table>", @verseContentA, "</table");
 				if (@verseContentB){ push(@result, "") }; #newline
 			}
 			if (@verseContentB){
 				if (@verseContentA){ push(@result, $variantNameB) };
-				push(@result, @verseContentB);
+				push(@result, "<table>", @verseContentB, "</table>");
 			}
 			if ($verse_found){ push(@result, "</verse>") }
 		}
@@ -937,4 +937,4 @@
 
 open( OUTPUT, ">mt-lxx-par.osis.xml" );
 print( OUTPUT join("\n", @result) );
- 
\ No newline at end of file
+ 



More information about the sword-cvs mailing list