using BEFORE operator in XQuery
Replies (1)
Please register to reply
Added by Anonymous about 20 years ago
Legacy ID: #2810974 Legacy Poster: ffn04 (ffn04)
Hi there, was wondering if the XQuery processor in Saxon8.1.1 would accept the BEFORE operator in XQuery... For example, it's used in the Xmark query below: -------- FOR $b IN document("auction.xml")/site/open_auctions/open_auction WHERE $b/bidder/personref[@person="person18829"] BEFORE $b/bidder/personref[@person="person10487"] RETURN <history> $b/reserve/text() </history> -------- If not, is there an equivalent rewrite for BEFORE? Thank you.
Legacy ID: #2811122 Legacy Poster: Michael Kay (mhkay)
This query would appear to be using a very old version of the language. For example, upper case keywords were dropped about 3 years ago. The "before" operator is probably the operator now written as "<<". Michael Kay
Please register to reply