[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
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
|