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

RE: include vs. xsl:import

Subject: RE: include vs. xsl:import
From: Matthew Bentley <Matthew.bentley@xxxxxxxxxxxxxx>
Date: Wed, 2 Aug 2000 13:06:49 +1200
include vs import xml
>Thanks Matt.  Which processor do you regularly use?  SAXON doesn't seem to
>be a help in this regard.  When two conflicting template rules are in the
>same stylesheet (by inclusion or not), SAXON gives priority to the one that
>is last in the stylesheet.  This isn't to say it is not conformant.  As
Mike
>Kay points out in his book, the W3C spec says, "It is an error if this
>leaves more than one match. An XSLT processor may signal the error; if it
>does not signal the error, it must recover by choosing, from amongst the
>matches that are left, the one that occurs last in the stylesheet."  My
>question is, why have this as an option at all?  It seems like for every
>option, there's a whole 'nother slew of headaches.

Hi Evan - 
yes, I use Saxon too, but to pick up the duplicate templates I used
sablotron.
In my (personal) opinion, there should not be an option to 'ignore' this
particular error, as in that case you might as well be using xsl:import.

Cheers,
Matt
******************************************************************
Warning: This email, including any attachments, 
is for the use of the intended recipient(s) only.
Republication and redissemination, 
including posting to news groups or web pages, 
is strictly prohibited without the express prior consent of Brooker's Limited.
******************************************************************


 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.