using BEFORE operator in XQuery

Help
ffn04
2004-10-18
2012-10-08
  • ffn04

    ffn04 - 2004-10-18

    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.

     
    • Michael Kay

      Michael Kay - 2004-10-18

      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

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks