| 
 
Subject: RE: [xsl] apostrophe in paramter causing output problems From: "Uronis, Jeremy" <Jeremy.Uronis@xxxxxxxxxxxxx> Date: Wed, 15 Aug 2001 15:28:36 -0400  | 
doing a little testing im seeing the same error
when i use "foo's" as input.
  msxml3.dll error '80004005' 
  Expected token 'eof' found 'NAME'. 'foo'-->s<--' 
<td>
  <xsl:variable name="myNewString"/>
  <xsl:variable name="q">'</xsl:variable>
  
  <xsl:call-template name="SubstringReplace">
    <xsl:with-param name="stringIn" select="$Description" /> 
    <xsl:with-param name="substringIn">$q</xsl:with-param>
    <xsl:with-param name="substringOut">\'</xsl:with-param>
  </xsl:call-template>
								
  <xsl:value-of select="$myNewString" /> 
  <input name="txtDescription" size="60" value=""/>
</td>
i did change the substringIn to "1" and substringOut
to "2" and it did manage to make mulitple replacements
when i had a string like "1111". so that part works.
jeremy
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] apostrophe in paramter ca, Mike Brown | Thread | RE: [xsl] apostrophe in paramter ca, Uronis, Jeremy | 
| Re: [xsl] apostrophe in paramter ca, Mike Brown | Date | [xsl] pulling info from SVG file wi, Wilcox, Paul | 
| Month |