Table of Contents
XEP Servlet Connector is a web application built around RenderX XEP XSL FO formatter. It transforms XML documents into PDF or PostScript.
Before installing XEP Servlet Connector, the following components must be installed:
XEP 3.7 or higher;
Sun JDK 1.2.2 or higher;
Ant 1.5 or higher;
Servlet container compatible with Servlet 2.2 API (http://java.sun.com/products/servlet/download.html); we tested the connector with Jakarta Tomcat 5.x.
the source code;
configuration files and sample HTML form;
Ant build file for the servlet.
Before compiling, define the following Ant properties:
XEP installation path;
path to the jar file providing the servlet interface;
folder to put compiled classes and war.
Run Ant to build the servlet archive.
XEP Servlet Container supports the following parameters:
XEPServlet? (xml=<source>&xsl=<stylesheet>|fo=<source>) [&format=(pdf|PostScript)] {&(|xsl_|pdf_|ps_)<name>=<value>} |
Source XML and transformartion stylesheet.
XSL FO document.
The output format – PDF and PostScript are supported, the default format is PDF.
Options for XEP (no prefix), PDF generator (prefixed with pdf_), PostScript generator (prefixed with ps_) and XSL transformation parameters (prefixed with xsl_). Valid options are described in RenderX XEP documentation.