Subject: Re: [xsl] request for help resolving ambiguous rule match From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Mon, 24 Nov 2008 16:12:18 +0000 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] request for help resolvin, G. Ken Holman | Thread | RE: [xsl] request for help resolvin, Michael Kay |
Re: [xsl] request for help resolvin, G. Ken Holman | Date | RE: [xsl] request for help resolvin, Michael Kay |
Month |