[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ambiguous rule match for

Subject: Re: Ambiguous rule match for
From: Michael B Allen <mba2000@xxxxxxxxxx>
Date: Thu, 19 Apr 2007 02:04:59 -0400
Re:  Ambiguous rule match for
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.