We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Getting the XML ... [closed]

asked 2012-11-13 11:50:38 +0200

asearle gravatar image

updated 2015-10-21 04:04:05 +0200

Alex Kemp gravatar image

Hi Everyone,

I have experimented with the file structures of ODT documents and am very impressed that, by extracting the zipped information, I can get at the XML code behind the document.

As it is I would like to use the XML source and can certainly extract this programmatically (by unzipping) but I am wondering whether there is an easier way to do this?

Maybe by working with OO-Basic I could directly export the file in its raw XML form?

I hope that someone can point me in the right direction here.

Many thanks, Alan Searle

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-21 04:04:15.825138

1 Answer

Sort by » oldest newest most voted

answered 2012-11-13 12:06:48 +0200

w_whalley gravatar image

updated 2013-02-03 08:39:48 +0200

qubit gravatar image

Does your version of LibreOffice support saving as the OpenDocument Text (Flat XML) format (.fods) (.fodt)? I think that's what you want.

edit flag offensive delete link more



.odt → .fodt ;)

manj_k gravatar imagemanj_k ( 2012-11-13 14:23:25 +0200 )edit

Question Tools


Asked: 2012-11-13 11:50:38 +0200

Seen: 626 times

Last updated: Feb 03 '13