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

Schema Optimsations Was XSL: For-Each Efficient or Not

Subject: Schema Optimsations Was XSL: For-Each Efficient or Not?
From: Kevin Jones <kjjones@xxxxxxxxxxxx>
Date: Mon, 1 Jul 2002 23:19:58 +0000
 Schema Optimsations Was XSL: For-Each Efficient or Not
On a related subject I have been thinking about what might be accomplished 
with schema information available at stylesheet compile time as apposed to 
runtime. Its long been speculated that there are many optimisations available 
in that scenario but I don't know of any processor that takes advantage of 
them today which is probably a big hint about the practicality of such 
schemes.

Given runtime schema information of the type proposed in XPath 2.0, it would 
appear to me that the performance cost of generating/using it may out way the 
benefit, potentially causing schema aware XSLT 2.0 processors to be slower 
than 1.0 ones.  

The best alternative I can think of is to compile stylesheets against a 
specific schema. So there may be many compiled forms for a single stylesheet. 
But even this case has problems, just because a document says it uses a 
schema is no help if its not being validated, which I can't see being cheap 
with any schema language.

I guess the question is, how do you write a schema aware processor that is 
quicker than a schema ignorant processor?

Kev.



 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.