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

RE: xslt architecture

Subject: RE: xslt architecture
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 22 May 2008 11:16:31 +0100
RE:  xslt architecture
All such questions are processor-dependent.

In Saxon, there should be no run-time difference between the two cases.
There are compile-time differences, of course, but they shouldn't be major.

Using imports rather than includes is probably marginally better, as the
conflict resolution for template rules becomes easier.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] 
> Sent: 22 May 2008 10:25
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xslt architecture
> 
> From a processor's perspective: is there any difference 
> between one stylesheet containing 100 templates and 100 
> stylesheets each containing 1 template each, with an extra 
> stylesheet containing 100 include statements?
> 
> Import precedence issues aside, if they were 100 imports 
> instead of includes, does that make a significant difference 
> to the processor?
> (all unique files imported once, not the same file imported 
> in multiple locations)
> 
> I tend towards monolith stylesheets where there's usually no 
> more than a dozen or so large stylesheets, but in front of me 
> now is the complete opposite approach and I'm not keen...
> 
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/

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.