[sword-devel] File Formats (WAS Re: SwordReader .....)
greg.hellings at gmail.com
Wed Dec 23 13:43:45 MST 2009
Yes, it was the BI-NT that I was referring to. I found the direct
export to the Office 2003 XML format to be easy *enough* to work with.
If I had those two weeks back to work on it again, I'd probably write
what's done is done.
I wrote the converter in two portions: one was a set of C++ classes
that could represent certain arbitrary portions of an OSIS document in
memory, including the elements and their attributes that I needed, and
the second was specifically the portion that walked the exported XML
document that I made from the Word documents. At the time I was
pretty happy with the C++ classes, and I think I still am. I was only
lacking in that I had not yet pulled the text of the author's
footnotes into the OSIS document - though I had properly parsed where
they should go and placed his '*' in the place where the footnote
element would eventually go. I'll have to see if I wrote it well
enough to jump back into it and knock out that last task. Certainly,
if I think they're nice enough, I will put them in a place where
others can access the source code of the program, because it might be
nice for people to have a programmatic interface in C++ to generate
(moderately) good basic OSIS in a format that's more familiar to an
application programmer than direct XML or XSLT.
On Wed, Dec 23, 2009 at 2:23 PM, David Haslam <d.haslam at ukonline.co.uk> wrote:
> Hi Greg,
> You were thinking of me in this respect, I think ? (Bisaya-Inunhan NT).
> Please chat with Peter (RefDoc).
> He is experimenting with AbiWord as a bridge from MS Word docs to flat XML.
> See http://www.crosswire.org/wiki/File_Formats#ABW
> David Haslam
> PS. Merry Christmas everyone.
> Gregory Hellings wrote:
>> That said, I believe I promised someone on this list I'd finish
>> converting a module from MSWord into OSIS some months ago...
> View this message in context: http://n4.nabble.com/SwordReader-tp621067p978060.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel