@ Jasonrichardsmith: I have to admit that what I am searching for, is a bit more complicated than my first post in this thread. I work a lot with xml and try to understand how php works with xml. Every time I import attributes and want to do something with them (sort them, select them, etcetera), I get those multidimensional arrays which I don't know how to use...
The problem looked very much like the example I gave in my first post here. Indeed, I took that example from the Wrox introduction on php, but I have to say... the first time I saw that example, I wondered already what somebody needed to do when he/she would like to use this array in a way it was not designed for...
I can put my whole project here, but... I rather like to put it simple and then try it further on my own.
Silkfire: thanks a lot! It works. That was the code I was looking for.