xsl-list
[Top] [All Lists]

[xsl] Replacing an apostrophe in a string

2014-09-04 13:58:39
Sorry for the noise. I got it working right after posting for help.
The solution was to swap the quotes around in the statement, which I thought 
I'd already tried, but it worked this time.

Eg:

<xsl:variable name="newString" select='replace($oldString, "&apos;" , "XXX")'/>

Thanks,
  Craig
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>