A real XQuery-beginner question, but I can't seem to get around my issue.
I have an XML database videos.xml, in which actors and movies are stored as nodes (I think?)
The actors all have separate IDs, but they're not stored as attributes but as something else (Is there perhaps some built-in attribute for IDs?). The movies all have one or several actorRef attributes referencing actor-IDs.
What I want to query for now is all the movies that are referencing a certain actor-id. Let's say Keanu Reeves has ID "001", then we'd want to find all movies that are referencing this ID -> e.g. Matrix and The Devil's Advocate. Is there some built-in function for this?