Subject: RE: 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 |
- apostrophe in paramter causing output problems
- Uronis, Jeremy - Wed, 15 Aug 2001 14:36:15 -0400 (EDT)
- Mike Brown - Wed, 15 Aug 2001 15:00:25 -0400 (EDT)
- <Possible follow-ups>
- Uronis, Jeremy - Wed, 15 Aug 2001 15:38:57 -0400 (EDT) <=
- Uronis, Jeremy - Wed, 15 Aug 2001 15:55:45 -0400 (EDT)
- Mike Brown - Wed, 15 Aug 2001 20:15:44 -0400 (EDT)
- Uronis, Jeremy - Wed, 15 Aug 2001 16:42:28 -0400 (EDT)
- Sunil Dua - Wed, 15 Aug 2001 17:08:36 -0400 (EDT)
|
|