Does anyone have a better way to work with XML and Word forms. I have multiple Corporate forms that I will be populating including checkboxes. Here's my method, if you have a better/easier way, please share:
1. I save the Word form as XML
2. I change the extension to XSL
3. I wrap it with a DataSet tag and mark the locations within the xsl where the fields will go
4. In the C# code I use the XML classes and export the XML to Word specifying to use the XSL
This all works but is excruiatingly tedious. If it were straight text, no problem. But there are conditions on multiple checkboxes in the form that depend on the value passed from the dataset which means for each checkbox I have to do something similar to an if/else statement. Not trying to be lazy but if there's a better way, I'll take it.
Thanks in advance for any advice you experts can give.