You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/03/21 13:29:48 UTC
cvs commit: xml-forrest/src/resources/conf forrest.xmap
jefft 2003/03/21 04:29:48
Modified: src/resources/conf forrest.xmap
Log:
Add automatic conversion from doc-v10 to doc-v11
Revision Changes Path
1.4 +7 -0 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- forrest.xmap 21 Mar 2003 11:22:17 -0000 1.3
+++ forrest.xmap 21 Mar 2003 12:29:48 -0000 1.4
@@ -14,6 +14,9 @@
<map:matchers default="wildcard"/>
<map:actions>
<map:action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.forrest.components.sourcetype.SourceTypeAction">
+ <sourcetype name="document-v10">
+ <document-declaration public-id="-//APACHE//DTD Documentation V1.0//EN" />
+ </sourcetype>
<sourcetype name="document-v11">
<document-declaration public-id="-//APACHE//DTD Documentation V1.1//EN" />
</sourcetype>
@@ -39,6 +42,10 @@
<map:act type="sourcetype" src="{src}">
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{sourcetype}" />
+
+ <map:when test="document-v10">
+ <map:transform src="resources/stylesheets/docv10todocv11.xsl" label="content" />
+ </map:when>
<map:when test="howto-v10">
<map:transform src="resources/stylesheets/howto2document.xsl" label="content" />