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, "'" , "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
--~--