List of node values, only once for multiples
OK, Subject is odd, but I didn't know how to be descriptive of my problem in the allocated space.
First, I'm using Saxon8B.
What I want to do is create an index of values for a specific node type.
So I have an XML document that has many <ItemName> nodes. Almost all of them have repeated values. I may have 20 with the value of 'Car', 30 with a value of 'Radio', 10 with a value of 'Pencil'.. you get the idea.
I want to create a result set that has each of these names, but only once. Basically a list of unique items. So:
Car
Radio
Pencil
not
Car
Car
Car
..
Car
Radio
Radio
..
Radio
Pencil
Pencil
..
Pencil
Any Ideas?
------------------------
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
__________________
------------------------
Keep Moving Forward
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
|