This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
import/include and apply-imports
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] import/include and apply-imports
- From: Janning Vygen <vygen at planwerk6 dot de>
- Date: Wed, 9 May 2001 19:19:11 +0200
- Organization: Planwerk 6 /websolutions
- Reply-To: xsl-list at lists dot mulberrytech dot com
strange behaviour using apply-imports
following example:
first.xsl:
------
<xsl:import href="third.xsl">
<xsl:include href="second.xsl">
second.xsl
--------
<template match="book">
<xsl:apply-imports/>
</template>
third.xsl
------
<template match="book">
AM I EVER EVER MATCHED?
</template>
the template in the third.xsl is NEVER matched!!
Why? I thought, that include means, the stylesheet is included like it was
always in this file??
Is this correct behaviour? i am using Saxon and i dont think that saxon is
making any mistakes, but including means to me just splitting a huge document.
Janning
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list