Just a suggestion: If you don't want to use attributes manually, you could always simplify things and make a class however you want it and just serialize it. You wouldn't have as much control over the resulting XML, but your code would be much simpler.
Here are the docs on XmlSerialization: http://support.microsoft.com/kb/815813
Wasabi Fan
No comments:
Post a Comment