Need to be able to pass a single quote in the string Cmm’l so it reads original xml file for that phrase. how do I do this?
<xsl:when test="contains(ct-type/cats, 'Cmml') or contains(ct-type/cats, 'rst')">
<xsl:element name="Terms">
<xsl:value-of select="'example'"/>
</xsl:element>
</xsl:when>
You can use apostrophes as attribute value delimiters and then use an entity inside the string:
If you need both quotes and apostrophes in the string, then you can use e.g. variables for the strings or punctuation.