Re: [xsl] Limitations of including/importing number of stylesheets into a stylesheets

Subject: Re: [xsl] Limitations of including/importing number of stylesheets into a stylesheets
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 29 Nov 2010 09:11:31 +0000
The only case I've seen where this caused serious performance trouble was when one module was imported (not included) into many others, all at different import precedence. I've since fixed Saxon so this case is no longer a problem, but you might not be so lucky with other products. Generally, try to organize your code so each module is included/imported only once (the effect is global). Apart from that, I don't think you should have any concerns.

23 doesn't sound huge to me; I suspect docbook has rather more modules than this.

Michael Kay
Saxonica

On 29/11/2010 07:15, pankaj.c@xxxxxxxxxxxxxxxxxx wrote:
Hello all,

I am working on a huge project, which requires me to import/include n (23
as of now) number of other stylesheets into one main. I used this
architecture just for the brevity of code to me, divided into separate
modules (easy to debug :-) ). Now I am worried that the number could
increase to 30 and so on.

And the obvious question arises to me whether there is any limitations of
doing that, I mean number of stylesheets to be included/imported. I
certainly assume that there could be performance issues in such
architecture. If not I am more than happy. If yes, what should be the best
way of doing that or what should avoided.

I had a question to ask in this context but thought of taking suggestions
first.

TIA,
Pankaj

PS: Apologies, should have gone thru docs/googled it but thought taking
expert advise here itself.

Current Thread