[xsl] apostrophe in paramter causing output problems

Subject: [xsl] apostrophe in paramter causing output problems
From: "Uronis, Jeremy" <Jeremy.Uronis@xxxxxxxxxxxxx>
Date: Wed, 15 Aug 2001 14:26:37 -0400
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,"&apos;","\&apos;")}'/>

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


Current Thread