Mercypoint
Weaksauce
- Joined
- Oct 22, 2005
- Messages
- 74
I'm wondering if there is an easier way then what I am doing right now.
Currently, I have a XSD and a database table. The XSD is pretty nested but the table is very flat. I need to have a way to "map" the fields of the database table so I can easily export the the rows of data into XML.
I have tried xsd.exe to create a strongly-typed dataset but the XSD is too complex that the SDK tool can't handle some of the nesting. So I am forced to write the xml via stringbuilder or xmltextwriter.
There has to be a better way to do this then to recursive through all the records.
any ideas?
Currently, I have a XSD and a database table. The XSD is pretty nested but the table is very flat. I need to have a way to "map" the fields of the database table so I can easily export the the rows of data into XML.
I have tried xsd.exe to create a strongly-typed dataset but the XSD is too complex that the SDK tool can't handle some of the nesting. So I am forced to write the xml via stringbuilder or xmltextwriter.
There has to be a better way to do this then to recursive through all the records.
any ideas?