I want my program to access an XML file and extract an element and value of an attribute(done). the problem is there are 42 different keys. Each occurrence of the key has a different value everytime although sometimes a key might have the same value more than once. I want my program to allocate the values to the key it belongs and then count the number of occurrences of each value for each key.
Anybody with a snippet of an idea?