I have the following Xpath expression:
//*[not(input)][ends-with(@*, \'Copyright\')]
I expect it to give me all elements - except input - w
//*[not(self::input)][@*[substring(., string-length(.) -8) = 'Copyright']]
May be small correction with string-length(.)
string-length(.)
Now, it may work.