This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
>I am trying with Saxon but I do not find any good examples... I can give you a complete working demo with null xml document. It tests xpath 2.0 specific suppoted function. I would expect you say "good". It still takes effort to do test or anything at all for that matter.
 Add saxon9j.jar and saxon9.jar and saxon9-xpath.jar. (Or some other version, if applicable.)
 Only one specific saxon related import statement you need to add (among other according to need.)
(Not even need if you tolerate writing out the full package.)
 This is the method to be called upon in the test program.
Joined: Jul 01, 2011
I tried to execute an XPath 2.0 Expression and it works.
What I have done is simply (I found this code on another website):
Your way and mine are similar, by the way.
I tried with your implementation and my application works fine too, thanks.