[sword-svn] r299 - trunk/modules/crossreferences

refdoc at crosswire.org refdoc at crosswire.org
Wed Aug 18 12:20:55 MST 2010


Author: refdoc
Date: 2010-08-18 12:20:55 -0700 (Wed, 18 Aug 2010)
New Revision: 299

Modified:
   trunk/modules/crossreferences/xrefmake.pl
Log:
produce proper OSIS imp files


Modified: trunk/modules/crossreferences/xrefmake.pl
===================================================================
--- trunk/modules/crossreferences/xrefmake.pl	2010-08-17 21:47:46 UTC (rev 298)
+++ trunk/modules/crossreferences/xrefmake.pl	2010-08-18 19:20:55 UTC (rev 299)
@@ -43,6 +43,8 @@
     use warnings;
     use Text::CSV;
     
+    
+        
     sub parsekey {
         my $return = `parsekey "$_[0]" "$_[1]"`;
         $return =~ s/\n$//;
@@ -139,7 +141,7 @@
                     print &vs2osis($xref,$o_ref,$locale); 
                 }
                 else { 
-                    print "</note>\n".$ref."\t <note type=\"crossreference\">".&vs2osis($xref,$o_ref,$locale)."; ";
+                    print "</note>\n\$\$\$$ref\n<note type=\"crossreference\" osisID=\"$ref!crossReference\" osisRef=\"$ref\">".&vs2osis($xref,$o_ref,$locale)."; ";
                     $o_ref = $ref;
                 }                        
             




More information about the sword-cvs mailing list