forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf forrest.xmap
Date Mon, 08 Sep 2003 06:27:05 GMT
nicolaken    2003/09/07 23:27:05

  Modified:    src/resources/conf forrest.xmap
  Log:
  Add .html matcher as new way of defining ihtml pages.
  
  Revision  Changes    Path
  1.29      +11 -2     xml-forrest/src/resources/conf/forrest.xmap
  
  Index: forrest.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/forrest.xmap,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- forrest.xmap	7 Aug 2003 17:54:02 -0000	1.28
  +++ forrest.xmap	8 Sep 2003 06:27:04 -0000	1.29
  @@ -181,7 +181,16 @@
         <map:match pattern="**.xml">
   
           <map:select type="exists">
  -
  +          
  +          <!-- use the same form of ihtml for now -->
  +          <map:when test="content/xdocs/{1}.html">
  +            <map:generate src="content/xdocs/{1}.html" type="html" />
  +            <map:transform src="resources/stylesheets/html2document.xsl" />
  +            <map:transform type="idgen" />
  +            <map:serialize type="xml-document"/>
  +          </map:when>
  +          
  +          <!-- @deprecated -->
             <map:when test="content/xdocs/{1}.ihtml">
               <map:generate src="content/xdocs/{1}.ihtml" type="html" />
               <map:transform src="resources/stylesheets/html2document.xsl" />
  
  
  

Mime
View raw message