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

xsl:include is necessary after all

Subject: xsl:include is necessary after all
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Thu, 17 May 2001 14:51:08 -0700
include is
For a while now, I've been under the mistaken assumption that xsl:include is
not strictly necessary--that xsl:import is all you really need.
http://www.biglist.com/lists/xsl-list/archives/200008/msg00030.html

I guess my assumption was that priority was resolved first, and then import
precedence. No, it's the other way around. In other words, when rules
conflict, the one with higher import precedence overrides all rules with
lower import precedence, regardless of their priority. The real implication
of this is that if I have a template matching * in my importing stylesheet,
then template rules in my imported stylesheet that match specific element
types will always be ignored.
http://www.w3.org/TR/xslt#conflict

If I don't want them to be ignored, then I have to use xsl:include.

I'm sure many of you already knew this, but it was kind of a revelation for
me, so that's why I'm posting it.

Evan Lenz
XYZFind Corp.


 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.