Skip to content

XML message generation

George George

Asked May 8, 2008, 1:27 AM EDT2 answers
Share
LinkedInX

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

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.