George George

George George

  • NA
  • 778
  • 0

XML message generation

May 8 2008 5:27 AM

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)