"OpenOffice.org Writer, a no-cost, open-source answer to otherwise pricey, commercial word processing applications, stores its files with an 'odt' extension. Even users with casual familiarity with Writer may be surprised to know this file is nothing more than a standard 'zip' file full of XML files. The implication behind this fact is this: armed with a little knowledge of these internal files, you can programmatically create and edit them.
"In this article, I will discuss some of the basic concepts relating to the ODT file itself. I will not discuss how to actually use OpenOffice.org Writer itself—the lessons involved to gain efficient competency with any word processing application would provide ample material to fill a book..."