This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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