how to iterate a selected node

Hi all. i ran into some trouble working with iteration in x-application.
I have a car element which has a list of dealer elements in different cities. When i search for a type of car… say Sedan, i get a result set containing all possible sedans along with some information. I then use the
<bdm:display select="$POS"/>
tag to link each car and show a further description of it. Now I want to be able to see all the dealers only for that car using a dropdown menu. I tried the bdm:loop tag and the bdm:form tag> and had the same value for targetbase and base respectively, but somehow it gives me the list of all the dealers which it returned in the starting search. Can anyone tell me how i can rectify it?
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

Hello Parth,

are the car vendors within the same document as the cars? If not, you have to create a query which filters the car vendors by the selected car.

Perhaps, the hint I gave your colleague Sumier helps you to solve the problem. Have a look at the topic

Instance Demo