I'm writting a data export module for an old CMS, so I can transfer the web site data properly into the new CMS. Because that CSM didn't store documents in a proper XML format, I have to write a procedure to fix them. Simple concept really, read documents using the existing model, and just recreate the XML. Except for one tiny detail. The document model used in that CMS is *the* most confusing piece of anything I have ever designed. Between the many many attributes of each element, the recursive nature of the model, and the fact that that thing is still in classic ASP, written with simple concepts, even the visual presentation of the model and data has been dubbed "instant headache". And for a good reason too, as that has been proven accurate every single time.
Any way, the code should be relatively simple and easy to write, it's finding out what to do with what that's going to be "fun". |