XML

Blitz3D Forums/Blitz3D Beginners Area/XML

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i bit off topic, but its required for the XML project.. how do i see if another type already exists? like for example,

theres about 1000 nodes, each one is a different type of 'car' so i made a 'CarType' storage on the car nodes..

that way i can later call all the data with that 'CarType' on it.

i'm storing my xml data in types.

i have a dropdown menu that i add all these CarTypes to, so that a user can pick what catagory displayed in the other dropdown.

so to add these i do this:

for allcars.car = each car
WB3D_AddGadgetItem(carscatagory,allcars\division$,0,0)
next


this works good but because theres more then 1 care with that division, it adds a bunch of useless duplicates i need to see like this:

for allcars.car = each car
if this isnt already in the dropdown then

WB3D_AddGadgetItem(shipcatagory,allships\division$,0,0)
next


How do i do this?