Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?

See this list of XSLT engines, from a thread on an XSL mailing list regarding XSLT 2.0 development.

A solution for PHP is to use the PHP/Java Bridge and Saxon, and follow a tutorial.

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.

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.

Leave a Comment