Hello All,

I need to grab all unique attribute values in some xml data. Is there a
quick and dirty way to do this? I could push to an array if the value
doesn't already exist, however I did not know if there was a more
efficient way to get these values.
Example:
<data>
<projects name="Project A" />
<projects name="Project B" />
<projects name="Project C" />
<projects name="Project A" />
</data>

Unique values would be: Project A, Project B, Project C

Thanks for any and all replies.

Reply via email to