I would like to be able to convert the apostrophe to the string '
using XSLT. I have the following XML
<OrgName>King College</OrgName>
I would like to be able to output the following:
<OrgName>King's College</OrgName>
I tried a character map, but I don't think this works, since you can replace only one character with a string.
I also tried replacing the function, but I'm not sure what I can do to make sure that the full line actually appears in the output file?
<xsl:value-of select='replace(OrgName,"&apos;","&apos;")' />
In my final decision, I need to be able to replace the entire apostrophe in the text, and not just one node.
source share