I have a client application that can either send a text file or an xml file. If it is a text file, I want to convert it into an XML file that I want based on a schema file. If it is an xml file, I want to make sure the xml file conforms to the schema. I believe the best way to approach this task is to create some type of component that's able to take in a text file and xml file and produce a final xml file. I’m writing the application in C# but I’m novice to XML. Any help would be appreciated.