Home | Business News | Browse by Publication | X | XML Journal

Generate PDF files with XML, XSL-FO, and FOP: a step-by-step guide for the programmer. (Tutorial).

Publication: XML Journal
Publication Date: 01-SEP-02
Format: Online - approximately 1259 words
Delivery: Immediate Online Access
Full Article Title: Generate PDF files with XML, XSL-FO, and FOP: a step-by-step guide for the programmer. (Tutorial).(Technology Tutorial)

Article Excerpt
This article will give you enough information to use the major features of XSL Formatting Objects (XSL-FO) in conjunction with Apache's FOP API for rendering documents in Adobe's Portable Document Format (PDF).

The W3C's specification for Extensible Stylesheet Language comes in two parts:

* XSLT: A language for transforming XML documents

* XSL-FO: An XML vocabulary for specifying formatting semantics

FOP (Formatting Objects Processor), which is part of Apache's XML project, is the world's first print formatter driven by XSL formatting objects. It's a Java application that reads an XSL-FO file and renders the output in PDF format. Other formats supported are XML, SVG, PS, PCL, Print, AWT, MIF, and TXT. To dig deeper, you may want to visit http://xml.apache. org/fop.

This tutorial uses Sun's JAXP API for XSLT transformation and Apache's FOP API for rendering PDF output. We'll use a Journal Subscription form that allows the user to enter details like name, payment mode, and bank details to subscribe to a journal. The form is a simple JSP page. Once the form is submitted, the request is...

View this article FREE - Now for a Limited Time, try Goliath Business News
Free for 3 Days!



More articles from XML Journal
Integration platform for Barcelona Port logistics. (XML News).(Mercato..., September 01, 2002
Nimble Integration Suite 2.0 available. (XML News).(from Nimble Techno..., September 01, 2002
XML Schema best practices: better practices, perhaps? (, September 01, 2002
Contracts release 3.0 new from diCarta. (XML News).(Enterprise Contrac..., September 01, 2002
Skywire Software upgrades Object Manager. (XML News).(Object Manager 3..., September 01, 2002

Looking for additional articles?
Search our database of over 3 million articles.

Looking for more in-depth information on this industry?
Search our complete database of Industry & Market reports by text, subject, publication name or publication date.

About Goliath
Whether you're looking for sales prospects, competitive information, company analysis or best practices in managing your organization, Goliath can help you meet your business needs.

Our extensive business information databases empower business professionals with both the breadth and depth of credible, authoritative information they need to support their business goals. Whether it be strategic planning, sales prospecting, company research or defining management best practices - Goliath is your leading source for accurate information.