|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 5 |
|
| Author |
|
|
Newbie Norway Joined: Sep 25, 2011 Post Count: 7 Status: Offline |
I am having problems dividing my first Bible prosject in OSIS format into new and old testament. I am reading about this division at this page in the wiki: http://www.crosswire.org/wiki/OSIS_Tutorial#Text_Divisions This is the output after the header and before the verses in Genesis 1 starts: <div type="old-testament"> This is the ouput I get from NetBeans XML validating: XML validation started. |
||
|
|
Newbie Norway Joined: Sep 25, 2011 Post Count: 7 Status: Offline |
Please note that the error message is complaining about the "type" argument with value "old-testament" is not valid. How can i divide my OSIS XML file into new and old testament? That is my question. |
||
|
|
Newbie Norway Joined: Sep 25, 2011 Post Count: 7 Status: Offline |
I have removed the testament divisions in the Bible I am trying to create a SWORD module for. The validation succeeds, but I am still wondering how it is done. Isn't it important? Here is the start of my XML file for reference (note that the div for the old testament is removed, like shown in the first post above): <?xml version="1.0" encoding="UTF-8"?> |
||
|
|
Newbie USA Joined: Apr 25, 2009 Post Count: 7 Status: Offline |
OSIS was concieved as a markup for more than e-reader programs. The testament ID is more important for other media types than for Bible study programs. The Testament ID tag could be important if an OSIS document were to be the basis of a printed book. Say the author intended to put a preface or testament title page AFTER the end of the OLD testment, but prior the the start of the new testament, the division type testament is available to indicate to an inline processor clearly that the preface pages belong after the end of Mal. but prior to the beginning of Matt. The Sword programs (as far as I know) would not display such a preface (which is probably best for bible study.) and as far as I know the module output (whether a book ends up in the old or new testament module file) is based entirely on the versification selected during the cammand line. With or without the testament markers present, the parser still maps all of the bookID's properly into their relative testament modules based on the versification indicated when the parse is started. . This is covered in the OSIS manual, but it isn't really that clear on the testament reference page. |
||
|
|
Newbie Norway Joined: Sep 25, 2011 Post Count: 7 Status: Offline |
Thank you for your answer Mikey! I wasn't aware of the OSIS Manual before you mentioned it. So another question about testament: If I remove the testament division in the XML (OSIS) file, and run the osis2mod pathtonewmodule mybible.xml -v German |
||
|
|
|
|
Current timezone is GMT May 18, 2013 6:36:03 AM |