This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
AW: Replacing all Occurences of a String
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Subject: AW: [xsl] Replacing all Occurences of a String
- From: Joerg Pietschmann <joerg dot pietschmann at zkb dot ch>
- Date: Fri, 31 Aug 2001 10:46:32 +0200
- Organization: ZKB
- Reply-To: xsl-list at lists dot mulberrytech dot com
"Roger" <roger@nomad.ch> wrote:
> I tried it out, but had this message:
>
> XSL element 'template' cannot contain element 'with-param' at this point.
> Any hints?
Yes. It's a copy-and-paste error often seen in untested code of me. <grin>
Spoiler space
!
!
!
!
!
!
!
!
!
!
!
!
!
!
> <xsl:template name="process">
> <xsl:with-param name="text"/>
> <xsl:with-param name="replacements"/>
Should be
<xsl:param name="text"/>
<xsl:param name="replacements"/>
Still untested. HTH anyway, as usual. I'm sure you have enough
understanding of the XSLT language now to make it work.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list