[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ignoring ambiguous matches
hmmmm thinking about that for a moment that cunning plan will probably not work . next-match applies the next best matching template rule, if the next best was at the same priority then whats to stop it going into an infinite loop - unless it is implemented not to apply the same rule more than once. So it looks like some means of establishing different priority - whether by template priority or import hierarchy is necessary. Then again who is to say (the spec) that next best necessarily excludes rules at the same priority On Thu, Feb 13, 2014 at 1:06 AM, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote: > I am about to write several template rules that will all match the > same node but will each apply (or try to apply) a different edit. > > I don't care the order in which these are applied as long as each gets > a shot at applying it's edit. > > I was wondering whether I can just ignore the ambiguous match warnings > and be confident that everything is A - ok or whether I have to > diligently invent template priorities to prevent that.
|
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
|