jeremy 00/10/30 03:29:20
Modified: src/org/apache/cocoon/processor/xsp/library/fp fp.xsl
Log:
added fixes for fp.xsl, to better handle multiple TagLibs in a file plus null
selectors for config elements
Revision Changes Path
1.2 +5 -1
xml-cocoon/src/org/apache/cocoon/processor/xsp/library/fp/fp.xsl
Index: fp.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/fp/fp.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fp.xsl 2000/07/21 20:12:53 1.1
+++ fp.xsl 2000/10/30 11:29:20 1.2
@@ -71,7 +71,7 @@
</xsp:page>
</xsl:template>
-<xsl:template match="xsp:page/*">
+<xsl:template match="xsp:page/*[not(starts-with(name(.), 'xsp:'))]">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsp:logic>
@@ -214,6 +214,10 @@
<xsl:template match="fp:resource-file"></xsl:template>
<xsl:template match="fp:resource-node"></xsl:template>
<xsl:template match="fp:write-mode"></xsl:template>
+<xsl:template match="select"></xsl:template>
+<xsl:template match="from"></xsl:template>
+<xsl:template match="to"></xsl:template>
+<xsl:template match="mode"></xsl:template>
<xsl:template match="fp:redirect">
<xsl:variable name="value">