title: The entity "nbsp" was referenced, but not declared
body: <p>I have written one XSLT to transform xml to xml.</p>
  
  <p>Input XML:</p>
  
  <pre><code>&lt;test&gt;The Spanish word for "Spain" is "Espa&amp;nbsp;a" Dagon his Name, Sea Monster&lt;/test&gt;
  </code></pre>
  
  <p>OutputXML:</p>
  
  <pre><code>&lt;test&gt;The Spanish word for "Spain" is "Espa a" Dagon his Name, Sea Monster&lt;/test&gt;
  </code></pre>
  
  <p>XSL FILE: i have added the code for entity nbsp declaration under doctype at  and replace with &#160; entity but still are same error The entity "nbsp" was referenced, but not declared.</p>
  
  <pre><code>&lt;xsl:template match="test"&gt;
  &lt;test&gt;
    &lt;xsl:apply-templates/&gt;
  &lt;/test&gt;
  </code></pre>
  
  <p></p>