Subject: Re: [xsl] Ambiguous rule match for From: Michael B Allen <mba2000@xxxxxxxxxx> Date: Thu, 19 Apr 2007 02:04:59 -0400 |
On Thu, 19 Apr 2007 00:00:46 -0400 Michael B Allen <mba2000@xxxxxxxxxx> wrote: > Hello, > > I have an 'ambiguous rule' problem that I'm not sure how to fix. > > I have two templates matching rules. One that is fairly elaborate > (what it does is not important): > > <xsl:template match="text:p[@text:style-name='p_5f_pre' and not(preceding-sibling::*[1][@text:style-name='p_5f_pre'])]"> Never mind. What the rule does *is* important. It only matches the first of several siblings emitted by the template. So the other rule was matching the siblings. I just had to add a rule to match and ignore the siblings. Mike -- Michael B Allen PHP Active Directory Kerberos SSO http://www.ioplex.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Ambiguous rule match for, Michael B Allen | Thread | Re: [xsl] Ambiguous rule match for, Mukul Gandhi |
[xsl] Ambiguous rule match for, Michael B Allen | Date | Re: [xsl] Select Particular Node an, Mukul Gandhi |
Month |