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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.