title: XSLT template to replace string with string Including HTML Tags
body: <p>I have this template to replace once string with another:</p>
  <pre><code>&lt;xsl:template name=&quot;X&quot;&gt;
  &lt;xsl:param name=&quot;field&quot;/&gt;
  &lt;xsl:param name=&quot;target&quot;/&gt;
  &lt;xsl:param name=&quot;change&quot;/&gt;
  &lt;xsl:value-of select='replace($field, $target, $change )' /&gt;  
  &lt;/xsl:template&gt; 
  </code></pre>
  <p>This is how I am calling it:</p>
  <pre><code>&lt;xsl:call-template name=&quot;X&quot;&gt;
  &lt;xsl:with-param name=&quot;field&quot; select=&quot;artist&quot;/&gt;
  &lt;xsl:with-param name=&quot;target&quot; select=&quot;'\\n'&quot;/&gt;
  &lt;xsl:with-param name=&quot;change&quot; select=&quot;'&amp;#10;'&quot;/&gt;
  &lt;/xsl:call-template&gt;
  </code></pre>
  <p>This works in most cases except for the case demonstrated here.<br />
  I am trying to replace the string &quot;\n&quot;  with a HTML line break <strong>&lt;br&gt;</strong> or <strong>&lt;br /&gt;</strong>.<br />
  I want an actual new line not the tag visible in the output.
  I know that it is matching on the <strong>\n</strong> but I can not make the line break happen.
  I either get a literal <strong>&lt;br&gt;</strong> in the output or nothing happens.</p>