Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XQuery : Some .... in .... satisfies >Thread Next - Re: XQuery : Some .... in .... satisfies Re: XQuery : Some .... in .... satisfiesTo: NULL Date: 9/10/2006 6:23:00 PM Hi, "Some..in..satisfies" _is_ standard XQuery and has been for a long time; I'm not sure why Tamino wouldn't support it. But anyway, how about something like (untested): let $auction := doc("auction.xml") return for $b in $auction/site/open_auctions/open_auction where (for $pr1 in $b/bidder/personref[@person = "person20"] return $b/bidder/personref[@person = "person51"][. >> $pr1]) return <history>{$b/reserve/text()}</history> Hope that helps, Priscilla --------------------------------------------- Priscilla Walmsley Author, XQuery (Coming in 2006 from O'Reilly) http://www.datypic.com http://www.xqueryfunctions.com --------------------------------------------- *** Sent via Developersdex http://www.developersdex.com *** | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
