This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

apostrophe in paramter causing output problems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]