How do you use "not" in xpath

Posted by Guy on Stack Overflow See other posts from Stack Overflow or by Guy
Published on 2009-10-11T15:40:37Z Indexed on 2010/03/25 15:33 UTC
Read the original article Hit count: 394

Filed under:
|

I want to write something of the sort:

//a[not contains(@id, 'xx')]

(meaning all the links that there 'id' attribute doesn't contain the string 'xx')

I can't find the right syntax.

Thanks

© Stack Overflow or respective owner

Related posts about xpath

Related posts about Xml