Quick and dirty solution could be to use regular expressions.
Yours could look like this (pseudocode):
Qt Code:
  1. <client>/*whatever*/<name>/*maybe whitespaces*/ClientToDelete/*maybe whitespaces*/</name>/*whatever*/</client>
To copy to clipboard, switch view to plain text mode 
Don't forget to set it for minimal match, it'll eat up all your xml otherwise (if it founds ClientToDelete).