IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Sorting

    Posted Wed October 17, 2001 03:15 PM

    Hello,

    I try to sort a query result (see the query below). I want to sort by two fields. When I let them sort separatly, they are correct. But when I combine the two fields QuiP sorts everything DESCENDING in stead of sorting the first field ASCENDING and the second DESCENDING.
    Is my interpretation of the XQuery wrong or is it a problem with QuiP ?

    The query:
    FOR $o IN document(“offices.xml”)//dataroot//OFFICES
    RETURN

    {$o/CITY}
    {$o/REGION}
    {$o/SALES/text()-$o/TARGET/text()}

    SORTBY(REGION ASCENDING, diff DESCENDING)


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Sorting

    Posted Tue October 23, 2001 09:44 AM

    Sorry, I did noit find time to respond earlier. Well, it looks more like a bug in Quip. I will check
    and keep you informed.
    Sven Eric


    #webMethods
    #Tamino
    #API-Management