#!/usr/bin/env python """Generates the OpenOffice.org content.xml file outside of a .swx zip file. Useful for debugging the OOwriter.""" __author__ = "Patrick K. O'Brien " __cvsid__ = "$Id$" __revision__ = "$Revision$"[11:-2] import locale try: locale.setlocale(locale.LC_ALL, '') except: pass from docutils.core import publish_cmdline, default_description from OOwriter import Writer def main(): description = ("Generates OpenOffice.org XML. " + default_description) publish_cmdline(writer=Writer(), description=description) if __name__ == '__main__': main()