You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2004/02/22 20:10:08 UTC
cvs commit: cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor sitemap2xconf.xsl
unico 2004/02/22 11:10:08
Modified: src/java/org/apache/cocoon/components/cprocessor
sitemap2xconf.xsl
Log:
fix map:flow
Revision Changes Path
1.10 +13 -2 cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/sitemap2xconf.xsl
Index: sitemap2xconf.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/sitemap2xconf.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sitemap2xconf.xsl 22 Feb 2004 15:08:56 -0000 1.9
+++ sitemap2xconf.xsl 22 Feb 2004 19:10:08 -0000 1.10
@@ -8,7 +8,7 @@
<xsl:template match="map:sitemap">
<sitemap proxy-type="none">
- <xsl:apply-templates select="map:components|map:views|map:resources|map:action-sets|map:pipelines"/>
+ <xsl:apply-templates select="map:components|map:views|map:flow|map:resources|map:action-sets|map:pipelines"/>
</sitemap>
</xsl:template>
@@ -21,7 +21,6 @@
<xsl:apply-templates select="*/*" />
</xsl:template>
-
<xsl:template match="map:generator|map:transformer|map:serializer|map:reader">
<xsl:element name="{local-name()}-node">
<xsl:attribute name="id">
@@ -51,6 +50,12 @@
</xsl:apply-templates>
</xsl:template>
+ <xsl:template match="map:flow">
+ <flow-node id="flow">
+ <xsl:apply-templates select="@*|map:script" mode="copy"/>
+ </flow-node>
+ </xsl:template>
+
<xsl:template match="map:resources">
<xsl:variable name="id">r</xsl:variable>
<xsl:apply-templates select="map:resource">
@@ -368,6 +373,12 @@
<part>
<xsl:apply-templates select="@*" mode="copy"/>
</part>
+ </xsl:template>
+
+ <xsl:template match="map:script" mode="copy">
+ <script>
+ <xsl:apply-templates select="@*" mode="copy"/>
+ </script>
</xsl:template>
<xsl:template match="map:parameter" mode="copy">