Leonard Rosenthol on Thu, 8 Nov 2001 14:20:20 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Developing in Post Script ... back in October


At 10:37 PM 11/7/2001 +0800, John Voris wrote:
Back around Oct 12th, there was discussion with L. Rosenthol about
developing in Postscript.

Could be ;).


At the Philly JUG Weds night, Chad Darby spoke on creating .PDF files
on the fly from a Java Servlet using XSL-FO (XML Style Language -
Formatting Object)

I'm assuming he was showing off FOP (http://xml.apache.org/fop), yes? It's an excellent tool, though there are others including RenderX (http://www.renderx.com).



 -- This method in Java can also create Postscript
documents.  (Pretty cool!)

Correct. Though why you would want to is a big question!


The XML formatting document (type XSL) handles page formatting.

The .xsl file contains the style sheet information that defines how the different pages will look (everything from page sizes and margins, to header/footer and content blocks). But it's just a style sheet - it needs to be linked with content (usually via XSL-T) to generate a final XSL:FO document.



 The  XSLT translating document can handle the loop through the data, so
very little "real" programming is needed.

True.


His servlet was only 2 pages of simple Java Servlet code.

Then his servlet called on FOP (or RenderX) since the code for FOP/RenderX is HUGE - as you would expect for such a product...



Leonard


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug