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

Re: Performance Question: Expensive Functions in Pred

Subject: Re: Performance Question: Expensive Functions in Predicates
From: Niclas Hedhman <niclas@xxxxxxxxxxx>
Date: Fri, 28 May 2004 00:27:04 +0800
saxsource transformer performance
On Thursday 27 May 2004 23:35, Eliot Kimber wrote:
> I have a general question about predicting performance in the general
> case. I know that the best answer is "try it and see" but I'm wondering
> if there's a general principle that can guide design in this particular
> case.

If "applicability" are extensive checks, the work load is high and 
"non-applicable" results in node reduction, I have found it more efficient 
and not too complicated to create a parsing filter instead, prior to the XSLT 
processing.

I.e. Parse the StreamSource to a SAX filter, which is also generates SAX out 
and use that filter as the SAXSource for the transformer.

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+

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.