So you want to return the whole xml document in the row, if it contains the string anywhere in it, be it an element name, element value, element attribute etc?
If you can provide some samples of your xml, the table DDL, and the expected output, might be able to have a look at it in more detail.