I need a way to implement the function matches() from XPath 2.0 with functions from XPath 1.0
Posted
by Jenny Smith
on Stack Overflow
See other posts from Stack Overflow
or by Jenny Smith
Published on 2010-06-17T13:14:06Z
Indexed on
2010/06/17
18:13 UTC
Read the original article
Hit count: 158
I have the following piece of code:
root="//valueExpression[matches(self::*,'pattern')]/.."
But I can only use XPath 1.0 and I get an exception for the function matches(). Can you please help me with a solution using only functions from XPath 1.0 ?
© Stack Overflow or respective owner