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

RE: How to list the internally assigned priority of al

Subject: RE: How to list the internally assigned priority of all template match rules?
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Wed, 21 May 2008 07:40:28 +0200
RE:  How to list the internally assigned priority of al
Yes, I know I can do that.

However my question was if I can list the priority values which are NOT explitely defined?
Read: the internally calculated values

Ben

On Tue, 20 May 2008 22:51:54 +0100, Michael Kay wrote:

>> Ok, a given XSL stylesheet contains multiple 
>> 
>> <xsl:template match=...>
>> 
>> rules. The XSLT processor assigns to each of them a priority 
>> (value between -0.25 and 0.5) according to some calculation spec. 
>> 
>> Can I somehow list these (internally) assigned priorities ?

>Try -explain on the Saxon command line
>> 
>> Assume I want a priority ranking according to the textual 
>> sequence in the script.
>> That means the higher the template is mentioned in the xsl 
>> src text the higher the priority should be.
>> Can I somehow tell Saxon to use this priority rule instead of 
>> the default priority calculation?

>Transform the stylesheet before submitting it to Saxon to add explicit
>priority attributes.

>Michael Kay
>http://www.saxonica.com/

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.