You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/04/17 00:40:54 UTC
svn commit: r394573 - in
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt:
input.xmap locationmap.xml
Author: thorsten
Date: Sun Apr 16 15:40:53 2006
New Revision: 394573
URL: http://svn.apache.org/viewcvs?rev=394573&view=rev
Log:
Working version from odt to xdocs plugin. I did use a couple of different stylesheets rather then writing a odt-to-xdocs stylesheet.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/input.xmap
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/locationmap.xml
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/input.xmap?rev=394573&r1=394572&r2=394573&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/input.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/input.xmap Sun Apr 16 15:40:53 2006
@@ -21,6 +21,9 @@
<map:select type="exists">
<map:when test="{lm:project.{uri}.odt}">
<map:generate src="zip://content.xml@{lm:project.{uri}.odt}" />
+ <map:transform src="{lm:transform.odt.xhtml}" />
+ <map:transform src="{lm:transform.xml.xml-namespace-stripped}" />
+ <map:transform src="{lm:transform.html.document}" />
<map:serialize type="xml" />
</map:when>
</map:select>
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/locationmap.xml?rev=394573&r1=394572&r2=394573&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/locationmap.xml Sun Apr 16 15:40:53 2006
@@ -30,5 +30,12 @@
</components>
<locator>
+ <match pattern="transform.odt.xhtml">
+ <select>
+ <location
+ src="{forrest:plugins}/org.apache.forrest.plugin.input.odt/resources/stylesheets/common/odt_to_xhtml.xsl"
+ />
+ </select>
+ </match>
</locator>
</locationmap>