incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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 GMT
Author: kschenk
Date: Tue Nov 29 21:34:52 2011
New Revision: 1208089

kls -- added 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
--- 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">
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+<p align="justify"><strong>Project Owners:</strong> <a href="">Michael
Mi</a>, <a href="">Aidan Butler</a><br/>
+<small>(please use the provided <a href="">mailing
lists</a> for discussion of the XML based file format and related issues.)</small>
+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.
+<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 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="">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>&lt;OOo-install-dir&gt;/program/classes/</b>
+			<li>execute <b>javac</b></li>
+			<li>execute <b>java SAXEcho</pre></b>
+		</ol>
+<p>Alternatively, the <b>SAXEcho/source</b> directory contains a dmake
<b></b>, which can be used to build the source.</p>
+<h3>Configuring 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"/>

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
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
Binary file - no diff available.

Propchange: incubator/ooo/ooo-site/trunk/content/xml/saxecho/xmltree.jpg
    svn:mime-type = image/jpeg

View raw message