How can I convert the following XML to an escaped text using XSLT?
Source:
instead of escaping you can add the text inside a CDATA section. Text inside a CDATA section will be ignored by the parser, similar to if it was escaped.
your example would look like this
mnop ]]>
using following XSLT snippet:
<![CDATA[ ]] >