This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
apostrophe in paramter causing output problems
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] apostrophe in paramter causing output problems
- From: "Uronis, Jeremy" <Jeremy dot Uronis at usa dot xerox dot com>
- Date: Wed, 15 Aug 2001 14:26:37 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
hello-
i am passing a parameter into my xsl. the parameter is declared as
<xsl:param name="Description" />
sometimes the parameter has one or more apostrophes in it. an example
would be
"It's going to rain today"
when i try and output this into my input box like so
<input name="txtDescription" size="60"
value='{translate($Description,"'","\'")}'/>
i get the following error:
msxml3.dll error '80004005'
Expected token 'eof' found 'NAME'. 'foo'-->s<--'
i have tried everything i can think of to resolve this problem, but have run
out of ideas. any help would be appreciated. thanks in advance. jeremy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list