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.  Use sortby()

    Posted Mon August 26, 2002 01:13 PM

    Hi,

    What are the pre-requisites to use a sortby() clause inside an xQuery expression to work correctly?


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Use sortby()

    Posted Mon August 26, 2002 02:19 PM

    This is what I like to do :

    Data :
    ------


















    What I like is that all documents are returned in descending order of date attribue where the type attribute= ‘4’?


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Use sortby()

    Posted Mon August 26, 2002 02:43 PM

    I’ve found the solution myself :

    /A sortby(B/C[@type=‘4’]/@date desc)

    Thx anyway…


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: Use sortby()

    Posted Mon August 26, 2002 02:44 PM

    Typing error in previous reply, the correct xquery should be like :

    I’ve found the solution myself :

    /A sortby(B/C/DATE[@type=‘4’]/@date desc)

    Thx anyway…


    #webMethods
    #Tamino
    #API-Management