This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: apostrophe in paramter causing output problems
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] apostrophe in paramter causing output problems
- From: "Uronis, Jeremy" <Jeremy dot Uronis at usa dot xerox dot com>
- Date: Wed, 15 Aug 2001 15:28:36 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
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