Re: XALAN-FOP Performance and Push-Pull Processing
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 ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format