DEVELOPER'S ZONE
BOOKMARK & SHARE Bookmark and Share
RSS RenderX RSS
SHOP
LIVE HELP
RenderX logo  
Live Help

Download Now!

XEP 4
RenderX offers all our software on a trial basis so that our prospects can easily see why thousands of customers have selected XEP to meet their needs.

Why not download a trial version today and see for yourself!

XEP Servlet Connector version 2.0

Angelina Andriasyan


Overview

XEP Servlet Connector is a web application built around RenderX XEP XSL FO (XSLFO) formatter. It transforms XML documents into PDF or PostScript.

Prerequisites

Before installing XEP Servlet Connector, the following components must be installed:

 

Package Contents

com/

the source code;

web/

configuration files and sample HTML form;

build.xml

Ant build file for the servlet.

Compilation

Before compiling, define the following Ant properties:

xep.dir

XEP installation path;

servlet.interface.jar

path to the jar file providing the servlet interface;

build.dir (optional)

folder to put compiled classes and war.

Run Ant to build the servlet archive.

Usage

XEP Servlet Container supports the following parameters:

XEPServlet?
				(xml=<source>&xsl=<stylesheet>|fo=<source>)
				[&format=(pdf|PostScript)]
				{&(|xsl_|pdf_|ps_)<name>=<value>}
xml, xsl

Source XML and transformartion stylesheet.

fo

XSL FO (XSLFO) document.

format

The output format — PDF and PostScript are supported, the default format is PDF.

<name>=<value>

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.