问题描述
该问题已被提出,但在收到答复之前被提问者删除.因为我相信这个问题是合理的、合法的并且是有目的的,所以我再次提出这个问题并提供我已经为原始问题写的答案.
XPath 2.0 和/或 XSLT 2.0 会在某一天在 PHP 中实现还是有任何计划?
Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP some day or are there any plans?
推荐答案
查看这个 XSLT 引擎列表,来自 一个话题在XSL 邮件列表关于 XSLT 2.0 开发.
See this list of XSLT engines, from a thread on an XSL mailing list regarding XSLT 2.0 development.
PHP 的一种解决方案是使用 PHP/Java Bridge 和 Saxon,并按照 教程.
A solution for PHP is to use the PHP/Java Bridge and Saxon, and follow a tutorial.
XSLT 2.0(和 XPath 2.0)的当前开发状态意味着目前没有任何计划,因此 PHP 也不可能有任何计划.要使用 XPath 2.0,您需要包含 Saxon 9.x 并与 Java 库互操作.
The current status of development for XSLT 2.0 (and XPath 2.0) means that there are no plans currently, so there can't be any for PHP either. To use XPath 2.0, you need to include Saxon 9.x and inter-operate with the Java libraries.
即使今天有人为 XPath 2.0 和 XSLT 2.0 编写了一个开源本机库,也需要一段时间才能适合生产.
Even if someone wrote an open source native library for XPath 2.0 and XSLT 2.0 today, it would take time before it would be suitable for production.
这篇关于XPath 2.0 和/或 XSLT 2.0 会在 PHP 中实现吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!