From: Adam R. <ad...@ex...> - 2009-10-21 13:56:38
|
You need - facturiEmiseDeFirmaProg/factura[@soldLei > 0] 2009/10/21 claudius teo <cla...@ya...>: > Hi, > > Does anybody know why the predicate > [facturiEmiseDeFirmaProg/factura/@soldLei > 0] > > selects both factura elements from > <facturiEmiseDeFirmaProg> > <factura id="1409" nr="BGS4000140" data="2009-09-14" contDoc="4111.TIMI" valoareCuTVAlei="1368.5" valoareCuTVAvaluta="0" soldLei="0" soldValuta="0" valuta="LEU"> > <instrumentePlata> > <extrasCont id="1428" nr="81" data="2009-09-15" contDoc="5121.01.TIMI" valoareCuTVAlei="1368.50" valoareCuTVAvaluta="0.00" valuta="LEU"/> > </instrumentePlata> > <sumeScadente> > <suma data="2009-09-21">1368.5</suma> > </sumeScadente> > </factura> > <factura id="1482" nr="BGS4000181" data="2009-09-28" contDoc="4111.TIMI" valoareCuTVAlei="178.5" valoareCuTVAvaluta="0" soldLei="178.5" soldValuta="0" valuta="LEU"> > <instrumentePlata/> > <sumeScadente> > <suma data="2009-10-13">178.5</suma> > </sumeScadente> > </factura> > </facturiEmiseDeFirmaProg> > <facturiPrimiteDeFirmaProg/> > > when I expect to select only the second one? > > Thank you, > Claudius > > > > > ------------------------------------------------------------------------------ > 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 > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |