title: xsltproc: Can I add breaks (or entities) to --stringparams?
body: <p>I am trying to feed xsltproc a stringparam that contains a break... It does not seem to work. Minimal example below.</p>
  
  <h1>Input</h1>
  
  <p>This is <code>bogus.xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;this&gt;
    &lt;that/&gt;
  &lt;/this&gt;
  </code></pre>
  
  <p>This is <code>test.xsl</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
    &lt;xsl:param name="somestring" select="'here is a&amp;#10;break'"/&gt;
    &lt;xsl:template match="/"&gt;
      &lt;xsl:message&gt;|&lt;xsl:value-of select="$somestring"/&gt;|&lt;/xsl:message&gt;
    &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>And this is my command line:
  <code>xsltproc --stringparam somestring 'another string with a&amp;#10;break' test.xsl bogus.xml</code></p>
  
  <h1>Output</h1>
  
  <p>And the output looks like this:</p>
  
  <pre><code>|another string with a&amp;#10;break|
  </code></pre>
  
  <p>The output I want is this:</p>
  
  <pre><code>|another string with a
  break|
  </code></pre>