xml - special character inside of xslt string -


There is a need to pass a single phrase in the string CMML so that it can read the original XML file for that phrase. How do I do this?

  & lt; Xsl: when test = "(ct-type / cats, 'cmml') is included or in it (ct-type / cats, 'rst')" & gt; & Lt; Xsl: element name = "conditions" & gt; & Lt; Xsl: Select the value = "'example'" /> & Lt; / XSL: element & gt; & Lt; / XSL: When & gt; You can use apostrophes as an appiteroage value delimiter and then you can use an entity inside the string:    

  & lt; Xsl: when test = '(ct-type / cats, "CMM & apos; l") is included or included (CT-type / cats, "RST")' & gt;   

If you want both quotation and apoprophos in the string, you can use eg. Variables for string or punctuation.

Comments