Originally posted by Rex Ashworth:
Can XML be utilized to write reports from a website using MySQL or equivalent databases? I am looking for an alternative to Crystal Reports.
XML can be utilized as a part of report generation, but it doesn't cover the whole report generation.
Here's an example scenario:
-
Java code #1 reads the database and writes an XML file representing the contents
- Java code #2 applies an XSL stylesheet to the XML file to transform it into XSL-FO compliant form
- Java code #3 hands the XSL-FO document to an XSL-FO processor, which produces a PDF document
In this scenario, XML has an essential role. However, tools like Crystal Reports work on a higher level of abstraction, such as providing a GUI for describing a report (pulling information from a database and placing it somewhere on a page template)
and "executing" the report to produce the actual PDF document, for example.