Solved
how to evaluate regex in xpath evaluator in eclipse helios
Posted on 2011-03-23
Hi,
I'm using the xpath expression evaluator in eclipse, the helios EE package.
What I need to do is to cfreate various xpath expressions and verify they work against a given xml file. The evaluator has been working fine for simple expressions, but now I am trying to use the matches() function to do pattern matching. I get a function not found error.
I tried prefixing with fn: so i get fn:matches(node,'pattern') ... which fixes the function not found error , but does nothing as far as I can tell.
I *THINK* this is an XPATH 2.0 processor, but am wondering whether that is true.
Any clues to find a solution to pattern matching using eclipse?
A different software application (Oxygen? Altova?)
How can I determine for sure what XPATH version the evaluator is supporting ?
(is there some version() type of expression?)
thx