This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE:


>           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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]