xsl-list
[Top] [All Lists]

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

2008-06-05 07:10:58
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>