remove duplicate results from a query

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.
!ELEMENT product(…,distributor)
Supposing that the same distributor offers many products this query
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

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


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.


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


the select tag is available within X-Application 3.1.3.