问题 I would like how to use the "not" in XPath properly. I just can't seem to get it to work with attributes. Say I have this expression: //*[@name = 'Bob'] It is valid, and will return all nodes that have a name attribute equaling 'Bob'. Now if I want all nodes that have a name attribute that do not equal 'Bob', I need to use an XPath such as: //*[@name not(='Bob')] but this is invalid. I have tried multiple combinations with not() being placed in a different order, but I can't seem to get this