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

RE: transform optimization for a schema-constrained do

Subject: RE: transform optimization for a schema-constrained domain
From: "Huebel, David" <dhuebel@xxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2001 20:05:59 -0500
david huebel
I became curious about this because for a each type of output I produce, I 
have a single stylesheet that transforms several types of documents.  
In most cases, the generic stylesheet is very readable and maintainable but
very inefficient.  I could optimize performance by creating a different 
stylesheet for each type of input document, but that would multiply the 
creation and maintenance overhead on the stylesheets.  Hence my desire to 
automatically optimize a transform for a given schema.  Are there any other 
tricks that help in this situation?

David

-----Original Message-----
From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
Sent: Wednesday, July 25, 2001 12:13 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  transform optimization for a schema-constrained
domain


The Tamino XML database (from Software AG) uses schema knowledge to optimize
queries against a database (the queries are currently written in a language
that's somewhere between XPath and XQuery). But this is a rather different
scenario, because the database can do a lot of work at document loading time
to set up metadata that's useful at query time. An XSLT processor generally
has only raw XML as its input, so there's a real risk that optimisation time
will exceed transformation time - especially if it means reading and
analysing a schema.

Another problem is that you can't bind a stylesheet to a particular schema
at the time it is compiled - though I guess one could get around that.

In short, I don't think anyone is doing this in an XSLT processor today. I
might be wrong, of course.

Mike Kay

 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.