Hey, thanks for your quick Respons
I tried your solution and I need to mention, that I forgot to explain, that the <text>-tag also contains attributes. With your solution, I only get the attributes of the text-tags and not of the metadata-tags.
Regards,
Sandorado