You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ba...@locus.apache.org on 2000/10/04 22:04:59 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
balld 00/10/04 13:04:58
Modified: src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
Log:
fixed some xslt bug - putting xsl:value-of in xsl:text block
Revision Changes Path
1.19 +2 -2 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl
Index: esql.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- esql.xsl 2000/09/29 19:32:57 1.18
+++ esql.xsl 2000/10/04 20:04:56 1.19
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- $Id: esql.xsl,v 1.18 2000/09/29 19:32:57 balld Exp $-->
+<!-- $Id: esql.xsl,v 1.19 2000/10/04 20:04:56 balld Exp $-->
<!--
============================================================================
@@ -284,7 +284,7 @@
<xsl:text>set<xsl:value-of select="$type"/>(<xsl:value-of select="position()"/>,<xsl:call-template name="get-nested-content"><xsl:with-param name="content" select="."/></xsl:call-template>);</xsl:text>
</xsl:when>
<xsl:otherwise>
- <xsl:text>setString(<xsl:value-of select="position()"/>,String.valueOf(<xsl:call-template name="get-nested-string"><xsl:with-param name="content" select="."/></xsl:call-template>));
+ <xsl:text>setString(</xsl:text><xsl:value-of select="position()"/>,String.valueOf(<xsl:call-template name="get-nested-string"><xsl:with-param name="content" select="."/></xsl:call-template>));<xsl:text>
</xsl:text>
</xsl:otherwise>
</xsl:choose>