You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/09/09 11:56:55 UTC
svn commit: r279741 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
Author: rgardler
Date: Fri Sep 9 02:56:48 2005
New Revision: 279741
URL: http://svn.apache.org/viewcvs?rev=279741&view=rev
Log:
Add XHTML2_to_html transformation, add REFACTOR comments about moving html output to an ouptut plugin
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap?rev=279741&r1=279740&r2=279741&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap Fri Sep 9 02:56:48 2005
@@ -225,10 +225,12 @@
<map:generate type="html" src="cocoon:/{1}/{2}.html"/>
<map:serialize type="xhtml"/>
</map:match>
- <!--
- Last processing step.
- Here we are overriding the default skin generation.
- -->
+
+
+ <!--
+ Output format
+ FIXME: REFACTOR: These .html matchers should go into an html output plugin
+ -->
<map:match pattern="*.html">
<!-- FIXME: should be <map:generate src="cocoon://{1}/{2}.xml"/> -->
<map:generate src="{project:content.xdocs}/{1}.xml"/>
@@ -240,7 +242,10 @@
<map:transform src="cocoon://getStylesheet.xhtml.{1}">
<map:parameter name="path" value="{0}"/>
</map:transform>
- <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>
+ <map:transform src="{lm:transform.xslt.xhtml2.html}"/>
+ <!--
+ FIXME: this transformation was in the original views plugin - do we need it here?
+ <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>-->
<map:serialize type="xhtml"/>
</map:match>
@@ -255,7 +260,10 @@
<map:transform src="cocoon://getStylesheet.xhtml.{1}/{2}">
<map:parameter name="path" value="{0}"/>
</map:transform>
- <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>
+ <map:transform src="{lm:transform.xslt.xhtml2.html}"/>
+ <!--
+ FIXME: this transformation was in the original views plugin - do we need it here?
+ <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>-->
<map:serialize type="xhtml"/>
</map:match>
</map:pipeline>