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

Re: XALAN-FOP Performance and Push-Pull Processing

Subject: Re: XALAN-FOP Performance and Push-Pull Processing
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 18 Jan 2005 17:07:15 GMT
fop performance
   I have been searching for a thread related to performance with the two
   types of programming styles.  MK's books give me some insight as to what
   types of overhead can occur in an XSL Transformation, but I need a little
   more empirical evidence related to XALAN.  Can anyone point me to a thread
   or offer an opinion that points to performance impacts/issues, specifically
   when employing each programming style? 


I don't really see it as a performance issue: it's more a matter of
getting different output. If you want the structure of your output to be
determined by the structure of the input (as common when formatting a
textual document) you want a push style. If you want the structure of
the output to be determined by the structure of your stylesheet (as
common when generating reports from database queries and other
table structed data) you want a pull style.

    Also, if Push is used within a
   template rule as well as Pull, does the XSL Template revert to the same
   rules used for Push?

There are no separate rules. Or any clear distinction between the
styles, push style  tends to have lots of templates each calling
apply-templates so that at run time they may be called in any order,
depending on the document. pull style tends to have fewer, or in the
extreme case, just one template, matching the root of the document.
There are of course many styles which fall between these extremes (which
is where most stylesheets live in practice).

   Thanks,

   Curtis Fisher


David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.