2
Reply

XML message generation

George George

George George

May 8 2008 5:27 AM
2.1k

Hello everyone,


I need to generate some XML message, but the message can not be reflected from members or properties of class instance directly.

Currently, I am using StringBuilder to append strings into XML message manually (e.g. to generate the element's hierarchies and add attributes to element), I think this method is stupid.

Any better approaches recommended?


thanks in advance,
George


Answers (2)