Strange error message for XPath 2.0
Posted: Fri Dec 16, 2005 2:45 pm
Hi,
I just used the following expression to find all elements whose textual content starts with "LV_EVAL".
This works for XPath 1.0. With XPath 2.0 I get the message:
Regards,
Oliver
I just used the following expression to find all elements whose textual content starts with "LV_EVAL".
Code: Select all
//*[starts-with(text(),"LV_EVAL")]
I did not look up XPath 2.0 syntax, but just guessed the above expression. Is what I experience correct behaviour?A sequence of more than one item is not allowed as the first argument of starts-with()
Regards,
Oliver