joerg 2004/03/17 11:50:00
Modified: tools/src cforms-repeater-syntax.xsl
Log:
handling of convertor was missing
Revision Changes Path
1.5 +6 -3 cocoon-2.1/tools/src/cforms-repeater-syntax.xsl
Index: cforms-repeater-syntax.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/src/cforms-repeater-syntax.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cforms-repeater-syntax.xsl 13 Mar 2004 17:52:01 -0000 1.4
+++ cforms-repeater-syntax.xsl 17 Mar 2004 19:50:00 -0000 1.5
@@ -15,7 +15,8 @@
limitations under the License.
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-
xmlns:fb="http://apache.org/cocoon/forms/1.0#binding">
+
xmlns:fb="http://apache.org/cocoon/forms/1.0#binding"
+
xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
<xsl:template match="node()|@*">
<xsl:copy>
@@ -29,10 +30,12 @@
<xsl:if test="@unique-row-id and @unique-path and
not(fb:unique-row | fb:identity)">
<fb:identity>
- <fb:value id="[EMAIL PROTECTED]" path="[EMAIL PROTECTED]"/>
+ <fb:value id="[EMAIL PROTECTED]" path="[EMAIL PROTECTED]">
+ <xsl:apply-templates select="fd:convertor"/>
+ </fb:value>
</fb:identity>
</xsl:if>
- <xsl:apply-templates select="node()"/>
+ <xsl:apply-templates select="node()[not(self::fd:convertor)]"/>
</xsl:copy>
</xsl:template>