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