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

Subject: Re: [xsl] xsl:include - multiple includes of the same file
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Thu, 05 Jun 2008 17:10:42 +0300
Hi Andrew,

oXygen has special support exactly for handling these situations. That comes in the form of validation scenarios, where you can for instance validate A when you work on any of the 100+ stylesheets, thus the modules are actually validated in the context they are used from.

See
http://www.oxygenxml.com/doc/ug-oxygen/validation-scenario.html

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

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?


thanks

Current Thread