XSLReportProcessor class

The XSLReportProcessor class enables you to create a document or report by transforming and formatting your XML source data using an XSL stylesheet. Use this class to create the report by using an XSL stylesheet that contains XSL formatting objects (FOs), which must conform to the XSL specification. You then use a Context class to convert the report data to a specified output data stream format.

The XSLReportProcessor class allows you to:

Examples

The following examples show how you can use the XSLReportProcessor and the PCLContext classes to generate a report. The examples include the Java™, XML, and XSL code, which you can view by using the following links. You can also download a zip file that contains the example XML, XSL, and JSP source files for both the XSLReportProcessor and JSPReportProcessor examples:

For more information about XML and XSL, see the XML topic in the Information Center.