Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF9487F0B for ; Tue, 29 Nov 2011 21:35:19 +0000 (UTC) Received: (qmail 17661 invoked by uid 500); 29 Nov 2011 21:35:19 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 17589 invoked by uid 500); 29 Nov 2011 21:35:19 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 17582 invoked by uid 99); 29 Nov 2011 21:35:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 21:35:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 21:35:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DF17923888EA; Tue, 29 Nov 2011 21:34:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1208089 - in /incubator/ooo/ooo-site/trunk/content/xml/saxecho: ./ index.html xmlflat.jpg xmltree.jpg Date: Tue, 29 Nov 2011 21:34:53 -0000 To: ooo-commits@incubator.apache.org From: kschenk@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111129213453.DF17923888EA@eris.apache.org> Author: kschenk Date: Tue Nov 29 21:34:52 2011 New Revision: 1208089 URL: http://svn.apache.org/viewvc?rev=1208089&view=rev Log: kls -- added xml/saxecho Added: incubator/ooo/ooo-site/trunk/content/xml/saxecho/ incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html (with props) incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmlflat.jpg (with props) incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmltree.jpg (with props) Added: incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html?rev=1208089&view=auto ============================================================================== --- incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html (added) +++ incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html Tue Nov 29 21:34:52 2011 @@ -0,0 +1,63 @@ + + +SAXEcho + + + +

SAXEcho

+

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

+ +

Overview

+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. + +

Functionality

+

The SAXEcho program supports the following:

+
    +
  • Displaying the XML content of a currently opened OOo document. The result is displayed as plain text and an XML tree structure.
  • +
  • Modification of the XML structure by adding, editing and removing nodes.
  • +
  • The Assignment of a DTD to the XML representation.
  • +
  • The Validation of the displayed XML.
  • +
  • The use of an XSLT style-sheet, to display a transformed version of an OOo document that is currently open.
  • +
+ +

Usage Instructions

+

Before you start, you will need the following:

+
    +
  • An OpenOffice.org installation
  • +
  • Java 1.3 or greater. If you have an installation that is less than 1.4, you will also need Xalan and an external parser e.g. Xerces or Crimson
  • +
  • The SAXEcho source code which is available here +
+ +

To compile the SAXEcho program do the following:

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

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

+ +

Configuring OpenOffice.org 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

+ + + + + Propchange: incubator/ooo/ooo-site/trunk/content/xml/saxecho/index.html ------------------------------------------------------------------------------ svn:eol-style = native Added: incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmlflat.jpg URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmlflat.jpg?rev=1208089&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmlflat.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmltree.jpg URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmltree.jpg?rev=1208089&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmltree.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg