hi
i have a xsl , and i want to replace some string in my input.
i try it with the EXSLT extention . support xalan the string replace extention(EXSLT)???
i try with the do-replace template , but i become the out of memory error .
<xsl:template name="do-replace">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="by"/>
<xsl:choose>
<xsl:when test="contains($text,$replace)">
<xsl:copy-of select="substring-before($text,$replace)"/>
<xsl:copy-of select="$by"/><xsl:call-template name="do-replace">
<xsl:with-param name="text">
<xsl:copy-of select="substring-after($text,$replace)"/></xsl:with-param>
<xsl:with-param name="replace" select="$replace"/>
<xsl:with-param name="by"><xsl:copy-of select="$by"/></xsl:with-param>
</xsl:call-template> > </xsl:when> <xsl:otherwise> <xsl:copy-of select="$text"/> </xsl:otherwise>
</xsl:choose> </xsl:template>
i cannot change th java memory ??
any solution ??
can help me
thanks
maalej
