On Thu, 19 Apr 2007 00:00:46 -0400
Michael B Allen <mba2000(_at_)ioplex(_dot_)com> 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[(_at_)text:style-name='p_5f_pre' and
not(preceding-sibling::*[1][(_at_)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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--