This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE:
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE:
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 7 Sep 2001 09:46:33 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Can anyone please tell me the difference between
> <xsl:include> and <xsl:import> ?
>
In a nutshell, include treats the included stylesheet declarations as if
they were part of the module that includes them; while import incorporates
only those declarations from the imported module that aren't overridden in
the importing module. Use include to break up a large stylesheet into
manageable chunks, or to include common definitions that you don't want to
override; use import when you are writing a special-purpose stylesheet as a
refinement of a general-purpose one.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list