I want to write something of the sort:
//a[not contains(@id, \'xx\')]
(meaning all the links that there \'id\' attribute doesn\'t contain t
you can use not(expression) function
not(expression)
or
expression != true()