We are converting our database from Oracle to Postgres. In Oracle, we were using fn:contains in the xmlexists() function with a query like this:
fn:contains
xmlexists()