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

RE: Two different input get single output

Subject: RE: Two different input get single output
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 8 Dec 2009 15:22:29 -0000
RE:  Two different input get single output
> Error:
> =====
> 
> Recoverable error
> 
> XTRE0540: Ambiguous rule match for /cases/section[2]/type[1] 
> Matches both "section/type[.='Drafting']" on the 32 of file: 
> name.xsl and "section/type[not<normalize-string>]" on line 28 
> of file name.xsl
> 

When you get this warning, it's best to add a priority attribute to both
rules to make it clear which one you want to take precedence. In this case
you probably want the rule on line 32 take priority when both match, so put
priority="10" on that rule and priority="9" (say) on the other.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

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.