title: How to handle < and > in CDATA with xslt 1.0?
body: <p>I have a problem with &lt; and &gt; in a CDATA section that is presented using xslt 1.0.
  Valid HTML-tags works fine when using disable-output-escaping=&quot;yes&quot; for the element.
  But sometimes there are some other texts included that for example looks like this . This is not visible in the browser. I guess the browser interprets it as a HTML-tag but since it is not valid it just ignores it.</p>
  <p>Example of CDATA text element:</p>
  <pre><code>&lt;Text&gt;The fox jumps &amp;lt;em&amp;gt;over&amp;lt;/&amp;gt; the fence. The fence is &amp;lt;XYZ&amp;gt; meters high.&lt;/Text&gt;
  </code></pre>
  <p>Current xsl code that formats this text (works as described above):</p>
  <pre><code>&lt;div class=&quot;casebook-memo-key-text&quot;&gt;&lt;xsl:value-of disable-output-escaping=&quot;yes&quot; select=&quot;p:Text&quot;/&gt;&amp;#160;&lt;/div&gt; 
  </code></pre>
  <p>I could replace the non valid ones with for example -XYZ- using translate() but how to not replace the correct HTML-tags?
  Any idea?</p>