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.
xml and xsl
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US