The OpenDocument XML.org web site is not longer accepting new posts. Information on this page is preserved for legacy purposes only. For current information on ODF, please see the OASIS OpenDocument Technical Committee.
Revision of Extract and Parse ODF Files with Python from Mon, 2008-04-14 12:29
Resource: Submitted by carolgeyer on Mon, 2008-04-14 12:29. Last updated on Mon, 2008-04-14 12:30.
This Linux Journal article by Kamran Husain highlights the basic structure of ODF files, and some internals of
the underlying XML files and shows how to use Python to read the contents to
perform a simple search for keywords. The code also can be the basis for
more-advanced operations. In the spirit of openness, open-source
software is used to read the ODF files, which in this case are Python and the
OpenOffice.org package.