This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: Replacing all Occurences of a String


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]