aboutsummaryrefslogtreecommitdiffstats
path: root/utilities/mod2osis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/mod2osis.cpp')
-rw-r--r--utilities/mod2osis.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/utilities/mod2osis.cpp b/utilities/mod2osis.cpp
index ff8c9d8..e9327e4 100644
--- a/utilities/mod2osis.cpp
+++ b/utilities/mod2osis.cpp
@@ -91,8 +91,9 @@ int main(int argc, char **argv)
else cout << "encoding=\"UTF-8\" ";
cout << "?>\n\n";
+
cout << "<osis";
- cout << " xmlns:xsi=\"http://www.w3.org/2000/10/XMLSchema-instance\"";
+ cout << " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"";
cout << " xsi:noNamespaceSchemaLocation=\"osisCore.1.1.xsd\">\n\n";
cout << "<osisText";
cout << " osisIDWork=\"";
@@ -103,16 +104,16 @@ int main(int argc, char **argv)
cout << "\t<header>\n";
cout << "\t\t<work osisWork=\"";
cout << inModule->Name() << "\">\n";
- cout << "\t\t\t<identifier type=\"OSIS\">" << inModule->Name() << "</identifier>\n";
cout << "\t\t\t<title>" << inModule->Description() << "</title>\n";
+ cout << "\t\t\t<identifier type=\"OSIS\">" << inModule->Name() << "</identifier>\n";
if (inModule->Lang()) {
if (strlen(inModule->Lang()))
cout << "\t\t\t<language>" << inModule->Lang() << "</language>\n";
}
- cout << "\t\t\t<refSystem>Bible.KJV</title>\n";
+ cout << "\t\t\t<refSystem>Bible.KJV</refSystem>\n";
cout << "\t\t</work>\n";
cout << "\t\t<work osisWork=\"defaultReferenceScheme\">\n";
- cout << "\t\t\t<identifier type=\"OSIS\">Bible.KJV</identifier>\n";
+ cout << "\t\t\t<refSystem>Bible.KJV</refSystem>\n";
cout << "\t\t</work>\n";
cout << "\t</header>\n\n";
@@ -133,8 +134,6 @@ int main(int argc, char **argv)
opentest = true;
}
if (vkey->Book() != lastHeading.Book()) {
- if (openbook)
- cout << "\t</div>\n";
buf = new char [205];
lastHeading = *vkey;
lastHeading.Chapter(0);
@@ -168,10 +167,6 @@ int main(int argc, char **argv)
*/
cout << inModule->RenderText() << endl;
}
- if (openchap)
- cout << "\t</div>\n";
- if (openbook)
- cout << "\t</div>\n";
if (opentest)
cout << "\t</div>\n";
cout << "\t</osisText>\n";