Possible Duplicate:
Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?
I think I'm using xpath 1.0 because I don't have the lower-case()
function. My PHP version is 5.3.8. How do I update xpath to the 2.0 version?
Possible Duplicate:
Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?
I think I'm using xpath 1.0 because I don't have the lower-case()
function. My PHP version is 5.3.8. How do I update xpath to the 2.0 version?
Unfortunately no-one has upgraded the PHP XPath library to version 2.0. If you have lots of spare time or money, you would to do the community a great service by undertaking this work. If you haven't got lots of spare time or money, then hopefully you will understand why no-one else has taken it on. Sadly, this is the downside to free software; there's often no investment going into it.
UPDATE 2022-11-25
SaxonC now provides XPath 3.1 functionality with C, C++, PHP, and Python APIs. Disclaimer: this is my company's product.