6

Are there any XML libraries that support XPath 2.0?

I'm specifically looking for an open-source, portable, C-compatible implementation, but for the sake of this question, I'd also like to know about any others. So far, I've only heard of the Java/.NET library SAXON.

EDIT: Libraries that only support XPath 1.0 (according to their websites):

kjhughes
  • 106,133
  • 27
  • 181
  • 240
flacs
  • 3,913
  • 4
  • 19
  • 20

3 Answers3

2

XPath 2.0 is a subset of XQuery 1.0 so for example http://www.zorba.io/home or http://xqilla.sourceforge.net/HomePage should do.

Martin Honnen
  • 160,499
  • 6
  • 90
  • 110
1

I wrote one for Pascal. It also supports XQuery and JSONiq.

BeniBela
  • 16,412
  • 4
  • 45
  • 52
1

Michael Kay is working on an c/c++ version of xslt 2.0 / xpath 2.0.

http://www.saxonica.com/saxon-c/index.xml
https://saxonica.plan.io/projects/saxon-c

Joep
  • 4,003
  • 3
  • 28
  • 32