xquery context

Hi group,
I am trying to execute two Xquery who should give a result but the second one give me a
<ino:message ino:returnvalue=“0”>
ino:messagelineXQuery Request processed</ino:messageline>
</ino:message>
The only difference between both is the context and the filter.
I let you see :
the first one :
input()/generic-show/schedule/entry[
…/…/people/person/@iid = ‘adamferrara2004host’]
the second one :
input()/generic-show/schedule/entry/people[
…/…/…/people/person/@iid = ‘adamferrara2004host’]

The both should give a result dependly the context. I don’t understand why the second one doesn’t work.

Thank you

Hi,

a definitive answer can be given only when the data are looked at. But my guess is:
there is no child element “people” below “entry” in the data

Regards

Harald