I am working on a Windows Desktop application that will store a number of documents, there will initially be 4 different types of documents, each as a windows form, each with some common details (document ID, client ID etc), and then different fields based on the document type.
I plan on using XML to specify the fields for each form. So my question is, what is the easiest way to take an XML document and render form fields based on its content? Should I just be parsing the XML and creating form fields, or is there a quicker and easier way?