From: <Pie...@re...> - 2007-08-02 12:47:16
|
Hi, >Hi Pierrick, Hi could have been Wolgang... or anybody else on this mailing-list ;-) >the XQuery I've posted are exstrat from exist.log, in effect, >the queries I submit to eXist interface are in the form: > >//Book[( (T_200/T_200_f &= 'licia' or T_200/T_200_g &= 'licia' or >T_700/T_700_a &= 'licia' or T_700/T_700_b &= 'licia' or T_701/T_701_a >&= 'licia' or T_701/T_701_b &= 'licia' ))] Still too many parentheses... >What do you mean : >>I'd rather make the lookup on an anonymous node (ndr. ??) then I >would refine the test to the nodes having the desired path. Or the >contrary >>(ndr. the contrary is not what I'm actually doing ??) > >Can you post an example ? //Book[T_200/T_200_f | T_200/T_200_g | T_700/T_700_a | T_700/T_700_b | T_701/T_701_a | T_701/T_701_b[. &= 'licia']] is probably the kind of construct I would use if the path is more restrictive than the node value... [snip again] Cheers, p.b. |