[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

import/include and apply-imports

Subject: import/include and apply-imports
From: Janning Vygen <vygen@xxxxxxxxxxxx>
Date: Wed, 9 May 2001 19:19:11 +0200
using apply imports
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.