W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: conflict resolution issue

From: Matthew Bentley <matthew.bentley@brookers.co.nz>
Date: Sun, 11 Feb 2001 22:19:24 -0500 (EST)
Message-ID: <A3BEF7539574D4119E61001083F94D780F3269@WELBKSEMS02>
To: "'mhkay@iclway.co.uk'" <mhkay@iclway.co.uk>, xsl-editors@w3.org
>The trouble about this is that there are many cases where it's obvious to
>the stylesheet author that one match pattern is more selective than
another,
>but where it requires a fair bit of analysis to deduce this. For example

>match="para[p and q]"
>  implies
>match="para[p[1] or q[last()]]"
>  but does not imply
>match="para[p[2] or q[last()-1]]"

Perhaps, but the case of 'use the rule with the most predicates' (e.g.
match="a/b[c]" overrides match="a/b" would be fairly easy to implement (I
assume).
Cheers,
Matt



Received on Monday, 12 February 2001 08:08:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT