如何在PHP中使用XSLT将XML文件转换为HTML


How do I transform a XML file into HTML using XSLT in PHP?

如何使用xsl文件(item.xsl)将xml文件(item.xml)转换为html并希望将其发送回PHP客户端?

参见:

http://www.php.net/manual/en/class.xsltprocessor.php

http://www.php.net/manual/en/xsltprocessor.transformtoxml.php