Need to select distinct node values

webmasterbeta

New Member
Is there a way to retreive distinct node values from an XML document? Forexample, if i have the following xml document, how could i return each coloronly once - red, white, blue?<xml><color>red</color><color>white</color><color>blue</blue><color>blue</blue><color>red</color><color>red</color><color>blue</blue><color>blue</blue><color>blue</color><color>white</color><color>blue</blue><color>blue</blue>
 
Back
Top