The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15


Project Owners: Michael Mi, Aidan Butler
(please use the provided mailing lists for discussion of the XML based file format and related issues.)


SAXEcho is an application which runs in parallel to OpenOffice and shows the XML representation of the current document. The application was created by Michael Mi, and has been more recently been expanded by Aidan Butler. The code is Java based, and works by attaching to a OOo process which has been set to listen on a specific port.


The SAXEcho program supports the following:

Usage Instructions

Before you start, you will need the following:

To compile the SAXEcho program do the following:

  1. Edit the set office = line to point to your OOo installation
  2. Execute the SAXEcho.bat file
  1. Set you CLASSPATH to include all of the jar files in your <OOo-install-dir>/program/classes/ directory
  2. execute javac
  3. execute java SAXEcho

Alternatively, the SAXEcho/source directory contains a dmake, which can be used to build the source.

Configuring for usage with SAXEcho

In order for the SAXEcho program to work with OOo, you must start OpenOffice with the following switches:

	%soffice -accept=socket,host=localhost,port=2002;urp;

SAXEcho Displaying an OOo Document in Tree form

SAXEcho Displaying an OOo document in Plain Text form

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.