.NET Code to XML??
1 posts in topic
Flat View  Flat View

Posted By:   Steve_J
Posted On:   Thursday, June 1, 2006 04:11 PM

I have a task at hand to convert a large chuck of C# code that is midly complex into (if possible) a already existant XML file. Can anyone provide me some guidance on this? It is about 500 lines of code. The guts of the code is a large swtich statement.


Re: .NET Code to XML??

Posted By:   Robert_Lybarger  
Posted On:   Friday, June 2, 2006 07:34 AM

I don't think you understand what you are asking (or trying to ask, anyway). XML is just a mechanism to store data (plain text) into a file... you get to decide what the structure of that file looks like (or you use a defined DTD or schema where someone else decided what the structure looks like for a given purpose). There's nothing specific to programming code that is related to XML aside from them both being readable text. That said, and I thought I've already answered this, if there is a particular DTD or schema you need to use to format the data against, let us know what it is and someone may can help. Otherwise, you question is fairly meaningless.
About | Sitemap | Contact