Php xsl中的html_entity_decode()不解码任何内容
我正在尝试做以下工作Php xsl中的html_entity_decode()不解码任何内容,php,xml,xslt,Php,Xml,Xslt,我正在尝试做以下工作 <div class="floatLeft"> <xsl:attribute name="class" >mainQuestionTextNoteBellowAsterisk floatLeft</xsl:attribute> <xsl:copy-of select="php:functionString( 'html_e
<div class="floatLeft">
<xsl:attribute name="class"
>mainQuestionTextNoteBellowAsterisk floatLeft</xsl:attribute>
<xsl:copy-of
select="php:functionString(
'html_entity_decode',
questionbody/child::node()
)"/>
<xsl:text> </xsl:text>
</div>
欢迎任何帮助
感谢我无法解决这个确切的问题,不管我是如何在处理之前解码xml文件的
$XSLTProc = new XSLTProcessor();
$XSLTProc->registerPHPFunctions();
$XSLTProc->importStyleSheet($xslDoc);