Categorize xml data with xslt?

Hello,

i want to format xlm data to categorize / group by an xml value.

First of all, this value comes from a multi-value field. How would it make sense to convert this into xml data, so i can get back individual keys?

I then i’d have keys, how could i group them similar to a categorized notes view? I think this should be done with xslt?

Of course it would be easy to do this with a view. But my aim is to treat the whole database content as xml-data.

Can someone help me with a hint?

Best regards

G.