Generating reports in the windows graphic environment is a pain to put it lightly. In the last few projects customers want more. I have been bypassing the problem by generating the report as html which has a heap of possibilities and solves so many problems. But in a brain storm session the other day we came up with a new idea. Basically all reports should be generated in form that came be used to output the report in any form required.
Now, my idea is to generate all reports in an XML structure and have an xml file that describes how the xml structure would format for output. Then the XML can be converted to HTML or Word, Excel,etc. So the html format file would describe how to format the file for output as tabular html file. Another would be for outputing the file as a html invoice or a word invoice or excel spreadsheet.
With the OpenXml specification going to be adopted by OpenOffice and Microsoft Office this is even more possible.
I would like to hear what other people think.
Now, my idea is to generate all reports in an XML structure and have an xml file that describes how the xml structure would format for output. Then the XML can be converted to HTML or Word, Excel,etc. So the html format file would describe how to format the file for output as tabular html file. Another would be for outputing the file as a html invoice or a word invoice or excel spreadsheet.
With the OpenXml specification going to be adopted by OpenOffice and Microsoft Office this is even more possible.
I would like to hear what other people think.
Comment