|
Count appearances of a value in a structurehi there Is it possible to detect how many times a value is repeated within a structure? ie. i've got a xml-file with a "date" key and want to create several individual representations grouped for each day. Or divide a structure in several substructures, when a key value changes? thanks for any advice
|
I've got a solution with javascript, but i bet you guys know better.
Some information about the project: I try to load a xml-file with all my sms-messages and arrange them as an interactive infographic. Now my composition sorts the structure by the phone number and then the following javascript regroups the messages with an additional node called "chat":