From: Ron V. d. B. <ron...@ka...> - 2010-10-25 13:59:53
|
Hi again, On 25/10/2010 15:53, Ron Van den Branden wrote: > > let $a := collection('/db/mondial')//name > (: this expression returns nothing at all :) > return $a[match-any(., 'a.*')] > Sorry, for clarity's sake, I should have noted that the one-liner version: collection('/db/mondial')//name[match-any(., 'a.*')] returns 191 nodes, so that's what I'd expect from above xquery, too. Ron |