This content has been marked as final. Show 3 replies
I usually use XMLListCollection's for my XML data. Often I need to chain together filter functions and in fact I use filter functions to also make the collection of unique values.
So here I cut and pasted to make you a small example of using a filter function to create a unique "employee's list."
The simple employee.xml db has individuals in multiple departments. After filtering, the example displays a list of "unique company employees." Simple enough... hope this helps.
Thanks, greg, I will check it out. Filter Functions and Sorts are two things I've been wrangling with lately.
U R Welcome.
But, ...ah, I noticed a slight typo.
uniquesString is initialized as '|' NOT ''.
This is to insure "whole-field" searches like "|search_string|" ...sorry.