Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?(XPath 2.0 和/或 XSLT 2.0 会在 PHP 中实现吗?)
问题描述
该问题已被提出,但在收到答复之前被提问者删除.因为我相信这个问题是合理的、合法的并且是有目的的,所以我再次提出这个问题并提供我已经为原始问题写的答案.
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 中实现吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:XPath 2.0 和/或 XSLT 2.0 会在 PHP 中实现吗?


基础教程推荐
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- PHP 守护进程/worker 环境 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01