Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does libxml2 support XPath 2.0 or not?

I've tried to use the XPath 2.0 exp //span/string(.) in libxml2, but it doesn't work.
So, my question is: does libxml2 support XPath 2.0 or not?

like image 304
Sefran Avatar asked Jul 05 '11 18:07

Sefran


2 Answers

According to this 2007 email from the maintainer of libxml2, libxml2 does not, and will not, support XPath 2.0.

like image 120
Kevin Stephens Avatar answered Nov 07 '22 13:11

Kevin Stephens


As far as I know -- not. The prevailing majority of XPath 2.0 implementations are part of XSLT 2.0 processors or XQuery processors.

like image 32
Dimitre Novatchev Avatar answered Nov 07 '22 11:11

Dimitre Novatchev