- From: Matthew Bentley <matthew.bentley@brookers.co.nz>
- Date: Sun, 11 Feb 2001 22:19:24 -0500 (EST)
- To: "'mhkay@iclway.co.uk'" <mhkay@iclway.co.uk>, xsl-editors@w3.org
Received on Monday, 12 February 2001 08:08:29 UTC
>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 UTC