XPath 2.0和/或XSLT 2.0是否将在PHP中实现? [英] Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?

查看:70
本文介绍了XPath 2.0和/或XSLT 2.0是否将在PHP中实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题被提问者问到,但在收到答案之前已被删除.因为我认为该问题是合理且合理的并且有目的,所以我再次提出该问题,并提供我已经为原始问题写的答案.

是否有一天会在PHP中实现XPath 2.0和/或XSLT 2.0,或者有任何计划吗?

Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP some day or are there any plans?

推荐答案

请参见 XSLT引擎的列表,来自

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中实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆