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

Re: MSXML v. Saxon - whose bug?

Subject: Re: MSXML v. Saxon - whose bug?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 13 Sep 2000 14:31:30 GMT
xsl template match priority 0



              If the pattern contains multiple alternatives separated by
              |, then it is treated equivalently to a set of template
              rules, one for each alternative.

              If the pattern has the form of a QName preceded by a
              ChildOrAttributeAxisSpecifier or has the form
              processing-instruction(Literal) preceded by a
              ChildOrAttributeAxisSpecifier, then the priority is 0.

              If the pattern has the form NCName:* preceded by a
              ChildOrAttributeAxisSpecifier, then the priority is -0.25.

              Otherwise, if the pattern consists of just a NodeTest
              preceded by a ChildOrAttributeAxisSpecifier, then the
              priority is
              -0.5.

              Otherwise, the priority is 0.5.


  <xsl:template match="status" />
has priority 0

  <xsl:template match="itemStatus/*">
appears to fall through to th elast case and so have priority o.5

me>
me>
me>  <xsl:template match="status" />
me>has higher priority than
me>  <xsl:template match="itemStatus/*">

hmm 0.5 > 0


 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.