Thansk for answering...
I have tried the following with my attributes, but get an error in VS, "Error 1 The name 'XDocument' does not exist in the current context" :
Any Ideas?
The following was just written from memory and not tested. There might be some syntax errors in it, but it should give you a ...