I have to resolve the following query but I don’t know. First I get an error and second I’m not sure about if it can reply that I want.
In this tree I need to get all the xml file except the branch that not make good the condition ‘Where’.
This is the tree:
This is my query but it doesn’t work and I don’t know what I have to change.
declare namespace rp210Elements=“urn:SMPTE:Dictionary”
for $a in input()/DVD
let $b := $a/Production/rp210Elements:FrameworkTitle and $c := $a/Production/rp210Elements:FrameworkTitle
where contains(string($b), “Nijinski”) and contains(string($c), “Nijinski”)
I need to show the information of DVD and only the branches that make good the condition of contain the word Nijinski.
If someone could help me or give me any idea about how to do it I will be very grateful. I enclose also the xml file.
Thanks a lot for your attention.