I am creating a large number of XML documents from a set of values in an Excel file. The only thing that changes for each XML document is the values. I decided that the best way to generate these documents is to make an "XML skeleton" (since the XML format never changes) and then include characters like "&% blahNameblahTest", so I could just re-create a Regex.Replace on each value .
I will transfer this project to another developer, and I am wondering if I should convert the project to generate the XML file manually each time through the System.XML namespace.
The only benefits that I see in this is to ensure that the XML document is correct.
The current method will be more readable than this method, and faster since I create about 1,500 documents.
source
share