From: Vyacheslav S. <vya...@gm...> - 2009-10-14 16:27:51
|
declare variable $val := 'val'; for $i in (1 to 3) let $a := <el att="val"/> return $a[@att eq $val] this work as expected too probably optimizer declare variable $val := 'val'; let $a := <el att="{$val}"/> for $i in (1 to 3) return $a[@att eq $val] - not work too On Wed, Oct 14, 2009 at 8:20 PM, <Gen...@mi...> wrote: > Shouldn't this: > > declare variable $val := 'val'; > let $a := <el att="val"/> > for $i in (1 to 3) > return $a[@att eq $val] > > be this: > > declare variable $val := 'val'; > let $a := <el att="{$val}"/> > for $i in (1 to 3) > return $a[@att eq $val] > > > Gene Thomas > Sr. Data Engineer > Chair, Technical Architectur Review Committee > Mitchell 1 858-391-5000 x6177 > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |