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

Re: Priority and import precedence

Subject: Re: Priority and import precedence
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 31 Jan 2005 16:07:04 GMT
xsl import priority
> It just seems really strange that the ordering of the import statements
> should be more important that the priority attribute.

I think that the reason for xsl:import's existence is that you should be
able to take 10000000000 lines of Norm's docbook stylesheets, xsl:import
them and then define a couple of your own templates for specific
elements where you want your own processing. You can be sure that your
templates will win, even if you have not fully digested the publicly
available stylesheets that you were importing.

If you had to know the priorities on the templates that you wanted to
override, you'd have to understand the stylesheets well enough to work
out which templates were being used, and with what priority, and then
specify a higher one. (well actually it would be easier just to keep
adding 0's to the end of the priority until you won:-)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.