I am trying to get all titles that contain a certain word from my database in XQuery in SQL I would use WHERE title LIKE '%England%'
- I am wondering how to do this in XQuery?
My XQuery query looks like this:
(:Selects document:)
for $x in doc ("tmdb_5000_movies(1).xml")/movies/movie
(: :)
where $x/title (:NOT SURE WHAT TO PUT HERE:)
(:0:)
return $x/ *