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

RE: template conflicts

Subject: RE: template conflicts
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Tue, 23 May 2000 16:54:53 +0200
RE: template conflicts
> My first thought, after reading of Section 2.6.2 (Stylesheet 
> Import) in the
> XSLT spec was that you might be importing 'general.xsl' after 
> including
> 'domain.xsl'.
> 
> Then I tried it out using SAXON, and it shouted at me (very 
> politely and
> quite correctly) because xsl:import elements must come before 
> xsl:include
> elements.  

Thanks for testing! 

> I assume that XT complains in the same way, and that your
> stylesheet looks like:
> 
> <xsl:import href="general.xsl"/>
> ...
> <xsl:include href="module.xsl"/>
> <xsl:include href="domain.xsl"/>
> ...

*NO*. My stylesheet does have the includes before the import, but XT does
not complain. That must be a bug, then? 

> If it's a problem in XT and you need to use XT, you could try adding a
> priority attribute to the template to get the behaviour you want, but
> that's definitely non-optimal.

Yep, that works. 
 
> Sorry to not be of more help.
> 
> Cheers,
> 
> Jeni
> 
> Dr Jeni Tennison
> Epistemics Ltd, Strelley Hall, Nottingham, NG8 6PE
> Telephone 0115 9061301 * Fax 0115 9061304 * Email
> jeni.tennison@xxxxxxxxxxxxxxxx
> 
> 


 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.