Subject: AW: Replacing all Occurences of a String
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Fri, 31 Aug 2001 10:46:32 +0200
|
"Roger" <roger@xxxxxxxx> 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
|