diff options
author | danglassey <danglassey> | 2002-09-14 13:01:00 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-09-14 13:01:00 +0000 |
commit | b5292d1d6c301302e234a465e362af9fcc557a46 (patch) | |
tree | 92a11b6fbdbfff69acaf948d323cb9044f75f65e /utilities | |
parent | 9919bea78943c7a800ad5296e4f0874fea259eef (diff) | |
download | sword-sf-cvs-b5292d1d6c301302e234a465e362af9fcc557a46.tar.gz |
sync with crosswire 20020914-1300
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/mod2osis.cpp | 15 |
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"; |