xsl-list
[Top] [All Lists]

RE: [xsl] Two different input get single output

2009-12-08 10:22:58
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 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--