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 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head><title>SAXEcho</title>
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+</head>
+<body>
+<h1>SAXEcho</h1>
+<p align="justify"><strong>Project Owners:</strong> <a
href="mailto:[email protected]">Michael Mi</a>, <a
href="mailto:[email protected]">Aidan Butler</a><br/>
+<small>(please use the provided <a
href="http://xml.openoffice.org/servlets/ProjectMailingListList">mailing
lists</a> for discussion of the XML based file format and related
issues.)</small>
+</p>
+
+<h2>Overview</h2>
+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.
+
+<h2>Functionality</h2>
+<p>The SAXEcho program supports the following:</p>
+ <ul>
+ <li>Displaying the XML content of a currently opened OOo document. The
result is displayed as plain text and an XML tree structure.</li>
+ <li>Modification of the XML structure by adding, editing and removing
nodes.</li>
+ <li>The Assignment of a DTD to the XML representation.</li>
+ <li>The Validation of the displayed XML.</li>
+ <li>The use of an XSLT style-sheet, to display a transformed version of
an OOo document that is currently open.</li>
+ </ul>
+
+<h2>Usage Instructions</h2>
+<p>Before you start, you will need the following:</p>
+ <ul>
+ <li>An OpenOffice.org installation</li>
+ <li>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</li>
+ <li>The SAXEcho source code which is available <a
href="http://xml.openoffice.org/source/browse/xml/tools/SAXEcho/source/">here</a></i>
+ </ul>
+
+<h3>To compile the SAXEcho program do the following:</h3>
+ <b>Windows:</b>
+ <ol>
+ <li>Edit the <b>set office =</b> line to point to your
OOo installation</li>
+ <li>Execute the <b>SAXEcho.bat</b> file</li>
+ </ol>
+
+ <b>Unix:</b>
+ <ol>
+ <li>Set you CLASSPATH to include all of the jar files
in your <b><OOo-install-dir>/program/classes/</b> directory</li>
+ <li>execute <b>javac SAXEcho.java</b></li>
+ <li>execute <b>java SAXEcho</pre></b>
+ </ol>
+
+<p>Alternatively, the <b>SAXEcho/source</b> directory contains a dmake
<b>makefile.mk</b>, which can be used to build the source.</p>
+
+<h3>Configuring OpenOffice.org for usage with SAXEcho</h3>
+<p>In order for the SAXEcho program to work with OOo, you must start
OpenOffice with the following switches:</p>
+ <pre> <tt>%soffice
-accept=socket,host=localhost,port=2002;urp;</tt></pre>
+
+
+
+
+<h2>SAXEcho Displaying an OOo Document in Tree form <h2>
+<img src="xmltree.jpg" name="XmlTree Display"/>
+<h2>SAXEcho Displaying an OOo document in Plain Text form<h2>
+<img src="xmlflat.jpg" name="Plain Text Display"/>
+
+</body>
+
+</html>
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