Use an XML document to define and configure reports. A report should be configurable by parsing and executing an xml configuration.