Posted: Fri Jan 19, 2007 3:57 pm
Hmm. I was thinking of some sort of metadata mapper, where this XMLWriter takes the objects, reads out the public variables and stuffs them in XML. Obviously, there'd be problems with circular references. It's still a vague idea. I'm also wondering whether or not it would be appropriate to put XML generation code in the model classes themselves.you're doing essentially hat I had in mind. It's verbose, to be sure.