请问这个实体为什么用不了
<?xml version= "1.0 " encoding= "gb2312 " ?>
<!DOCTYPE stylesheet
[
<!ENTITY nbsp " ">
]>
<xsl:stylesheet xmlns:xsl= "http://www.w3.org/TR/WD-xsl ">
<xsl:template match= "/ ">
<html>
<body>
<p> Good Morning! </p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
只显示了Good
[解决办法]
<?xml version= "1.0 " encoding= "gb2312 " ?>
<!DOCTYPE xsl:stylesheet
[
<!ENTITY nbsp "  ">
]>
<xsl:stylesheet xmlns:xsl= "http://www.w3.org/TR/WD-xsl ">
<xsl:template match= "/ ">
<html>
<body>
<p> Good Morning! </p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>