title: Setting disable-output-escaping="yes" for every xsl:text tag in the xml
body: <p>say I have the following xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
  &lt;xsl:template match="/*"&gt;
    &lt;display&gt;
      &lt;xsl:for-each select="logline_t"&gt;
        &lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;&lt;/xsl:text&gt; &lt;xsl:value-of select="./line_1" &lt;xsl:text disable-output-escaping="yes"&gt;&amp;gt;&lt;/xsl:text&gt;
        &lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;&lt;/xsl:text&gt; &lt;xsl:value-of select="./line_2" &lt;xsl:text disable-output-escaping="yes"&gt;&amp;gt;&lt;/xsl:text&gt;
        &lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;&lt;/xsl:text&gt; &lt;xsl:value-of select="./line_3" &lt;xsl:text disable-output-escaping="yes"&gt;&amp;gt;&lt;/xsl:text&gt;
      &lt;/xsl:for-each&gt;
    &lt;/display&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Is there a way to set disable-output-escaping="yes" to all of the xsl:text that appear in the document?</p>
  
  <p>I know there is an option to put
   &lt; xsl:output method="text"/ > 
  and every time something like
      &amp; lt;
  appears, a &lt; will appear, but the thing is that sometimes in the values of line_1, line_2 or line_3, there is a "$lt;" that I don't want changed (this is, I only need whatever is between  to be changed)</p>
  
  <p>This is what I'm trying to accomplish. I have this xml:</p>
  
  <pre><code>&lt;readlog_l&gt;
   &lt;logline_t&gt;
    &lt;hora&gt;16:01:09&lt;/hora&gt;
    &lt;texto&gt;Call-ID: 663903&amp;lt;hola&amp;gt;396@127.0.0.1&lt;/texto&gt;
   &lt;/logline_t&gt;
  &lt;/readlog_l&gt;
  </code></pre>
  
  <p>And this translation:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
  &lt;xsl:template match="/*"&gt;
   &lt;display&gt;
  
    &amp;lt;screen name="&lt;xsl:value-of select="name(.)"/&gt;"&amp;gt;
  
    &lt;xsl:for-each select="logline_t"&gt;
    &amp;lt; field name="&lt;xsl:for-each select="*"&gt;&lt;xsl:value-of select="."/&gt;&lt;/xsl:for-each&gt;" value="" type="label"/&amp;gt;
    &lt;/xsl:for-each&gt;
  
    &amp;lt;/screen&amp;gt;
  
   &lt;/display&gt;
  &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I want this to be the output:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;display&gt;
  
  &lt;screen name="readlog_l"&gt;
  
    &lt;field name="16:01:09 Call-ID: 663903&amp;lt;hola&amp;gt;396@127.0.0.1 " value="" type="label"&gt;
  
  &lt;/screen&gt;
  &lt;/display&gt;
  </code></pre>
  
  <p>Note that I need the "&lt;" inside the field name not to be escaped, this is why I can't use output method text.</p>
  
  <p>Also, note that this is an example and the translations are much bigger, so this is why I'm trying to find out how not to write disable-output-escaping for every '&lt;' or '>' I need.</p>
  
  <p>Thanks!</p>