I have a library of Microsoft Word files. The structure is fairly simple (the text is broken into sections with a subject heading, subheadings, body, etc.). I need a script written that can accept these files as input and return a properly formatted XML file based on a DTD that I will provide. The language this script is written in is not particularly important. However, please respond with some detail as to how you intend to solve the problem.