greenrd 00/12/13 05:40:35
Modified: src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
Log:
commented out unnecessary xmldecl template added by mistake
Revision Changes Path
1.39 +5 -3
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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- esql.xsl 2000/12/13 13:30:27 1.38
+++ esql.xsl 2000/12/13 13:40:34 1.39
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- $Id: esql.xsl,v 1.38 2000/12/13 13:30:27 greenrd Exp $-->
+<!-- $Id: esql.xsl,v 1.39 2000/12/13 13:40:34 greenrd Exp $-->
<!--
============================================================================
@@ -461,7 +461,7 @@
<xsl:variable name="content">
<xsl:choose>
<xsl:when test="@root">
- <xsl:call-template name="add-xml-decl">
+ <!-- <xsl:call-template name="add-xml-decl"> not needed -->
<xsl:text>"<</xsl:text>
<xsl:value-of select="@root"/>
<xsl:text>>"+</xsl:text>
@@ -471,7 +471,7 @@
<xsl:text>>"</xsl:text>
</xsl:when>
<xsl:otherwise>
- <xsl:call-template name="add-xml-decl">
+ <!-- <xsl:call-template name="add-xml-decl"> not needed -->
<xsl:call-template name="get-string"/>
</xsl:otherwise>
</xsl:choose>
@@ -568,6 +568,7 @@
</xsl:choose>
</xsl:template>
+<!-- added by mistake. Not needed, I think - RDG
<xsl:template name="add-xml-decl">
<xsl:choose>
<xsl:when test="@encoding">
@@ -579,6 +580,7 @@
</xsl:choose>
+
</xsl:template>
+-->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>