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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

remove duplicate results from a query

  • 1.  remove duplicate results from a query

    Posted Tue May 14, 2002 11:28 AM

    X-Application Version: 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : NT, Win2k, Solaris, …
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1

    I was wondering if Tamino+tag library gives me the chanche to make a query and to remove all the duplicate results.
    i.e.
    !ELEMENT product(…,distributor)
    Supposing that the same distributor offers many products this query
    /product/distributor
    has lots of repetitions so if what if I wanted the list of different distributor?
    Should I check the repetitions by writing some code? I have not found any documentation which lets me think there’s a built in function…
    Let me know please
    Paolo

    [This message was edited by Christian Freytag on 26 Jul 2002 at 09:07.]


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: remove duplicate results from a query

    Posted Wed May 15, 2002 01:24 PM

    Hello,

    the select tag of X-Application could be the solution for your problem. It has an attribute (flag) to get a distinct list of entries. The prerequisite is that you display the list of your product distributors as a HTML select box.

    The select tag replaces the ol fillselect tag of X-Application. It was developed by Thorsten Raab. Download his contribution:

    New Tags: select & count

    After installing the contribution have a look at the simple examples of the select tag.

    Bye,
    Christian.

    [This message was edited by Christian Freytag on 15 May 2002 at 13:07.]


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: remove duplicate results from a query

    Posted Fri July 26, 2002 01:15 PM

    Hello,

    the select tag is available within X-Application 3.1.3.

    Bye,
    Christian.


    #Tamino
    #API-Management
    #webMethods