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.  Very basic sorting

    Posted Fri November 30, 2001 04:30 PM

    Hi,

    Sorry if this question is too basic, I’m just starting with Tamino and XML here.

    I’m trying to get used to X-Query using Tamino Interactive Interface and all I need to know for now is how to return my records sorted by ‘Name’ using sortby function. Hope you can help.

    Here’s my data.



    John
    Doe




    Sarah
    Doe


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Very basic sorting

    Posted Fri November 30, 2001 05:03 PM

    two things here:

    1) define a schema that has the attribute “Name” that is the child of “Company” to be defined with an ‘standard’ index, map-type ‘InfoField’ and Data-type ‘VARWCHAR’. This will enable this attribute to be searched on and sorted.

    2) Use the query : ‘Company sortby(@Name)’

    Hope this helps.


    #Tamino
    #webMethods
    #API-Management