[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL-FO versus PostScript

Subject: Re: XSL-FO versus PostScript
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 26 Feb 2003 21:33:20 +0100
xml to postscript
Zack Brown wrote:
Could someone explain the advantages of XSL-FO over PostScript? As far as
I can see, XSLT can be used to output both,
Certainly. However, the FO processor does quite an amount
of computing, for example justifying spaces, adjusting lines
if there are different font sizes used and perhaps hyphenation.

and PostScript looks like the
more powerful language. Can't I exert more control over my documents if
I go directly from XML to PostScript
Certainly. However, get an OS XSLFO processor and look what
it does. If you want to use XSLT to directly generate PS,
you are restricted to fairly easy and most of all to a
stable layout, because the more complicated cases (like
footnotes in changing page masters or aligning page numbers
depending whether they are onn odd or even pages) get
soon out of control.

The one argument I can see in favor of FO is that it presents a method of
page description that is more intuitive than PostScript. But even that is
kind of iffy. XSL-FO goes through a lot of hoops (like inheritance) to avoid
programmatic flow control. And the result is fairly convoluted.
XSLFO was the first really systematic attempt on formalizing
higher level layout. Of course it contains some cruft, mostly
inherited from CSS (the most notable immediate predecessor).

If I'd put in charge of redesigning it without concerns for
compatiblity, I'd change a few bits.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.