The question was asked but deleted by the asker before it received an answer. Because I believe the question is sound and legitimate and serves a purpose, I'm asking it again and provide the answer I already wrote for the original question.
XPath 2.0 和/或 XSLT 2.0 有一天会在 PHP 中实现吗?或者有什么计划吗?
请参阅此列表XSLT 引擎 http://expath.org/wiki/Engines, from a thread http://markmail.org/search/?q=Definite+list+of+XSLT+2.0+processors%3F#query:Definite%20list%20of%20XSLT%202.0%20processors%3F%20from%3A%22Michael%20Kay%22+page:1+mid:pzdd5iv7o22jyw7l+state:results on an XSL 邮件列表 http://www.mulberrytech.com/xsl/xsl-list/关于 XSLT 2.0 开发。
PHP 的一个解决方案是使用PHP/Java 桥 http://php-java-bridge.sourceforge.net/pjb/ and Saxon http://saxon.sourceforge.net/,并遵循tutorial http://sourceforge.net/apps/mediawiki/saxon/index.php?title=Saxon-from-PHP.
XSLT 2.0(和 XPath 2.0)的当前开发状态意味着目前还没有任何计划,因此 PHP 也没有任何计划。要使用 XPath 2.0,您需要包含 Saxon 9.x 并与 Java 库进行互操作。
即使今天有人为 XPath 2.0 和 XSLT 2.0 编写了一个开源本机库,它也需要一段时间才能适合生产。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)