I would use a typed dataset (which is XSD based), load the flat files, and then use the XML generation methods of the dataset. There are methods for writing the XML to a file, a stream, etc.
Erick -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep Tapadiya Sent: Wednesday, August 10, 2005 5:18 AM To: [email protected] Subject: [ADVANCED-DOTNET] Relational data to XML using XSD .NETters, I need to read some flat files and generate corresponding XML documents based on the specified XSD schema. I am wondering if I can leverage any .NET classes. Any pointers will be appreciated. It appears .NET 2.0 has added some support for such thing. However, my code needs to work with .NET 1.1. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlne t/html/xmlgen.asp Thank you in advance for your help. Pradeep =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
