As in many cases, this kind of approach is adverse to the possibility of nested tags of the same name Payload - that I don't think have to worry in this case?
Joined: Jan 18, 2011
If you want to inject a bit more generality xml document should entitle to, this would preserve the possible attributes attached to Playload realistic or not, and more importantly, match them as well to begin with.
Joined: Mar 25, 2011
thanks for your quick reply.
but when i run my code with your solution like this