[xsl] RE:

Subject: [xsl] RE:
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 7 Sep 2001 09:46:33 +0100
>           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


Current Thread