buck1112
buck1112

Reputation: 502

Find Version of XPath in Simple XML for PHP

I am working in PHP and using SimpleXML and XPath.
Is there a way to find which version of XPath is included with SimpleXML/PHP?

Also, is the version of XPath used with SimpleXML the "full version" with all of the features as a "non-SimpleXML" version (in particular "fn:sort")?

Thanks for input and leads.

Upvotes: 0

Views: 59

Answers (1)

LMC
LMC

Reputation: 12662

As stated in the docs, SimpleXML requires libxml

This extension requires the libxml PHP extension

and according to libxml homepage, XPATH 1.0 is the implemented version

XML Path Language (XPath) 1.0: https://www.w3.org/TR/xpath

Upvotes: 0

Related Questions