[Home] [By Thread] [By Date] [Recent Entries]

Subject: 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
  • [no subject]
    • Pranav - Thu, 6 Sep 2001 16:00:04 -0400 (EDT)
      • Utah Ingersoll - Thu, 6 Sep 2001 16:08:05 -0400 (EDT)
        • Mike Brown - Thu, 6 Sep 2001 16:37:10 -0400 (EDT)
      • Mike Brown - Thu, 6 Sep 2001 16:34:06 -0400 (EDT)
      • Michael Kay - Fri, 7 Sep 2001 05:18:25 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member