[xsl] xsl:include - multiple includes of the same file

Subject: [xsl] xsl:include - multiple includes of the same file
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 5 Jun 2008 14:24:13 +0100
I'm aware that if you import the same file in multiple locations you
end up with multiple copies of that file in the compiled module, so if
possible it should be avoided - does the same apply with xsl:include?

So instead of:

A includes common
A includes 100s of stylesheets

you have:

A includes 100s which each include common

With the latter approach the variables/templates in common are known
to each stylesheet so the IDE (oXygen) doesn't complain that they're
undefined... is there any problem with doing this?


thanks
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread