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

Subject: Re: [xsl] xsl:include - multiple includes of the same file
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 05 Jun 2008 09:30:14 -0400
On Thu, 2008-06-05 at 14:24 +0100, Andrew Welch wrote:
> 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?

Not unless you care about common being there a 100 times :)

But with oXygen you can add 'Additional Stylesheets' in the
transformation scenario edit dialogue.

best,
-Rob


> 
> 
> thanks

Current Thread