forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r354785 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap
Date Wed, 07 Dec 2005 16:00:01 GMT
Author: thorsten
Date: Wed Dec  7 07:59:55 2005
New Revision: 354785

URL: http://svn.apache.org/viewcvs?rev=354785&view=rev
Log:
Added sample match for the generation of standalone css contracts.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap?rev=354785&r1=354784&r2=354785&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap Wed
Dec  7 07:59:55 2005
@@ -99,9 +99,21 @@
         <map:generate src="{lm:resolve.structurer.index-foo}" />
         <map:transform type="dispatcher">
           <map:parameter name="type" value="html" />
-          <map:parameter name="hooksTransformer" value="{lm:hooks-to-html.xsl}"/>
+          <map:parameter name="hooksTransformer"
+            value="{lm:hooks-to-html.xsl}" />
         </map:transform>
-        <map:serialize type="xhtml"/>
+        <map:serialize type="xhtml" />
+      </map:match>
+      <map:match pattern="test.css">
+        <map:generate src="{lm:resolve.structurer.index-foo}" />
+        <map:transform type="dispatcher">
+          <map:parameter name="type" value="css" />
+        </map:transform>
+        <map:transform type="pattern"
+          src="{forrest:context}/resources/chaperon/grammars/link.xlex" />
+        <map:transform
+          src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" />
+        <map:serialize type="text" mime-type="text/css" />
       </map:match>
       <map:match pattern="test.**">
         <map:generate src="{lm:resolve.structurer.{1}}" />
@@ -109,7 +121,7 @@
           <map:parameter name="type" value="html" />
         </map:transform>
         <map:serialize />
-        
+
         <map:transform
           src="resources/stylesheets/hooksMatcher-html.xsl" />
         <!-- type="structurerXsl" -->



Mime
View raw message