Editing my original question to add some more clarity
I wanted to build a custom document format where I could store along with plain text other data items such as audio clips, images and svg sketches etc. I could go ahead and render all of these in a HTML page and display them to the user but I was wondering if I could leverage the existing XML document libraries.
Instead of using HTML I wanted to use XML since it seems like there many people before me have already built lots of libraries to use XML as a document format and then I learnt that Open office format is basically nothing but XML format.
Coming to my question, suppose my XML document looked like:
Some Annotation Data
I might add some new tags like
<customData> or something else to my format later on. I would want to leverage Libreoffice SDK to build viewers for this document. I’m thinking the viewers would make it look like you’re opening document natively. I was wondering if using XML document vs. HTML document might buy me some more type safety, existing libraries to build native viewers and export them easily to HTML to view on browsers as well?
Is it possible to do this with Libreoffice SDK or am I not thinking correctly? Thanks for any help!