[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: request for help resolving ambiguous rule match
> But I also have (and need) a template that simply matches "q[@next and > @prev]", so my processor (Saxon9b) is throwing a warning about an ambiguous > rule match, with ambiguity between "lg/l[position() = 1]/q[@next and @prev]" > and "q[@next and @prev]". > > So my question Can someone please help me out with another way to express > "lg/l[position() = 1]/q[@next and @prev]" that will resolve the ambiguity? > Just add priority="10" (or some other number higher than 1) to the more specific template match -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|