forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r264874 - /forrest/trunk/main/webapp/forrest.xmap
Date Tue, 30 Aug 2005 21:35:48 GMT
Author: rgardler
Date: Tue Aug 30 14:35:41 2005
New Revision: 264874

URL: http://svn.apache.org/viewcvs?rev=264874&view=rev
Log:
add a matcher to retrieve the source XML, needed because input plugins are supposed to provide
a *.source.xml matcher

Modified:
    forrest/trunk/main/webapp/forrest.xmap

Modified: forrest/trunk/main/webapp/forrest.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/forrest.xmap?rev=264874&r1=264873&r2=264874&view=diff
==============================================================================
--- forrest/trunk/main/webapp/forrest.xmap (original)
+++ forrest/trunk/main/webapp/forrest.xmap Tue Aug 30 14:35:41 2005
@@ -257,6 +257,12 @@
           <map:serialize type="xml-document"/>
        </map:match>
        
+       <!-- if we got this far asking for the source.xml then it must be an XDoc -->
+       <map:match pattern="**.source..xml">
+         <map:serialize select="cocoon:/{1}.xml"/>
+         <map:serialize type="xml"/>
+       </map:match>
+       
        <map:match pattern="**.xml">
          <map:select type="exists">
            <map:when test="{lm:{0}}">



Mime
View raw message