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

Re: Printing XML + XSLT (2nd try)

Subject: Re: Printing XML + XSLT (2nd try)
From: "Nikolai Grigoriev" <grig@xxxxxxx>
Date: Thu, 3 Feb 2000 17:29:05 +0300
insert subtotal in xml
Omar Lopez Ruis writes:
>>     Imagine a bill, or an order form, with many columns and
>> more than a page. If I transform that into HTML, when the user prints
>> maybe the result don't fit the paper, and what about with many pages
>> and I want to put parcial totals at the bottom of every page. Can you
>> see the problem?

Michael Kay replies:
> ... I don't see any evidence that that spec is tackling the problem
> either. XSL comes from the document handling tradition and not
> the data processing tradition.

This is one of most salient deficiencies in the current version of
the XSL Formatting Objects - absolutely no support for rendering-time
scripting. If you know exactly how many bill items fit on one page,
you can insert a subtotal every N items and a page break immediately
following the subtotal, simulating more or less the same functionality.
I agree this is not an elegant way of doing it.

This functionality is very close to running headers/footers: even
the simplest running footer like one proposed by James Tauber
few months ago would solve the problem. This has always been
a source of irritation for XSL FO implementors; however, little
progress is apparently being done in this direction.

As an aside: We now plan to implement several extensions
to XSL FO that will enable us to perform tasks like the one
mentioned above; the risk is, however, that this homegrown
solution will have nothing in common with the standard. But,
given the XSL FO progress speed, we hope to have at least
a year before our solution will be overridden ;-).

Regards,
Nikolai Grigoriev

RenderX



 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.