I'd like to be able to convert an apostrophe to the string '
using XSLT. I've got the following XML
<OrgName>King's College</OrgName>
I'd like to be able to output the following:
<OrgName>King's College</OrgName>
I've tried a character map but I don't think this works as you can only replace a single character with a string.
I've also tried a replace function but I'm not sure what I can do to make sure that the full string actually appears in the output file?
<xsl:value-of select='replace(OrgName,"&apos;","&apos;")' />
In my final solution I need to be able to replace all apostrophe's in the text rather than just for one node.