[Home] [By Thread] [By Date] [Recent Entries]

Subject: Replacing an apostrophe in a string
From: "Craig Sampson craig.sampson@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Sep 2014 18:58:26 -0000
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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member