0
我在尝试做以下html_entity_decode()在XSL不解码任何
<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>
我已经取代'html_entity_decode'
与其他字符串改性剂和按预期工作,甚至编码,但是当我尝试到字符串,我得到解码完全相同的字符串。有什么我失踪?下面是我用来处理XML的呼叫
$XSLTProc = new XSLTProcessor();
$XSLTProc->registerPHPFunctions();
$XSLTProc->importStyleSheet($xslDoc);
欢迎任何帮助!
感谢