I've been using xmllint and just came across that it seems to be using the xpath 1.0 specification and I'm using a function that requires at least an xpath 2.0 implementation. There's xpath in my shell as well which I believe is a Perl implementation but it has no command line option for any version information.
Is there some standard way to find out what version of the xpath specifications an xpath implementation is written around?
This is for a bash shell script I am writing.